Hello. I need your help.
I read the topic http://www.zen-cart.com/showthread.p...e-needed/page6 and put the code what anjordan77
gave.
Could you tell me how to remove the part of the code that duplicates the title. Or exist other ways to fix it?HTML Code:<title><?php $slashpos = strrpos($_SERVER['REQUEST_URI'],"/"); if ($slashpos === false || $slashpos == strlen($_SERVER['REQUEST_URI'])) { $thispage = $_SERVER['REQUEST_URI']; } else { $thispage = substr($_SERVER['REQUEST_URI'],$slashpos+1,strlen($_SERVER['REQUEST_URI'])-1); } if ($thispage == "index.php" || $thispage == "index.php?main_page=index" || $thispage == "") { echo 'All Paintball Supplies - Paintball Guns, Marker, Clothes, Barrels, Paintballs, Paintball Gear, Paintball Hoppers - All Paintball Supplies'; } else { echo '' . META_TAG_TITLE . '' ; } ?> </title>
For example if the title “Earrings Studs Dragonfly in Sterling Silver“, this part is repeated twice, it generates title
<title>Earrings Studs Dragonfly in Sterling Silver Earrings Studs Dragonfly in Sterling Silver [] - $12.00 : $title, Unique handmade gifts: knitting things and jewelry. Supplies, vintage.</title>
Also interesting what the last part of Title I had in two folders
html/includes/languages/english/header.php and
html/includes/languages/english/meta_tags.php
I change this text in both folders, but draw the old text.
Certainly this is an ingenious code, but could somebody explain in which folders to make changes the text?



Reply With Quote


