Ferrag Posted January 26, 2018 Share Posted January 26, 2018 Приветствую всех, столкнулся с проблемой, при создании форумов пишу к ним описание, но это описание открывается на главной странице и на открываемой. Например : создаю форум "Администрация" с описанием : "Вопросы администрации" - это описание высвечивается на главной. Когда я нажима на форум "Администрация" открывается новая страница с темами и тут такое же описание. Как сделать так, чтобы на главной не было дублирования, а описание высвечивалось только при переходе на форум? Заранее благодарю. P.S 3.4.6 версия Link to comment Share on other sites More sharing options...
newbie Posted January 27, 2018 Share Posted January 27, 2018 Как сделать так, чтобы на главной не было дублирования, а описание высвечивалось только при переходе на форум? Шаблон главной страницы - boardIndexTemplateОписание ищите по $forum_data['description'] Link to comment Share on other sites More sharing options...
Ferrag Posted January 27, 2018 Author Share Posted January 27, 2018 Спасибо за подсказку, нашел, только в коде не соображаю, подскажите что нужно изменить или удалить? Link to comment Share on other sites More sharing options...
newbie Posted January 27, 2018 Share Posted January 27, 2018 или удалить? <p class='desc'>{$forum_data['description']}</p> <p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p> Link to comment Share on other sites More sharing options...
Ferrag Posted January 27, 2018 Author Share Posted January 27, 2018 Спасибо, удалил, но ничего не поменялось( Link to comment Share on other sites More sharing options...
Ferrag Posted January 27, 2018 Author Share Posted January 27, 2018 Понял в чем проблема, у меня по умолчанию стоит шаблон Snapshot (Import) , а там просто нет такого кода( Link to comment Share on other sites More sharing options...
newbie Posted January 28, 2018 Share Posted January 28, 2018 а там просто нет такого кода( Ищите похожий. Link to comment Share on other sites More sharing options...
Strategius Posted January 29, 2018 Share Posted January 29, 2018 В том шаблоне он в двух местах. <if test="$forum_data['description']"><if test="$this->settings['hoverDescriptions']=='yes'"><span class='forum_desc_pos'><span class='forum_desc_con'><span class='forum_description'>{$forum_data['description']}</span></span></span><else /><p class='desc forum_desc'>{$forum_data['description']}</p></if></if> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now