This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

How to embed advert in middle section?


avatar
error 232
From: -
How to embed advert in middle section?

By that I mean embed advert with text around it. On the left side of the extended news.

Thanks

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: How to embed advert in middle section?
avatar
OP 232
From: -
I like how you handle your clients.

Thanks again.
1 Re: How to embed advert in middle section?
avatar
Editor
0
From: -
First you need to add the ad code here:
Manage Websites => Edit => Advertisement code for middle section

Now you need to change the following two templates:

news_story_extended_advertisement

<!-- Template: news_story_extended_advertisement -->

<div style="display: block; float: left; padding-top: 5px; padding-left: 10px;">
{$insert['advertisement_middle']}
</div>


news_story_extended

<!-- Template: news_story_extended -->

<h1>{$insert['newsstory_title']} {$insert['newsstory_edit']} {$insert['newsstory_rating_line']}</h1>
<h2>Posted by: {$insert['newsstory_author']} on: {$insert['newsstory_date']} [ <a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}news{$insert['param_action']}printer{$insert['param_page']}{$insert['newsstory_seo']}.html" rel="nofollow">Print</a> | <a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}news{$insert['param_action']}story{$insert['param_page']}{$insert['newsstory_seo']}.html">{$insert['newsstory_comments']} comment(s)</a> ]</h2>
<div class="content">{$insert['newsstory_teaserimage']}
{$insert['newsstory_advertisement']}
{$insert['newsstory_story']}<br />
{$insert['newsstory_extendedstory']}
{$insert['newsstory_tags']}
{$insert['newsstory_social']}
</div>
<br />

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.