Атаман Posted April 16, 2014 Share Posted April 16, 2014 Кто-то встречал хук или ручной метод вывода (Вывод названия темы в заголовок поста)?Чтоб в каждом посте было название темы в которой пользователи отвечают? Link to comment Share on other sites More sharing options...
Атаман Posted April 16, 2014 Author Share Posted April 16, 2014 Я правильно понимаю, что {$topic['title']} нужно вставить в внешний вид - Ваша тема - Темы - POST После<p class='posted_info desc lighter ipsType_small'> Вставляем{$topic['title']}<br /> Или как-то по красивее можно оформить?Подскажите Link to comment Share on other sites More sharing options...
newbie Posted April 16, 2014 Share Posted April 16, 2014 http://community.invisionpower.com/files/file/4542-topic-titles-in-replies/ Или как-то по красивее можно оформить?Как хотите, так и оформляйте. Нужный код верно указали 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 16, 2014 Author Share Posted April 16, 2014 http://community.inv...les-in-replies/ Как хотите, так и оформляйте. Нужный код верно указали Спасибо, не хочется хуки наставлять, когда можно просто вставить код). Link to comment Share on other sites More sharing options...
Атаман Posted April 17, 2014 Author Share Posted April 17, 2014 Я сделал, чтоб была жирность и тд, чтоб не сливалось с общим цветом. <span class='headline'>{$topic['title']}</span> В css .headline { font-size: 15px; font-weight: bold; } Link to comment Share on other sites More sharing options...
Атаман Posted April 17, 2014 Author Share Posted April 17, 2014 А можно как-то сделать, чтоб со второго поста, рядом с название темы была надпись Re: ??? Link to comment Share on other sites More sharing options...
siv1987 Posted April 17, 2014 Share Posted April 17, 2014 Можно. Там есть счетчик по которому можно составить условие если > 1 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 17, 2014 Author Share Posted April 17, 2014 Можно. Там есть счетчик по которому можно составить условие если > 1 Подскажи пжл. Link to comment Share on other sites More sharing options...
siv1987 Posted April 17, 2014 Share Posted April 17, 2014 В 3.1 было $post['post']['post_count'] 1 Link to comment Share on other sites More sharing options...
newbie Posted April 18, 2014 Share Posted April 18, 2014 В 3.1 было $post['post']['post_count'] Оно и в последующих версиях осталось. @Атаман, в правом углу поста смотрите #№_поста 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 18, 2014 Author Share Posted April 18, 2014 Запутался.:blink: Нашел:<if test="canAnswerTopic:|:$topic['Perms']['canAnswerTopic'] && $post['post']['post_count'] > 1"> Как его теперь привязать к <span class='headline'>{$topic['title']}</span> Чтоб в первом посте пе показывалось название темы, а начиная со второго. Показывалось. Link to comment Share on other sites More sharing options...
newbie Posted April 18, 2014 Share Posted April 18, 2014 {$topic['title']} 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 18, 2014 Author Share Posted April 18, 2014 Спасибо.;) 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