[Solved] User defined smarty page elements?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
yngwie
New Member
New Member
Posts: 5
Joined: Fri Sep 02, 2011 1:25 pm

[Solved] User defined smarty page elements?

Post by yngwie »

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?
Last edited by yngwie on Sat Sep 03, 2011 1:07 pm, edited 1 time in total.
uniqu3

Re: User defined smarty page elements?

Post by uniqu3 »

There are Globabl Content Blocks for that.
yngwie
New Member
New Member
Posts: 5
Joined: Fri Sep 02, 2011 1:25 pm

Re: User defined smarty page elements?

Post by yngwie »

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!
Post Reply

Return to “CMSMS Core”