How I embed existing smarty tags in a user defined tag?

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
nygauk
New Member
New Member
Posts: 9
Joined: Mon Apr 21, 2008 7:41 am

How I embed existing smarty tags in a user defined tag?

Post by nygauk »

I  would like a user defined tag called {checkuser}

defined as:

{if $ccuser->loggedin() && $ccuser->memberof('Admins')} {edit} {/if}

is this possible?

Thanks

David
Post Reply

Return to “CMSMS Core”