warrenerjm Posted April 15, 2008 Posted April 15, 2008 Hi I'm trying to add some logo banners which link to outside websites & list them down the right column...without a box. They need to be after the boxes & also if it is possible have some text above them, ie like a box headerwould be if there was one there! :lol: I've seen how to add a box & add text links, but that's not what I would like. Had a search & played with some code, but not working. Would really appreciate some help please? Thanks julie
ohioman Posted April 15, 2008 Posted April 15, 2008 Well Julie.. I take that you would like these banners to appear on every page that your column_right.php appears? Such as your index.php, contact_us.php, specials.php pages? If I were trying to do such a thing, I would do the following: Create another column such as 'banners_right.php . You can put your clickable banners code in this page in a series of your choosing.This would act very much as column_right does and will be called upon in the next step. You can actually refer to the right column page and any of the pages in /includes/boxes as a guide to have the end results match up. Then require banners_right.php just after the code which requires column_right.php in each page that you want these banners to show up. That would look something like this: <!-- banners_right_navigation //--> <?php require(DIR_WS_INCLUDES . 'banners_right.php'); ?></td></table> <!-- banners_right_navigation_eof //--> I figure... with maybe a few banners it would be just as easy to put the code into 1 file instead of having one file include separate files in the includes/boxes folder. I know from messing around with the columns in my store, that you will have to pay particular attention to the table structure when requiring this file to your pages so that it goes directly underneath your right column. Wish I could think of something more simple and dynamic.. but.. I think that's the only option. Hope I explained that well enough. Maybe someone has a better way than this one. Iceman :thumbsup: Hi I'm trying to add some logo banners which link to outside websites & list them down the right column...without a box. They need to be after the boxes & also if it is possible have some text above them, ie like a box headerwould be if there was one there! :lol: I've seen how to add a box & add text links, but that's not what I would like. Had a search & played with some code, but not working. Would really appreciate some help please? Thanks julie
warrenerjm Posted April 15, 2008 Author Posted April 15, 2008 Hi Iceman Thanks for your suggestion. I was hoping that it could be all done in the /column_right.php & possibly one other file, instead of having to add to each page >_< I do want it to appear everytime the page shows in the column_right in the same place a new box would appear. Wishful thinking there is an easier way? :lol: Thanks Julie
warrenerjm Posted April 15, 2008 Author Posted April 15, 2008 Wishful thinking there is an easier way? :lol: Thanks Julie Calvin I found it! :lol: Contribution :thumbsup:
ohioman Posted April 15, 2008 Posted April 15, 2008 Cool! It sounded at first... like you wanted something underneath and outside of the column_right box. I read the particulars on the fix for this contribution and there is something you would want to keep in mind. If you should ever want to get a random image rotator for you store... you will want to put your images in a folder such as: /images/banners for most things will pull random images from the /images folder. Certainly you would not want one of your banners to be considered in the mix. Glad to see you have what you're looking for. Iceman :thumbsup: Calvin I found it! :lol: Contribution :thumbsup:
warrenerjm Posted April 16, 2008 Author Posted April 16, 2008 Cool! It sounded at first... like you wanted something underneath and outside of the column_right box. I read the particulars on the fix for this contribution and there is something you would want to keep in mind. If you should ever want to get a random image rotator for you store... you will want to put your images in a folder such as: /images/banners for most things will pull random images from the /images folder. Certainly you would not want one of your banners to be considered in the mix. Glad to see you have what you're looking for. Iceman :thumbsup: I can confuse people easily! :lol: I have tried to figure out how to have some images on my index page in the middle column (not new products etc) that can be random. ie when you refresh they change. java script was suggested but I have not been able to learn about this yet. I'm guessing your idea of a images/banners folder would work for that? Sooo much to learn!! Thanks julie
ohioman Posted April 16, 2008 Posted April 16, 2008 Ah... random images in the middle of the page eh? Just so happens that I KNOW there is a contribution for that as I use that myself. Just as you found the mod for the right column... you will find it for the random images. I think you look under thumb box and/or thumb ads for that ;) Iceman :thumbsup: I can confuse people easily! :lol: I have tried to figure out how to have some images on my index page in the middle column (not new products etc) that can be random. ie when you refresh they change. java script was suggested but I have not been able to learn about this yet. I'm guessing your idea of a images/banners folder would work for that? Sooo much to learn!! Thanks julie
warrenerjm Posted April 16, 2008 Author Posted April 16, 2008 Ah... random images in the middle of the page eh? Just so happens that I KNOW there is a contribution for that as I use that myself. Just as you found the mod for the right column... you will find it for the random images. I think you look under thumb box and/or thumb ads for that ;) Iceman :thumbsup: Yep I've had a look through a few of those, but I have a text section in the index page followed by 3 x 2 edited imaged 120 x 120 of new products I want to show specifically. They are linked to the product page. I would really like these images to change randomly from a bigger selection of edited images (I guess from a different folder) with the relevant link attached to the image when the refresh is pressed. I do not want the thumbnails of the product images to appear as they are showing the whole product & I want to show an enlarged detail of that product. I'm sure it is way above me but it was work a try at least...I don't want to get too confused or bogged under, so I can concentrate on other things I'd like to improve on!! No pleasing some people :lol:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.