CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Adverts in Ad Boxes?
PostPosted: Tue Jul 27, 2010 2:44 am 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
Hi,

A while ago I put Google ads in these two info boxes:
BOX_GOOGLE_AD_BANNER_HEADING
BOX_GOOGLE_AD_BANNER_HEADING

Now I want to replace the Google adsense code with the code of a banner ad but I've forgotten how I got the Google Adsense there in the first place!

How do I replace this code - is there somewhere in the admin panel I need to go? I've tried looking in the infobox configure page and clicking edit on the appropriate box but that doesn't work.

Hope you can help.

Best,
Alex


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Tue Jul 27, 2010 12:11 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
whichever you find first

templates/your template/boxes/name of the box
templates/default/boxes/name of the box

That would hold the php/html for the box contents

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Tue Jul 27, 2010 5:43 pm 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
Thanks. Is there no way to change what appears in those boxes from within the admin panel?


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Tue Jul 27, 2010 5:51 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
nope

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Fri Jul 30, 2010 11:50 am 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
Thanks. It's strange because I definitely didn't add my Google Adsense code directly into the source code. Sure I did it through the admin panel.

Aside from that though, I can't find the adsense script in the info box code. :(


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Fri Jul 30, 2010 11:53 am 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
By the way I used the path: templates/Original/boxes/boxad.php Could it be pulling the contents of the box from somewhere else?


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Fri Jul 30, 2010 11:56 am 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
well it depends if you are using an adsense module that was added on to creloaded.. if so look there

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Fri Jul 30, 2010 12:04 pm 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
Nope, no adsense module. Just can't find the adsense code - really frustrating.


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Fri Jul 30, 2010 12:25 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
post your box contents here.. I will then be able to help you track it down

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Sat Jul 31, 2010 6:07 am 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
Thanks. Currently it's showing adsense ads. I copied it all so here it is:

<?php
/*
$Id: boxad.php, v 1.1 2002/03/21 by aubrey@mycon.co.za

osCommerce
http://www.oscommerce.com/

Copyright (c) 2000,2001 osCommerce

Released under the GNU General Public License


IMPORTANT NOTE:

This script is not part of the official osC distribution
but an add-on contributed to the osC community. Please
read the README and INSTALL documents that are provided
with this file for further information and installation notes.

CRE Loaded , Open Source E-Commerce Solutions
http://www.creloaded.com
Chain Reaction Works, Inc
Portions: Copyright &copy; 2005 - 2006 Chain Reaction Works, Inc.

Last Modified by $Author$
Last Modifed on : $Date$
Latest Revision : $Revision: 4213 $

*/
?>
<!-- banner-ad-in-a-box //-->
<?php
if ($banner = tep_banner_exists('dynamic', BOX_AD_BANNER_TYPE)) {
?>
<tr>
<td>

<?php
$bannerstring = tep_display_banner('static', $banner);

$info_box_contents = array();
$info_box_contents[] = array('align' => 'left',
'text' => '<font color="' . $font_color . '">' . BOX_AD_BANNER_HEADING . '</font>'
);
new infoBoxHeading($info_box_contents, false, false);

$info_box_contents = array();
$info_box_contents[] = array('align' => 'center',
'text' => $bannerstring
);
new infoBox($info_box_contents);
?>
</td>
</tr>
<?php
}
?>
<!-- banner-ad-in-a-box_eof //-->


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Sat Jul 31, 2010 11:30 am 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
Ahh.. you used banner manager
admin - marketing - banner manager

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Mon Aug 02, 2010 3:57 am 
Offline
CRE Newbie

Joined: Tue Jul 27, 2010 2:33 am
Posts: 10
Thank you! :D I thought it was all a bit unfamiliar from what I did originally. What was it in the code that gave it away?


Top
 Profile  
 
 Post subject: Re: Adverts in Ad Boxes?
PostPosted: Mon Aug 02, 2010 11:09 am 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11074
Location: Nappanee Indiana
if ($banner = tep_banner_exists(

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Tue Feb 07, 2012 10:53 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Follow Us on Twitter

An error occurred

Oops, an error seems to have occurred. We're sorry for any inconvenience this might have caused. If the error persists, feel free to tell us about it.

CRE Loaded Community Chat hosted by CRE Loaded.

Join now


Chat about what's on your mind. More about public chats.


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy