NuDreamer Posted January 29, 2013 Share Posted January 29, 2013 I am trying to figure out.. I have a block of text I want to display, but I only want it to show up on Manufacturer pages. It will be the same on all pages. I know there is a "if page has manufacturer_id" statement that I can write.. I just don't know how to. Can anyone give me an example or where to start?e Link to comment Share on other sites More sharing options...
ken0306 Posted January 29, 2013 Share Posted January 29, 2013 you have to install the Header Tags SEO V 3.0 add on first, and you can add your custom html or description to your manufacture page or categories page header. Link to comment Share on other sites More sharing options...
NuDreamer Posted January 30, 2013 Author Share Posted January 30, 2013 Thanks Ken0306, but thats not quite going to work. I have Header Tags SEO installed. I am actually trying to put some text further down the page, and using the Header Tags Contribution will not put that where I want it. To explain further, I want to place an include on the page, but it should only be called if the page is a manufacturer page. So it needs to say, if manufacturer page, include filename. Thats all. Link to comment Share on other sites More sharing options...
NuDreamer Posted January 31, 2013 Author Share Posted January 31, 2013 i hate to be a bumper.. :(.. but... Link to comment Share on other sites More sharing options...
♥14steve14 Posted January 31, 2013 Share Posted January 31, 2013 This is a bit rough but it may give you an idea of where to look Assuming you are using 2.3 in your index.php page look for <h1><?php echo $catname; ?></h1> after that add <?php echo TEXT_WHATEVER; ?> Then in your includes/language/english/index.php add define('TEXT_WHATEVER', 'Enter your text here.'); With quick testing this seems to put text at the top of the manufacturers page, and not the categories page, or any other pages that I could see. It may need a bit of refining, but it may get you started. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
NuDreamer Posted February 1, 2013 Author Share Posted February 1, 2013 Thanks RS that gave me a start. I did get a resolve however! Burt sent me this bit of code that did just the fix I needed. Its posted below for anyone else who may be interested. <?php if (isset($HTTP_GET_VARS['manufacturers_id']) && !empty($HTTP_GET_VARS['manufacturers_id'])) { echo "manufacturer stuff"; } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.