I am new to CMSMS so bear with me.
Is there something like user defined tags but for smarty content rather than php? I would like the user to be able to define and edit page elements in smarty language and insert them into various pages using tags. Is there a simple way to do this? Could I use the Layout->Templates for this and if so, how do I include such a template into a page using a tag?
[Solved] User defined smarty page elements?
[Solved] User defined smarty page elements?
Last edited by yngwie on Sat Sep 03, 2011 1:07 pm, edited 1 time in total.
Re: User defined smarty page elements?
Ah, perfect! Exactly what I was looking for.
I also found I can get the GCB programmatically with $smarty->fetch('globalcontent:name') so this will be very useful for me.
Thanks!
I also found I can get the GCB programmatically with $smarty->fetch('globalcontent:name') so this will be very useful for me.
Thanks!