SmartyDev Posted June 15, 2014 Report Share Posted June 15, 2014 Здравствуйте ув. Пользователи.Порошу помощи, кто знает как можно на главной странице начиная от <body> и заканчивая </body> вывести другой шаблон, например "index2.tpl" Остальные страницы как и всегда, нужно убрать только главную (необходимо сделать из index2.tpl - полулендинг) Quote Link to post Share on other sites
mart Posted June 15, 2014 Report Share Posted June 15, 2014 В шаблоне main.tpl вначале вставить {$wrapper = 'index2.tpl' scope=parent} И будет у Вас обертка для главной другая. Quote Link to post Share on other sites
SmartyDev Posted June 16, 2014 Author Report Share Posted June 16, 2014 В шаблоне main.tpl вначале вставить {$wrapper = 'index2.tpl' scope=parent} И будет у Вас обертка для главной другая. Спасибо большое, всё именно так, как нужно! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.