Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing banner


Guest

Recommended Posts

Posted

hi there fairly new @ this so excuse me asking questions that might seem out of context. i tried to change my banner but keep getting error: graphs directory does not exsist - create grahps directory in images- well i've been looking for image directory and can't seem to find option to create directory

 

only image directory i found was in configuration

 

also i want @ bottom of page copyright set to my company name products are mine and not oscomerce's

 

your help is greatly appreciated

 

Papito

Posted

Hi have you deleted the "oscommerce.gif" banner?

Since Oscommerce has a folder for banners, and also an admin tool at your admin controlpanel for banners.

The copyright is changed in includes/language/english.php i think. in the bottom of the file.

Posted

yes i have - guess should not have done that huh,....

Posted

When you delete the banner it also deletes the banner groupe. Why I dont know so its a flaw in the code. But go to footer.php or if you have a backup from your time before you deleted the banner.

Or if you dont have you need to go to catalogue/includes/footer.php adn edit it.

 

try restoring this, and make a backup of your old footer.php first.

Then try to add a new banner.

I'll stay online for your reply.

 

Here is the code for the Original file (footer.php)

<?php
/*
 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 require(DIR_WS_INCLUDES . 'counter.php');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="footer">
   <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>
   <td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>
 </tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center" class="smallText">
<?php
/*
 The following copyright announcement can only be
 appropriately modified or removed if the layout of
 the site theme has been modified to distinguish
 itself from the default osCommerce-copyrighted
 theme.

 For more information please read the following
 Frequently Asked Questions entry on the osCommerce
 support site:

 http://www.oscommerce.com/community.php/faq,26/q,50

 Please leave this comment intact together with the
 following copyright announcement.
*/

 echo FOOTER_TEXT_BODY
?>
   </td>
 </tr>
</table>
<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

Posted

thank you so much - i will try this out..... no need to stay and wait i will just post and update when finished - don't wanna keep you from anything

Posted

Its ok Im looking for stuff my self so Im still stuck here hehe..

Im looking for ways to secure my admin folder, but still I cant get them to work.

and some other things that also need fix.

Hope the banner works soon

Posted

hi- ;-(

 

sorry it took so long and thanx for offering to wait

no such luck on my end- i must have deleted all important files huh

 

can't seem to find includes/footer path in catalog: been lookin for it in admin and in file manager as well as other's

 

how .... is that

Posted

hi there - i located footer.php - everything seems to be in order i also went to link in php-file but doesn't say how and where to change the copyright

 

i think i have reached a different level of frustration today......

Posted

The copyright aint in footer.php remember? Its in catalogue/includes/language/english.php if you have more laguages you need to change in all diffternt. Like if you have catalogue/includes/language/spanish.php

 

You will find the copyright in the bottom of the file.

about at line 333 or somewhere there.

Posted

hi Spice and thnx for reply... haven't been workin on site this weekend - however i did manage to delete copy right in footer.php saturday night..

 

I deleted bottom of php and the footer disappeared with it ... i guess that did the trick ....

 

Thnx for reply ... I will try and solve other issues 2morrow ..... as there are more ...

 

Thnx

Papito

Archived

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

×
×
  • Create New...