1
Quote:
Why you don't create another group for other "webmaster"? On this case, I created one group and placing the other "webmaster" into that group. Then, I'm using $group_id smarty in the template to differentiating the template between the real webmaster and the other webmaster.
For example:
And if you want to do it to individual user, maybe you can using $user_id smarty...
This is great! Would there be a way to do this for an individual user...Im a webmaster, but there's a couple other webmasters on the site I work on, and I would like to have a couple of things in my theme so only I would have a slightly different layout.
Also, Im really new to xoops, so if somebody could lay it all out for me, like leoscotch did (thanks for that!)
Thank y'all!
Why you don't create another group for other "webmaster"? On this case, I created one group and placing the other "webmaster" into that group. Then, I'm using $group_id smarty in the template to differentiating the template between the real webmaster and the other webmaster.
For example:
<{if $xoops_isadmin}> <!--condition if the real webmaster login-->
what to do
<{elseif $group_id == 4}> <!--condition if the other webmaster login ("4" is the id of the group created before)-->
something to do if first condition is false and this condition is true
<{/if}>
And if you want to do it to individual user, maybe you can using $user_id smarty...