Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка 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.

Категории блогов.

Featured Replies

Posted

И блуждал я по движку ipsовскому не один день

Да нашел я маленькую но некрасивую вещь в нем

В категории блогов да не отображается название категории блога

606509176_2022-04-1417-01-14.thumb.png.3971dbedeb900f6014526e8e216d53b5.png

Короче,отображается только слово Блоги,в какой бы вы категории блогов не были.

Покопавшись ,нашел-таки решение (причем сам без чьей-либо подсказки 👆) .

Для этого идем шаблоны темы по адресу blog/front/browse  и в файлах indexGrid и index  строку  

	<h1 class="ipsType_pageTitles ipsFlex-flex:11 ipsType_break">{lang="blogs"}}</h1>

Приводим к такому виду

	<h1 class="ipsType_pageTitles ipsFlex-flex:11 ipsType_break">
    {{if \count( $category )}}
        {$category->_title}
      {{else}}
        {lang="blogs"}
    {{endif}}
    </h1>

  И по итогу получаем что и хотели

746277865_2022-04-1417-01-42.thumb.png.01b5a49fa37d8d5d6b8a9b389bf95efa.png

 

633351865_2022-04-1417-02-22.thumb.png.2ae98672239c045b951f54d2fd354102.png

 

Может и пригодится кому такое решение. А может еще кто-нибудь плагином сделает...

Edited by AHristich

В 14.04.2022 в 16:46, AHristich сказал:

плагином сделает

два варианта.
один хукает сразу, другой шаблоны дополнительные создаёт.
 

1 CatogoryTitleBlogs 1.0.0.xml 2 CatogoryTitleBlogs 1.0.0.xml

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

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.