In trying to imagine and test a JEvents based site with EasyLayouts. There are some things I do with custom PHP code currently that I think EL could help me implement much easier, and now conditionally on category, menu type. There are a few things I would like to see if possible.
Static text block. Right now I am inserting a "naked row" field type and then putting my custom static text or code into the RAW html field but without an editor available. I can imagine having a Text Block and/or HTML Block (with the default editor in play) so I can place static text in the layout. This would give us the default editor's functions to provide in building the template. Along with the conditional display of EL, this would be great for what we need to do. Right now I am writing code and embedding via Sourcerer to display disclaimer information based on external conditions. With custom fields I could see this being automated.
I can visualize other types including things that are handled by so many external plugins and (with Gantry 5) "particles" and such. System information such as current date, browser information...things I'm using RegularLabs sourcerer to do.
Also custom Javascript or "code" block that would be useful, but at least with a Static HTML/TEXT block field type I would have the editor available so editing complex code would be easier to insert.
Static text block. Right now I am inserting a "naked row" field type and then putting my custom static text or code into the RAW html field but without an editor available. I can imagine having a Text Block and/or HTML Block (with the default editor in play) so I can place static text in the layout. This would give us the default editor's functions to provide in building the template. Along with the conditional display of EL, this would be great for what we need to do. Right now I am writing code and embedding via Sourcerer to display disclaimer information based on external conditions. With custom fields I could see this being automated.
I can visualize other types including things that are handled by so many external plugins and (with Gantry 5) "particles" and such. System information such as current date, browser information...things I'm using RegularLabs sourcerer to do.
Also custom Javascript or "code" block that would be useful, but at least with a Static HTML/TEXT block field type I would have the editor available so editing complex code would be easier to insert.