vinegredz Posted April 16, 2014 Share Posted April 16, 2014 Ткните, в каком файле и куда конкретно нужно засунуть этот код: <p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p> У меня в подфорумах есть текстовое описание: А на главной, такого описания нет: Их там, так то не должно быть в шаблоне по умолчанию. Но нужно добавить. Как? Link to comment Share on other sites More sharing options...
siv1987 Posted April 16, 2014 Share Posted April 16, 2014 Внешний вид -> %скин% -> Список форумов -> boardIndexTemplate Это где-то перед </td> <td class='col_c_stats ipsType_small'> 1 Link to comment Share on other sites More sharing options...
vinegredz Posted April 17, 2014 Author Share Posted April 17, 2014 Спасибо, разобрался! Теперь другой вопрос, какая часть кода отвечает за отображение подфорумов на главной? Как удалить вот это: Link to comment Share on other sites More sharing options...
newbie Posted April 17, 2014 Share Posted April 17, 2014 Теперь другой вопрос, какая часть кода отвечает за отображение подфорумов на главной? Как удалить вот это:Тот же шаблон <if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']"> <br /> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if> <a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{parse expression="IPSText::striptags( IPSText::htmlspecialchars($__data[1]) )"}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if> </li> </foreach> </ol> </if> 1 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