socom Posted June 5, 2009 Share Posted June 5, 2009 Ok ive done it on the outside links Example of that im after the below works '<a href="http://forums.airsofters.co.uk/forumdisplay.php?f=154" title="Socom Tactical airsoft forums">Forums </a>< How would i change the below to incorperate the title tag '<a href="' . tep_href_link('buying-airsoft-gun.php') . '">' . htmlspecialchars('Buying an airsoft Gun') . '</a><br />' . Also is it possible to to so the catorgarys automaticly have a title (same name as catorgary) Thanks Laurence Link to comment Share on other sites More sharing options...
germ Posted June 7, 2009 Share Posted June 7, 2009 '<a href="' . tep_href_link('buying-airsoft-gun.php') . '" title="Buying an airsoft Gun">' . htmlspecialchars('Buying an airsoft Gun') . '</a><br />' To make the category links have title attributes: /catalog/includes/boxes/categories.php Find: $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">'; Change to: $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '" title=" ' . $tree[$counter]['name'] . '">'; Backup the file before editing. You break it - You fix it... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
socom Posted June 7, 2009 Author Share Posted June 7, 2009 Doent work Just seems to Add "> before each Cat When i changed $categories_string .= ' href="'.tep_href_link(FILENAME_DEFAULT, $cPath_new); Link to comment Share on other sites More sharing options...
germ Posted June 7, 2009 Share Posted June 7, 2009 Works for me. Code right off my files... :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.