Технический сбой

Сайт временно работает в режиме только для чтения, идут восстановительные работы. Приносим свои извинения за неудобства.
DLE FAQ » Все вопросы » Шаблоны (TPL) » Separate skin for guests and members

Separate skin for guests and members


     guest, template    Все вопросы » Шаблоны (TPL)    3026

вопрос
How we can have separate skin for guests and members?
for example, default skin for guests members and after they logged, skin will change to enother skin!

Ответил: ПафНутиЙ


Two templates in one file, and share them with appropriate tags.
For example:
[group=5]
<!-- then code the first template -->
[/group]
[not-group=5]
<!-- then code the second template -->
[/not-group]

and so in each template file

1 комментарий

ShoMpeT
Юзер

ShoMpeT - -

Oh god!
i dont need a tags like this!

i need a Separate template!
even not separate main.tpl!

JUST SEPARATE STYLE!!

Похожие вопросы

наверх