P
P
Pavel2016-04-12 17:48:13
DLE
Pavel, 2016-04-12 17:48:13

How to display the inscription only in the necessary DLE sections and hide in others?

I know there is a special tag, but I can’t even find it ... you need to display the inscription, for example, only in the news section in the main template, but so that it is not shown on the main and other sections.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Tutubalin, 2016-04-12
@0Err

[aviable=раздел]текст[/aviable]
global - in all sections
main - on the main page
date - when viewing news for certain dates
cat - when viewing a category
showfull - when viewing a full news
search - when viewing search results
userinfo - when viewing a profile
register - when registering
stats - when viewing statistics
pm - when viewing personal
feedback messages - when viewing favorites feedback
- when viewing bookmarks
newposts - when viewing new posts
addnews - when adding a
lastnews news - when viewing the latest news on the site
lastcomments - when viewing the latest comments
lostpassword - when recovering a password from an account on a website
static - when viewing static pages
catalog - when viewing a directory of pages
alltags - when viewing a tags cloud
- when viewing news from a tag cloud
allnews - when viewing all news on the site or all news of a
user You can combine sections with "|", for example available="userinfo|register|main" will display your news on the main page, when registering and when viewing a user's profile.
And in general, the developers have where it's all described dle-news.ru/extras/online/index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question