Перейти к публикации
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.

Блоки портала.

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

Кто делал блоки с обеих сторон? Чтоб справа были стандартные, слева свои.

 

Спасибо

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

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

А есть в чем-то отличие?

 

Код для правого сайдбара

   <div class='ipsLayout_right'>
       {parse block="articles_menu"}
       {parse block="recent_articles"}
   </div>

Код для левого сайдбара

   <div class='ipsLayout_left'>
       {parse block="articles_menu"}
       {parse block="recent_articles"}
   </div>

Плюс

<div class='ipsLayout ipsLayout_withright ipsLayout_largeright'>

заменить на

<div class='ipsLayout ipsLayout_withright ipsLayout_largeright ipsLayout_withleft ipsLayout_largeleft'>

Что добавлено, сами разберетесь :)

 

Финальный вариант

<div class='ipsLayout ipsLayout_withright ipsLayout_largeright ipsLayout_withleft ipsLayout_largeleft'>
   <!-- Левый блок -->
   <div class='ipsLayout_left'>
       {parse block="artmedlink"} 
       {parse block="articles_menu"}
   </div>
   <!-- Правый блок -->
   <div class='ipsLayout_right'>
       {parse block="artmedlink"} 
       {parse block="recent_comments"}
   </div>
   <!-- Центральный блок -->
   <div class='ipsLayout_content'>
       {parse articles}
   </div>
</div>

Изменено пользователем newbie

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

Спасибо, а я делал на оборот). И блок съесжал.

 

было

<div class='ipsLayout ipsLayout_withleft ipsLayout_largeleft'>
   <div class='ipsLayout_left'>
       {parse block="portal_recent_entries"}
       {parse block="recent_comments"}
   </div>
   <div class='ipsLayout_content'>
       {parse articles}>
       {parse block="active_users"}
   </div>
</div>

изменял на

<div class='ipsLayout ipsLayout_withleft ipsLayout_largeleft'>
   <div class='ipsLayout_left'>
       {parse block="portal_recent_entries"}
       {parse block="recent_comments"}
   </div>
<div class='ipsLayout ipsLayout_withright ipsLayout_largeright'>
   <div class='ipsLayout_right'>
       {parse block="portal_recent_entries"}
       {parse block="recent_comments"}
   </div>
   <div class='ipsLayout_content'>
       {parse articles}>
       {parse block="active_users"}
   </div>
</div>

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

Сейчас на странице 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.