DarthOld Posted March 9, 2015 Share Posted March 9, 2015 Сделал себе что бы закрепленные темы отделялись от обычных полосками. Вот такой код исползовал: Админцентр - Внешний вид - %Ваш стиль% - Шаблоны - Список тем форума - forumIndexTemplate Ищем: <foreach loop="topics:$topic_data as $tid => $data">Добавить после: <if test="$data['pinned'] && !$this->hasPinned && $this->hasPinned=1"> <tr class='subhead altbar'> <th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>Важные темы</th> </tr> </if> <if test="!$data['pinned'] && $this->hasPinned"> <if test="$this->hasPinned=0"></if> <tr class='subhead altbar'> <th scope='col' colspan='<if test="endannouncements:|:$this->memberData['is_mod'] == 1">6<else />5</if>'>Темы форума</th> </tr> </if> И в ipb_styles.css добавьте: table.ipb_table tr.subhead { background: #D6E4F1; /* ваш цвет */ font-size: 11px; padding: 6px; }________________ Но получилось как то не до конца, почему у меня вторая полоска, там где просто "Темы" - не до конца вправо доходит. Обрывается ??? Что нужно дописать где? 2 Link to comment Share on other sites More sharing options...
newbie Posted March 9, 2015 Share Posted March 9, 2015 Что нужно дописать где7 Заменить 6 на 7, а 5 на 6. 1 Link to comment Share on other sites More sharing options...
Одмин Posted March 9, 2015 Share Posted March 9, 2015 Спасибо, подошло на IPB 3.2.3.Немного поэкспериментировал со цветом и в итоге вышло просто замечательно! 1 Link to comment Share on other sites More sharing options...
DarthOld Posted March 10, 2015 Author Share Posted March 10, 2015 Спасибо.Взаимно. Link to comment Share on other sites More sharing options...
servissoc Posted October 16, 2015 Share Posted October 16, 2015 Всё получилось, спасибо большое! 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