Support Forums

Rotating Ads code placement

This is a discussion on Rotating Ads code placement within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hello, This is a question for anyone currently using phpAdsNew or any other type of ad rotator. I would like ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 04-23-2006, 10:25 AM   #1
GSP
Senior Member
 
Join Date: Apr 2006
Posts: 104
Rep Power: 0
GSP is on a distinguished road
Default Rotating Ads code placement

Hello,

This is a question for anyone currently using phpAdsNew or any other type of ad rotator. I would like for a particular group of rotating ads to appear at the bottom of the page and in the centre for each page of my site. In order to do this would I need to input the generated code snippet into several different files, ie. home, search, showlistings, showlistings2, viewlisting etc. or is there a way of inputting the code into one file to have the ads automatically displayed on the bottom of each page?
I had hoped I could just put it in the layout page but from what I can see this would only apply to ads on the left and right of the page as the middle is reserved for content. Any ideas or suggestions?

V3.0.15
GSP is offline   Reply With Quote
Old 04-23-2006, 11:08 AM   #2
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,163
Rep Power: 69
John Snyder is a jewel in the rough
Default

Just put the code below this line in the middle column, and it will always be at the bottom of that column.

layout.tpl.php

Code:
{* This includes the content portion *}
{include file=$body}
Your code here....
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 04-23-2006, 12:13 PM   #3
GSP
Senior Member
 
Join Date: Apr 2006
Posts: 104
Rep Power: 0
GSP is on a distinguished road
Default

Thanks alot,

It work great Juven14. I could have sworn I'd tried this already and it didn't work but I probably put the ad code under End Contents mistakingly instead of within. Silly me. Thanks again for your help and quick responce.
GSP is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Code Search Eric Barnes News & Announcements 0 11-20-2006 09:54 AM
Rotating ads integration issue mfarah01 Templates, HTML, CSS, and Design Help 5 06-16-2006 08:10 AM


All times are GMT -4. The time now is 04:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0