FLEXIcontent / flexicontent-cck

Advanced content management for Joomla
http://www.flexicontent.org
82 stars 53 forks source link

Page Builder (grapesJS) support for Flexicontent item, category, module layouts #913

Open ggppdk opened 5 years ago

ggppdk commented 5 years ago

Implement Page Builder for

micker commented 5 years ago

... you want to add a page builder inside flexicontent ? A revolution

ggppdk commented 5 years ago

We could add layouts builder to description of content, or other textarea parameters or our textarea field but lets leave this to 3rd party

I have created a Form element to use the page builder for our layouts, that can do these 2 things

  1. multiple builders inside same page (e.g. different layout for featured and standard items for module)
  2. be able to use the layout HTML created by the builder in a ... -- repeatable-- way,

Regarding point 2, the builder assumes you will display the layout only once inside same page, but we want to be able to repeat the layout for every single item of module or category view

This last one is tricky ...

micker commented 5 years ago

You will add flexicontent field in grapejs to drag and drop in template ? Maybe we can add CSS for label and some css element

ggppdk commented 5 years ago

You will add flexicontent field in grapejs to drag and drop in template ?

Done already, created a block for field's HTML display, it adds to layout

{flexi_field:FIELD_NAME item:{{item->id}} method:display} {flexi_field:FIELD_NAME item:{{item->id}} }

Maybe we can add CSS for label and some css element

Maybe the user can just output the language string of the label

so i think we just need a block to output

{flexi_jtext:LANG_STRING}

micker commented 5 years ago

perfect

ggppdk commented 5 years ago

Also restructured module configuration to make it clearer univ_restructured

micker commented 5 years ago

very good !!!