Jump to content

Advertisements in Site Promotion


kkucharsky

Recommended Posts

Posted

Hello there,

I think advertisement application could be better. I need one option. I' d like to exclude some page to view my advert. For example I don't want to show advert in blog so:

"Just above the page footer" should have more option.

Posted

don't use the "Global" ads just use a custom location then use a block to assign what pages you want ads to display.

search my post history I had made a comment on what I did.

  • 2 weeks later...
Posted

Hello there,

This isn't easy, bacause all structure has blog, forums, gallery etc.  I' d like to exclude some page to view my advert. For example I don't want to show advert in blog so:

"Just above the page footer" should have more option.

See code:

	<div id='ipsLayout_contentWrapper'>
					{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
					<div id='ipsLayout_mainArea'>
						<a id='elContent'></a>
						{advertisement="ad_global_header"}
						{template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
						{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
						{$html|raw}
						{template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
						{advertisement="ad_global_footer"}
					</div>
					{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
				</div>

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...