Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Как вывести описание форумов на главную?

Опубликовано:

Ткните, в каком файле и куда конкретно нужно засунуть этот код:

 

<p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p>

 

У меня в подфорумах есть текстовое описание:

 

post-55941-0-49399900-1397679864.png

 

А на главной, такого описания нет:

 

post-55941-0-47163900-1397679921.png

 

Их там, так то не должно быть в шаблоне по умолчанию. Но нужно добавить. Как?

post-55941-0-49399900-1397679864_thumb.png

post-55941-0-47163900-1397679921_thumb.png

Рекомендованные сообщения

Опубликовано:

Внешний вид -> %скин% -> Список форумов -> boardIndexTemplate

 

Это где-то перед

</td>
<td class='col_c_stats ipsType_small'>

Опубликовано:
  • Автор

Спасибо, разобрался! Теперь другой вопрос, какая часть кода отвечает за отображение подфорумов на главной? Как удалить вот это:

 

post-55941-0-18787000-1397720033.png

post-55941-0-18787000-1397720033_thumb.png

Опубликовано:

Теперь другой вопрос, какая часть кода отвечает за отображение подфорумов на главной? Как удалить вот это:

Тот же шаблон

 

													<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>

 

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.