Then I add a rich text tile and the following info occurs:
INFO ZPublisher.Conflict ConflictError at /VirtualHostBase/http/www.myserver.com:80/myPlone/VirtualHostRoot/testfolder/testpage/@@edit/@@z3cform_validate_field: database conflict error (oid 0x86a4d0, class plone.app.drafts.draft.Draft) (1 conflicts (0 unresolved) since startup at Wed Mar 7 17:43:50 2018)
This happens for each tile.
But I can edit the page with all the mosaic stuff.
After saving and reopening for edit the content is partially or fully lost.
… it became quite a lonely project so it is not released on pypi yet.
That said: it works perfectly OK, but …
There are a few (two, I think) fragments that are not working (the upload fragment, the 'fullpage-fragment', and maybe one more
2). A few things lacks CSS (good layout). These are basically 'admin screens' etc.
You find it here:
If 'the community wants', I could release a '0.1' version.
PS: There is a 'control panel where you can modify the theme'. You can also change colors on some of the themes by using LESS variables and 'rebuild it'
Note: the Custom colors in the control panel is not working (I can not figure out how to use them)
That said, it is possible to copy the fragments to your own theme, you just need to copy/edit some CSS etc ( this you will have to figure out yourself, as 'there is a lot of stuff going on, probably best is to just copy css from the demo site
Hm - as I will lose my actual design this seems not useful to me.
Maybe I could figure it out, regarding your last paragraph.
I've just looked into your files in your theming-controlpanel.
Assuming that I want to use the accordion: I've found the accordian_block.pt and accordian_block.xml and the accordian.css.
But now I am totally lost as I have no idea how to integrate these files to my theme/site.
Anyway, you did a great job @espenmn!
I think Plone needs more of these UI elements just to impress the plebs who only want to use Plone and have no ambition to become a developer, - speaking of myself of course.
In this regard the way collective.tiles.sliders integrates in Plone (as stated above) fits more into my usecase.
Install collective.themefragments tile (add it in buildout, install it the usual way)
Add a folder to your theme ( name it fragments) and add the files to that folder (PS: you might have to copy some of the JS for some of the 'fancy' tiles
Disable / enable your theme (or restart Plone)
edit the CSS ( since it uses variables that your site has not defined).
You could extract the css files from the demo site and just edit the colors if you have to.
Yes and no.
I agree with you as far as there are not too many 'tiles' and too many add ons (which might break your site when you upgrade in the future).
The idea of doing it this way is:
Add as many tiles as possible to the theme
Then the user customizes the theme (or copy them to another theme) and remove what he/she does not need (so the UI do not get cluttered).
Edit the tiles to fit your needs (add another field, change css class, reorder fields etc)
Rename the tiles if you want ( in the manifest file).
By looking and copying from whatever is already in the theme, basically everyone should be able to make a 'tile' TTW (through the web), without any 'programming'.