Jump to content

Срочно нужна помощь, как вывести на главной - одно, а во внутренних - другое.


Recommended Posts

Здравствуйте ув. Пользователи.


Порошу помощи, кто знает как можно на главной странице начиная от <body> и заканчивая </body> вывести другой шаблон, например "index2.tpl"

 

Остальные страницы как и всегда, нужно убрать только главную (необходимо сделать из index2.tpl - полулендинг)

Link to post
Share on other sites

В шаблоне main.tpl вначале вставить

{$wrapper = 'index2.tpl' scope=parent}

И будет у Вас обертка для главной другая.

 

Спасибо большое, всё именно так, как нужно!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...