Guest semolinapilchard Posted July 3, 2007 Share Posted July 3, 2007 hi my website i want to add a few button links to my homepage under where the paypal button is bottom left can someone enlighten me to where this code is and also how i get neat little square to put them in??? thanks esther Quote Link to comment Share on other sites More sharing options...
Robsta Posted July 3, 2007 Share Posted July 3, 2007 Global template: styleTemplates/global/index.tpl Quote Link to comment Share on other sites More sharing options...
Guest hardnut33 Posted July 3, 2007 Share Posted July 3, 2007 you could create a box like the ones with the blue header and title 'sponsered links' or something... this is a very easy and quick thing to do..check the skinning tricks pinned posts..add a box.. if you wanted to go one further there are some topics about using rotating images with clickable links inside a sidebox..do a search for java slideshow and rotating images... Quote Link to comment Share on other sites More sharing options...
Guest Posted July 3, 2007 Share Posted July 3, 2007 The above posts will point you in the right direction for the implementation of adding a content box to your homepage, although it will also add the same content to your product pages, site doc pages, and everything else. I think you may need to mod the main index.php file to place the content conditionally, so it doesn't show up on other pages, unless that is okay with you. Since by definition, that is a 'mod', then we can't really talk about that here. Rather, you'll have to ask on CubeCartForums.org about doing that, or search on CubeCart.org to see if anyone has posted a mod that provides that feature. On a completely different note, are the ads you plan to place on your homepage for products you sell on your site, or for other sites? If other sites, then why would you want to send people away before they have a chance to spend money with you? Quote Link to comment Share on other sites More sharing options...
Guest hardnut33 Posted July 3, 2007 Share Posted July 3, 2007 not if you put the box in styletemplate/content/index.tpl rather than global/index.tpl Alan then it will only appear on the homepage and no other pages Quote Link to comment Share on other sites More sharing options...
Guest semolinapilchard Posted July 3, 2007 Share Posted July 3, 2007 thanks guys!!! its more to put the directories we are listed in and who we are recommended by will have a play around!! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 4, 2007 Share Posted July 4, 2007 not if you put the box in styletemplate/content/index.tpl rather than global/index.tpl Alan then it will only appear on the homepage and no other pages How would you create a box in /content/index.tpl and have it show up in the left column? Quote Link to comment Share on other sites More sharing options...
Guest daverock Posted July 4, 2007 Share Posted July 4, 2007 I reckon you create a new 'little box' div for each advert (inline styles, but it will work for you). So after the Paypal 'box': <div style="border: 1px solid #fff; background: #e5e5e5; text-align: center; padding: 5px 0; margin-top: 2px; width: 198px;"> <your ad image/link goes here> </div> Do this for each advert. Quote Link to comment Share on other sites More sharing options...
Guest hardnut33 Posted July 4, 2007 Share Posted July 4, 2007 im only going by what i have done with my paypal logos at the bottom of the page...the display on mainpage only.. Quote Link to comment Share on other sites More sharing options...
Guest fullt Posted July 4, 2007 Share Posted July 4, 2007 My store isn't live yet, but you can take a look and see if the links on the bottom of the left column are what you're looking to add. Full Throttle Tees.com ps I like your website design. Good luck with your online venture. Quote Link to comment Share on other sites More sharing options...
Guest semolinapilchard Posted July 5, 2007 Share Posted July 5, 2007 thanks guys!!! yes fullt i want them where yours are but if possible i wan them all the same size so they look uniformed - think i will have to change the image sizes in photoshop to do this. Quote Link to comment Share on other sites More sharing options...
Guest fullt Posted July 5, 2007 Share Posted July 5, 2007 Yes, you will have to resize the logos to less than the column width, which is 155 px I think. I just used anchor tags in my / skins / Legend / styleTemplates / global /index.tpl file and put the tags here <div class="colLeft"> {SHOPPING_CART} {CATEGORIES} {INFORMATION} <!--{POPULAR_PRODUCTS}--> <!--{CURRENCY}--> <!--{LANGUAGE}--> <BR><a href="http://www.YOUR URL" target="blank"><img src="YOUR IMAGE PATH" alt="YOUR ALT TEXT"></a><BR><BR> </div> <div class="colMid"> {PAGE_CONTENT} </div> The <BR> tags put a space between the logos and the target=blank opens the links in a new window (thanks jerseyjoe). If you need any help let me know. Good luck. Quote Link to comment Share on other sites More sharing options...
Guest JRz Posted July 6, 2007 Share Posted July 6, 2007 fullt, I noticed that in your index.tpl file, you have specified Language and Currency even though these selection boxes are not appearing in your site. I do not want the selection boxes in my website as I just want English and UK Sterling for time being. To do that, I have removed the language and currency in global\index.tpl. Yet, these boxes are still coming. Is there anything else I need to? Do you need to remove language and currency for all the skins? Another question, how do I change the skin from legend to killer. Quote Link to comment Share on other sites More sharing options...
Guest fullt Posted July 6, 2007 Share Posted July 6, 2007 I noticed that in your index.tpl file, you have specified Language and Currency even though these selection boxes are not appearing in your site. I do not want the selection boxes in my website as I just want English and UK Sterling for time being. To do that, I have removed the language and currency in global\index.tpl. Yet, these boxes are still coming. Is there anything else I need to? Do you need to remove language and currency for all the skins? Hi JRz - The first thing I want to mention is that I'm not a Cube Cart guru by any stretch, so take what I say lightly. That being said- By trial and error I found that commenting out the boxes gives me more flexibility until I make my final decisions. Once I started making changes it became difficult to keep track of the what I had done. If you comment out the boxes by using <!--{}--> tags, it leaves the default where it was in case I want to use it again. Another question, how do I change the skin from legend to killer. You change you skins in the Admin Control Panel (ACP) under General Settins/Styles and Misc. It's the second drop-down box. I hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.