Cheeky Chino Posted June 3, 2003 Posted June 3, 2003 How do i change the banner in the footer? Not only changing the banner bu ti would also like to know. If i was to change the file extension of the banenr where would i go? Changing the name of the banner to work, where to go? Changing the size of the banner, where? All those things, in which files do i change these? Ozcasemodz.com - Your All Australian Case Modding Site Ozsource.com.au - Your Australian Counter-Strike: Source Website
Guest Posted June 3, 2003 Posted June 3, 2003 catalog/includes.php change the name of the gif. to what you want, no re-sizing needed
toolcrazy Posted June 4, 2003 Posted June 4, 2003 How do i change the banner in the footer? Not only changing the banner bu ti would also like to know. If i was to change the file extension of the banenr where would i go? Changing the name of the banner to work, where to go? Changing the size of the banner, where? All those things, in which files do i change these? Actualy, the banners in the footer is controled in admin under Banners. Steve -------------------------
toolcrazy Posted June 4, 2003 Posted June 4, 2003 Sorry, Tools/banners. In admin. Steve -------------------------
Cheeky Chino Posted June 4, 2003 Author Posted June 4, 2003 I want to have multiple images, is there anyway i can make it switch between banners? Ozcasemodz.com - Your All Australian Case Modding Site Ozsource.com.au - Your Australian Counter-Strike: Source Website
Broadway Posted June 4, 2003 Posted June 4, 2003 Cheeky, I believe if you look in your includes/footer.php you will notice some code that mentions; <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="0" align="center" bgcolor=""> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?> </td> </tr> If you have multiple size banners, i.e. in admin you can add a new banner group by designating a size of the banner, (468x50 is default, add new banner group 125x50) after that you could try to do something like this example (Oscommerce banner on right, small banner on left.) (includes/footer.php) <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <table border="0" width="470" cellspacing="0" cellpadding="0" align="center" bgcolor=""> <tr> <td align="right"><?php echo tep_display_banner('static', $banner); ?> </td> </tr> <?php if ($banner = tep_banner_exists('dynamic', '125x50')) { ?> <table border="0" width="125" cellspacing="0" cellpadding="0" align="left" bgcolor=""> <tr> <td align="right"><?php echo tep_display_banner('static', $banner); ?> </td> </tr> Now mind you, Im no expert and this is my first approach. I havent tested it and am not 100% sure.. OK OK all the lawyer #*Y_$(# aside that should get you close. ;) Broadway anybody.anywhere.anytime
Cheeky Chino Posted June 4, 2003 Author Posted June 4, 2003 Yeah i get what your saying but whaty i am after is not having 2 images there but having differant images load alltogether, like image1 might load this time but image2 will load this time, like if you refresh the page a diferent banner will appear. Ozcasemodz.com - Your All Australian Case Modding Site Ozsource.com.au - Your Australian Counter-Strike: Source Website
judgej Posted June 4, 2003 Posted June 4, 2003 Take a look in admin under tools->banners. Add two banners and see what happens.
Cheeky Chino Posted June 4, 2003 Author Posted June 4, 2003 Yeah ok done that and also added the 2 banenrs under the same group, but still only the first banner appears :S Anyone got any ideas or even accomplished this? Should be possible. Ozcasemodz.com - Your All Australian Case Modding Site Ozsource.com.au - Your Australian Counter-Strike: Source Website
judgej Posted June 4, 2003 Posted June 4, 2003 Yeah ok done that and also added the 2 banenrs under the same group, but still only the first banner appears :S Strange. I'm using 2.2 MS1, and setting two banners works for me. What happens is that the banners are randomly chosen. Refresh the screen a few times to see if your second banner appears. -- JJ
judgej Posted June 4, 2003 Posted June 4, 2003 Oh - and make sure both banners are enabled (the little green light should be lit).
Cheeky Chino Posted June 4, 2003 Author Posted June 4, 2003 oh no nevermind adding two banners under the same category works, it randomly changes between them. Ozcasemodz.com - Your All Australian Case Modding Site Ozsource.com.au - Your Australian Counter-Strike: Source Website
Recommended Posts
Archived
This topic is now archived and is closed to further replies.