PDA

View Full Version : Test Box viewed by admin only


TheLastMen
12-26-2007, 01:33 PM
It's possible to create a custom box viewed by admin only to test some routing.
ThanX for all

Micha
12-26-2007, 04:04 PM
:confused::confused::confused:

Not sure I understand you.

TheLastMen
12-26-2007, 07:22 PM
box can't display only if i logged as admin

eveevans
12-26-2007, 08:14 PM
somthing like this:

<vte:if test="{CURRENT_USER.is_admin}">
<vte:include file="{VIVVO_TEMPLATE_DIR}box/yourbox.tpl" />
</vte:if>

TheLastMen
12-27-2007, 02:08 PM
Thank you very mutch