josy Posted May 4, 2008 Share Posted May 4, 2008 Is there any way i can add some text to the top of my category pages for instance i have added a category called freebies, could i add a block of text to the top of that page like below were it "says lets see what we have here"? Link to comment Share on other sites More sharing options...
♥stubbsy Posted May 4, 2008 Share Posted May 4, 2008 Installing this contribution will allow you to assign custom text to appear at the top of each category page, as well as in the title bar and header tags http://addons.oscommerce.com/info/207 Link to comment Share on other sites More sharing options...
josy Posted May 4, 2008 Author Share Posted May 4, 2008 Thank you for replying, is there any way to do it without adding a contrib? Link to comment Share on other sites More sharing options...
♥stubbsy Posted May 4, 2008 Share Posted May 4, 2008 If you want the same text to display at the top of every category then you could just change the 'let's see what we have here, text. But if you want the text to be different depending on which category you are viewing then you will have to install some sort of contribution. I know this one does what you want as I use it, but there may be others. I hope that helps Dave Link to comment Share on other sites More sharing options...
bkellum Posted May 4, 2008 Share Posted May 4, 2008 Is there any way i can add some text to the top of my category pages for instance i have added a category called freebies, could i add a block of text to the top of that page like below were it "says lets see what we have here"? HTC (Header Tags Controller) is a good contribution but it is over kill for what you are wanting to do. STS (Simple Template System) would also allow you to place "anything" in a "specific" category page, some of the category pages or all of the category pages. Again, this is over kill for what you are wanting to do. Probably the simple solution would be to add the Categories Description contribution: http://www.oscommerce.com/community/contributions,4294 Or, you could add some simple PHP code to your index.php such as: if($_GET['cPath'] == '23') {echo '<center>Your Text Here</center>';} The above would be for Category 23 so you could change that number for whatever you needed. The following links shows another way of doing this if you have an image involved: http://www.oscommerce.com/forums/index.php?sho...p;#entry1244024 Hope you found this helpful, Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
josy Posted May 5, 2008 Author Share Posted May 5, 2008 Thank you Stubbsy for your help, and thank you bkellum this is what i was looking for, im not to keen on adding contribs if i dont have to lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.