Al Brookbanks Posted November 26, 2003 Share Posted November 26, 2003 Name: title_mod.zip Version: 1.0 Author: franck~ Short Description: Shows the product name in the title bar. Long Description: This MOD shows the product name in the browser's title bar or some choosen keywords when it's not a product page. [Download File] Link to comment Share on other sites More sharing options...
Guest Posted December 14, 2003 Share Posted December 14, 2003 Hey All I started To Monkey With this Mod. I wanted the category name to be displayed in the title bar for what ever catagory they are veiwing then change to the product they click on. Your Keywords are only displayed on the home page So This Is What I Added To This Excellent Mod By franck~ Open Your title.php if you allready download the Mod if not download it, then just copy paste this code over the whole title.php File Add Your Keywords And Up Load *REMEMBER* Always Back Up Your Files Before Changing Them <?php /*************************************************************************** * File Info: title.php * Purpose:  Display the product name in the title bar (Or a choosen keyword when it's not a product page) * Created by Francois Aleta alias Franck~ http://www.francoisaleta.org * Updated:  NOV/24/2003 *************************************************************************** * CubeCart: * Developer: Alistar Brookbanks (Brooky.com) * Copyright: (C)2003 http://www.brooky.com * Copyright: (C)2003 http://www.cubecart.com * This program is not "free" software and restrictions apply! * Further Info: http://www.cubecart.com/license.php * Contact [email protected] if any conditions are not clear. * * Licensees holding valid "CubeCart Licence Number" may edit * the (powered by CubeCart) from browser title and "Powered by CubeCart" * and "(c) Brooky.com" from the web page footer. * * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE. This and all others in the download package can only be * redistributed with written permission from Alistair Brookbanks! * * The "CubeCart License" is available to purchase at * https://secure.cubecart.com/ * For pricing please contact us via e-mail at [email protected] ***************************************************************************/ session_start(); // Check To See If Cat selected if($cat_id > 0) { $catname=stripslashes($catname);/// Remove the slashes so that "Joe\'s radio" becomes "Joe's radio" echo "$catname"; } else {  // make sure a product exists and has been selected if(empty($product))  {  echo "Your Keywords Here";  } else  {  $select_prod = mysql_query( "SELECT * FROM ".$prefix."store_inventory WHERE product='$product'");  $totalrows = mysql_num_rows($select_prod);  if($totalrows==0)   {   echo"Your Keywords Here";   } // display the title if($totalrows!==0)  {  while ($row = mysql_fetch_array($select_prod))   {   $title = $row["title"];   } $title=stripslashes($title);/// Remove the slashes so that "Joe\'s radio" becomes "Joe's radio" echo"$title"; } } } ?> If everyone Preferes This Version Then I Will Inform Brooky To Change The Download To This Let Me Know What You Guys Think You Can Check it Out Here: faerynicethings.com Please Do Not Make Fake Purchases This Is A Live Store wildbill :D Link to comment Share on other sites More sharing options...
Guest Gregori Posted February 2, 2004 Share Posted February 2, 2004 This is a great mod! But I wanted to add more written content to my shop, to be indexed by the spiders, as they seem to disregard meta tags now days. This mod adds a textfield right under the store logo. The text is only 1px high and is almost inviseble but will alway be seen by spiders. It contains the product title (when such exist), followed by whatever text you want the spiders to find. I don´t use meta tags at all, trying to force spiders to grab this text instead. This is what I have done To admin/style.css I added this (adjust color to your shop´s bakground): .infotext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1px; color: #FFFFFF; } In header.inc.php i changed this: <td align='left' height="80" width="100%" background="<?echo"$site_url/";?>images/store_logo_bg.jpg"><a href="<?echo"$site_url/index.php";?>"><img src="<?echo"$site_url/";?>images/store_logo.gif" alt="<?echo"$la_powered_by_cc";?>" border="0"></a></td> to this: <td align='left' class="infotext" height="80" width="100%" background="<?echo"$site_url/";?>images/store_logo_bg.jpg"><a href="<?echo"$site_url/index.php";?>"><img src="<?echo"$site_url/";?>images/store_logo.gif" alt="<?echo"$la_powered_by_cc";?>" border="0"></a><br><?php include("title.php");?> always at the best price at Shop.not. We provide the best in, keyword, another keyword, more keywords and som more keywords.</td> Link to comment Share on other sites More sharing options...
Guest xyncro© Posted June 13, 2004 Share Posted June 13, 2004 ... is it possible to apply this somewere else on the page, lets say emmediatelly under the header.inc.php file or somewhere at top or bottom of the index.php file??? or is it only possible to apply this meta search text in the header.inc.php file??? check this topic i can't apply this in a normal way according the install notes because my header.inc.php file is modified .... ---------------------------------------------------------------------------------------------- www.e-netton.net - mer för pengarna Link to comment Share on other sites More sharing options...
Guest lilithfiend Posted February 7, 2005 Share Posted February 7, 2005 Hey All I started To Monkey With this Mod. I wanted the category name to be displayed in the title bar for what ever catagory they are veiwing then change to the product they click on. Your Keywords are only displayed on the home page So This Is What I Added To This Excellent Mod By franck~ Open Your title.php if you allready download the Mod if not download it, then just copy paste this code over the whole title.php File Add Your Keywords And Up Load *REMEMBER* Always Back Up Your Files Before Changing Them <?php /*************************************************************************** * File Info: title.php * Purpose:  Display the product name in the title bar (Or a choosen keyword when it's not a product page) * Created by Francois Aleta alias Franck~ http://www.francoisaleta.org * Updated:  NOV/24/2003 *************************************************************************** * CubeCart: * Developer: Alistar Brookbanks (Brooky.com) * Copyright: (C)2003 http://www.brooky.com * Copyright: (C)2003 http://www.cubecart.com * This program is not "free" software and restrictions apply! * Further Info: http://www.cubecart.com/license.php * Contact [email protected] if any conditions are not clear. * * Licensees holding valid "CubeCart Licence Number" may edit * the (powered by CubeCart) from browser title and "Powered by CubeCart" * and "(c) Brooky.com" from the web page footer. * * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE. This and all others in the download package can only be * redistributed with written permission from Alistair Brookbanks! * * The "CubeCart License" is available to purchase at * https://secure.cubecart.com/ * For pricing please contact us via e-mail at [email protected] ***************************************************************************/ session_start(); // Check To See If Cat selected if($cat_id > 0) { $catname=stripslashes($catname);/// Remove the slashes so that "Joe\'s radio" becomes "Joe's radio" echo "$catname"; } else {  // make sure a product exists and has been selected if(empty($product))  {  echo "Your Keywords Here";  } else  {  $select_prod = mysql_query( "SELECT * FROM ".$prefix."store_inventory WHERE product='$product'");  $totalrows = mysql_num_rows($select_prod);  if($totalrows==0)   {   echo"Your Keywords Here";   } // display the title if($totalrows!==0)  {  while ($row = mysql_fetch_array($select_prod))   {   $title = $row["title"];   } $title=stripslashes($title);/// Remove the slashes so that "Joe\'s radio" becomes "Joe's radio" echo"$title"; } } } ?> If everyone Preferes This Version Then I Will Inform Brooky To Change The Download To This Let Me Know What You Guys Think You Can Check it Out Here: faerynicethings.com Please Do Not Make Fake Purchases This Is A Live Store wildbill hey wildbill, i used your version but it seems that there is a tiny problem. on the index page, there is the left side box with the categories, right? When I click on any category, the title bar doesn't show the category name. The category name only shows when I click on the category image on the index page. What's the problem?? Could you please help? Thanks in advance! Link to comment Share on other sites More sharing options...
Guest lilithfiend Posted February 14, 2005 Share Posted February 14, 2005 anybody?? ;) Link to comment Share on other sites More sharing options...
Guest Allansamson Posted February 22, 2005 Share Posted February 22, 2005 i used your version but it seems that there is a tiny problem. on the index page, there is the left side box with the categories, right? When I click on any category, the title bar doesn't show the category name. The category name only shows when I click on the category image on the index page. Then it shows the url of the category......and that is just something i do not want. My shop has no address-bar at all, because I think there is no need for my custumors to know the addresses of all my shop-files. a fix? Link to comment Share on other sites More sharing options...
Guest Allansamson Posted February 22, 2005 Share Posted February 22, 2005 And maybe a strange question......... Now this mod changed the title-bar, it also lost the text "powered by CubeCart". Is that allowed? Allan Link to comment Share on other sites More sharing options...
Guest jbdancer Posted February 22, 2005 Share Posted February 22, 2005 No not allowed. Unless you have a CubeCart Copyright Removal License :P Link to comment Share on other sites More sharing options...
Guest resejonte Posted March 2, 2005 Share Posted March 2, 2005 I would really like a fix to this problem as well. When you navigate through the right table you will not get the real title. Google is indexing the "wrong categorie" Would really appriciate a solution to this problem. Link to comment Share on other sites More sharing options...
Guest Posted March 27, 2005 Share Posted March 27, 2005 Where is this mod now? THe link at the top of this thread is not working. Any assistance would be greatly appreciated. Link to comment Share on other sites More sharing options...
Guest twisted Posted March 27, 2005 Share Posted March 27, 2005 Did you try the downloads section? Link to comment Share on other sites More sharing options...
Guest Posted April 7, 2005 Share Posted April 7, 2005 title_mod.zip. The link to this download is broken. Is there another link or does anyone have a copy of the file they can send me. I'm about to eat my own arm in frustration. (will post link to video later) ;) Link to comment Share on other sites More sharing options...
Guest Posted April 7, 2005 Share Posted April 7, 2005 title_mod.zip. The link to this download is broken. Is there another link or does anyone have a copy of the file they can send me. I'm about to eat my own arm in frustration. (will post link to video later) Please make sure you read the whole thread.... Get the Title_Mod here Mobie Link to comment Share on other sites More sharing options...
[email protected] Posted May 25, 2005 Share Posted May 25, 2005 I`ve just installed this mod. You can also add Category name and product number top be displayed in the browser title bar. This mod hopefully helps a lot with google search engine rankings. You can view the threads at http://www.cubecart.com/site/forums/index.php?showtopic=2783 Link to comment Share on other sites More sharing options...
Recommended Posts