Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Атаман

Баннер только на главной под шапкой ips 4

Recommended Posts

Добрый! Использую стандартную функцию рекламы под шапкой, но она сквозная.... как сделать только для главной страницы форума?

Share this post


Link to post
16 минут назад, Атаман сказал:

как сделать только для главной страницы форума?

Например, отредактировав шаблон globalTemplate.

Реклама

{advertisement="ad_global_header"}
{{ if request.app == "forums" and request.module == "forums" and request.controller == "index"}}
	Реклама
{{endif}}

Если будете редактировать шаблон, то я бы рекомендовал использовать "Define your own location"

Share this post


Link to post
55 минут назад, newbie сказал:

Например, отредактировав шаблон globalTemplate.

Реклама


{advertisement="ad_global_header"}

{{ if request.app == "forums" and request.module == "forums" and request.controller == "index"}}
	Реклама
{{endif}}

Если будете редактировать шаблон, то я бы рекомендовал использовать "Define your own location"

Спасибо

Share this post


Link to post
42 минуты назад, Атаман сказал:

{{ if request.app == "forums" and request.module == "forums" and request.controller == "index"}} Реклама {{endif}}

Этот шаблон содержит битые теги PHP или шаблона и не может быть сохранён. Пожалуйста, проверьте ваши изменения.

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...