Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

banner


Stu83

Recommended Posts

Posted

tried that and still nothing, but im getting an error code at the top of the page;

 

Success: The banner has been inserted.

Error Error: Graphs directory is not writeable.

 

 

how can i fix this?

Posted
tried that and still nothing, but im getting an error code at the top of the page;

Success: The banner has been inserted.

Error Error: Graphs directory is not writeable.

how can i fix this?

See my PM but also go to OSC manual for more info: http://www.oscommerce.info/kb/osCommerce/A..._Tool/Tools/148 ... I believe you need to chmod your banner image FOLDER to 777 to make your banner images operable. Hope that works for you.

 

.

Posted
tried that and still nothing, but im getting an error code at the top of the page;

 

Success: The banner has been inserted.

Error Error: Graphs directory is not writeable.

how can i fix this?

catalog/admin/image/graphs needs to be 777 also

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
how can i add a banner to my shop???

 

Looks like you solved it, but for anyone else, wherever you want a banner you must put the following code:

 

   <?php
  if ($banner = tep_banner_exists('dynamic', '468x60')) {
 ?>
	<td align="center" valign="middle"><?php echo tep_display_banner('static', $banner); ?></td>
	<?php
  }
	?>

 

In the example above, I have the banner set to show up in a table data cell (td align. . .). Also, I have changed my banner size from the default 468x50 (oscommerce) to the IAB standard 468x60. This means that in banner manager, you have to set the banner group as "468x60." You can change this size on your page and on your banner group however you see fit.

----------------------------------------------------

  • 1 month later...
Posted
tried that and still nothing, but im getting an error code at the top of the page;

 

Success: The banner has been inserted.

Error Error: Graphs directory is not writeable.

how can i fix this?

 

 

 

How do you add a banner group?

Posted

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
How do you add a banner group?

Hi

 

First of all, you need to change the permissions (chmod) on your catalog/admin/image/graphs folder. These will currently be something like 644, you should change them to 777. You can do this in your server control panel, or using WS_FTP Pro and some other ftp clients. This is assuming you are using a Unix server, Windows I don't know. You must also ensure in a similar way that your images folder also has global read write and execute permissions (777).

 

Go into your Admin -->Tools-->Banner Manager. Give your banner a name, upload your image (banner) file, give your banner group a name (468x50). Set a date and number of times you wish the banner to show. Insert banner. Ensure that the little light next to that banner listing is green and not red. Your banner should show. In banner manager, set an URL for the banner. When clicked the banner will go to that URL. You are done!

Archived

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

×
×
  • Create New...