Kevin360 Posted June 17, 2009 Share Posted June 17, 2009 I'm trying to install the Header Tags SEO and and everywhere it calls for me to change <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> I dont see it, however I see: <?php tep_draw_heading_top();?> <?php new contentBoxHeading_ProdNew($info_box_contents);?> <?php tep_draw_heading_top_3();?> What is the tep_draw_heading_top() ?? I assume it's because I have installed a template. But my questions is, can I get to this function and make the required changes in there so my index page will stay the same? Where do I find this function defined? Any help would be great! Link to comment Share on other sites More sharing options...
playcraft Posted June 17, 2009 Share Posted June 17, 2009 I'm trying to install the Header Tags SEO and and everywhere it calls for me to change <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> I dont see it, however I see: <?php tep_draw_heading_top();?> <?php new contentBoxHeading_ProdNew($info_box_contents);?> <?php tep_draw_heading_top_3();?> What is the tep_draw_heading_top() ?? I assume it's because I have installed a template. But my questions is, can I get to this function and make the required changes in there so my index page will stay the same? Where do I find this function defined? Any help would be great! You might try the /includes/functions/general.php file. Link to comment Share on other sites More sharing options...
Kevin360 Posted June 17, 2009 Author Share Posted June 17, 2009 :blush: not in general.php. Would it at least be in one of the files under the functions folder? I'll start searching there. Thanks for the input. Link to comment Share on other sites More sharing options...
Kevin360 Posted June 17, 2009 Author Share Posted June 17, 2009 Ok, I can't find the tep_draw_heading code in the functions folder. Any ideas of where else it might be. What I'm doing is a search for "tep_draw_h". I'm finding some things, but not what I need. I'm searing in dream weaver which lets me search through the code in any file in the folder. I don't have my website all on my hard drive so I haven't tried a site wide search. Any other ideas on where I can find this function?? I'd love to set up Header Tags SEO asap. If I can't figure it out, I'll be willing to pay to have someone install it for me. What can I expect to pay for that and now soon will it be done? Of course I'd much rather do it myself... that way I learn more about the code of my site as well, which makes me overall more comfortable. Link to comment Share on other sites More sharing options...
sharma.atul85 Posted June 17, 2009 Share Posted June 17, 2009 dude it was there in index.php file I think .. I had used this contri earlier ...don't knw exactly but It was there in index file Link to comment Share on other sites More sharing options...
Kevin360 Posted June 17, 2009 Author Share Posted June 17, 2009 I found some calls to tep_draw_heading() in index.php ... but I don't think it's defined there. Link to comment Share on other sites More sharing options...
sharma.atul85 Posted June 17, 2009 Share Posted June 17, 2009 look I have also used this contribution and it works fine for me also I do not remember exactly where had I made all this changes but can u specify in which file above said code has to be changed ? Link to comment Share on other sites More sharing options...
burt Posted June 17, 2009 Share Posted June 17, 2009 Whenever you install a template, you cut down your options for getting help. Fact of (osCommerce) life. I've just quoted someone else half a days work to install HTC SEO v3 on a TM template - which will give you an idea of how crap these templates are coded, as a usual install is not more than 1 hour or so. Link to comment Share on other sites More sharing options...
Kevin360 Posted June 17, 2009 Author Share Posted June 17, 2009 look I have also used this contribution and it works fine for mealso I do not remember exactly where had I made all this changes but can u specify in which file above said code has to be changed ? It says to change this in index.php. ..... directions.... FIND (Around line 78) <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> REPLACE with <?php /*** Begin Header Tags SEO ***/ ?> <td><h1><?php echo $category['categories_htc_title_tag']; ?></h1></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($category['categories_htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><h2><?php echo $category['categories_htc_description']; ?></h2></td> </tr> <?php } /*** End Header Tags SEO ***/ ?> however I do not have any code that says: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> my code instead around that same line, and seems similar in function is <?php tep_draw_heading_top();?> <?php new contentBoxHeading_ProdNew($info_box_contents);?> <?php tep_draw_heading_top_3();?> My problem is that I do not know how to install this conrtib if I cannot replace text I dont see. I'm hoping I can find where the tep_draw_heading is defined so I can figure out exactly what it does, so I can maybe install this contrib. I dont have much coding experience at all... Link to comment Share on other sites More sharing options...
Kevin360 Posted June 18, 2009 Author Share Posted June 18, 2009 So I found each of these.. <?php tep_draw_heading_top();?> <?php new contentBoxHeading_ProdNew($info_box_contents);?> <?php tep_draw_heading_top_3();?> defined in includes/classes/boxes.php I'm going to play around with it some, but it looks as if I can insert the new code for index.php over top of this, and just get rid of the above code all together, it seems as though it just defines some tables... I can redo that if it gets out of wack... I'll keep it posted in case someone else was interested. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.