Guest Posted March 24, 2003 Share Posted March 24, 2003 it is show oscommerce on ever page thanks Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 It's explained here: http://wiki.oscommerce.com/helpHowtoTextGeneral 8) Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 http://guide.oscdox.com/ Use the index and type in title---> In /catalog/includes/languages/english.php Find this line and change 'osCommerce' text to whatever you want. // page title define('TITLE', 'osCommerce'); it is show oscommerce on ever page thanks Link to comment Share on other sites More sharing options...
heyday Posted March 25, 2003 Share Posted March 25, 2003 but what if you want the page title to change to the product that you are viewing. This is how my old cart worked on a different system and many search engines would list my pages this way and brought me a lot of business. Any way to do this? heyday www.auctionpals.com www.phonebillsaver.com -- http://www.auctionpals.com Long Distance as low as 2.9 cents http://www.phonecow.com Link to comment Share on other sites More sharing options...
Ajeh Posted March 25, 2003 Share Posted March 25, 2003 You might peek at the Header Tag controller and the Admin for it in the contributions. Also, you can try searching for other threads that give various examples of other methods that have been tried. Header Tags Controller sets the META TAGS for each page so that they look nice to the customer and the spiders like the pages better. Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2003 Share Posted March 25, 2003 I have the Header tag controller installed Linda, but was wondering how you set the title and tags for the pages that don't have products on them ?? Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 In the language files are the definitions you want to use. It builds the Meta tags from these definitions based on what page you are on. You can get general or specific on how the pages are built. There are specific definitions if you want them to appear on all pages, or pages without a product. The definitions with the word _ALL is for all pages. The definitions with the word _DEFAULT is the default.php You can make more for pages I may not have included. Just add them to the case statement of the function file so it knows what you want to have on the page. I made several samples so you can see how they work. Link to comment Share on other sites More sharing options...
Orphon Posted March 26, 2003 Share Posted March 26, 2003 I have changed this text to my store name is english.php but instead it is giving me the web address in the title bar.... I am using loaded.... do I need to do anything else since it has themas? Angela Link to comment Share on other sites More sharing options...
Guest Posted March 26, 2003 Share Posted March 26, 2003 Thanks for the reply Linda. However I'm still unsure how I go about setting the tags and title on the pages that have no products. Where do I set the title for default.php ?? or cotact.php etc ?? Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 If you look at the file: /includes/header_tags.php This loads for each page and adds the META tags based on one of the case statements. I have several of the pages in their own case statements to show examples of how the META tags from the descriptions can be built. The definitions are in the: /includes/languages/english/header_tags.php and each language directory should have a copy. Each group of definitions is for a specific page, with the exception of the _ALL tags. These are the generic tags to use or add to the more specific tags for a page. Within each set of definitions are 3 definitions which indicate turn them on or off ... 1 or 0 The, there are 3 definitions for what to use for that page's set of definitions. These are used in addition to what is defined in the /includes/header_tags.php case statements. I layout several pages with various example types on how to gather together the keywords, description and title. If you go through these pages, you should see where it is getting the information it is using. On pages like product_info.php it pulls additional information from the table if it is not left blank. You can configure this to use just the information you defined for the product or use that plus the _ALL definitions from the language file. If you want to modify what is in the tags further, you can edit the case statements or add additional statements. Link to comment Share on other sites More sharing options...
mcgyver7923 Posted March 26, 2003 Share Posted March 26, 2003 I also have changed the title in english.php and still the actual URL is showing as the title on all of my pages. How can this be fixed? Thanks!! -Richard -Richard --------------------------------------------------- Where would I be without the Forums?!?! Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 If you are using the Header Tags Controller then the TITLE is no longer used. Do you have a URL we can peek at? Link to comment Share on other sites More sharing options...
mcgyver7923 Posted March 26, 2003 Share Posted March 26, 2003 www.gobeyondwireless.com/catalog/ I'm not sure if I am using the Header Tags Controller or not...My OSC snapshot was installed on my server for me. Thank you!!! -Richard -Richard --------------------------------------------------- Where would I be without the Forums?!?! Link to comment Share on other sites More sharing options...
Ajeh Posted March 26, 2003 Share Posted March 26, 2003 Looks like you are and that you have nothing defined in the language file for header_tags.php So ... nothing shows. Link to comment Share on other sites More sharing options...
Orphon Posted March 27, 2003 Share Posted March 27, 2003 Looks like this is my problem too..... what needs to be changed where to make the path stop showing in my title bar? Angela Link to comment Share on other sites More sharing options...
Ajeh Posted March 27, 2003 Share Posted March 27, 2003 USE OF HEADER TAGS GENERATOR How you want each page to handle the Header Tags is defined in /includes/header_tags.php What definitions you want used with each page is defined in /includes/languages/english/header_tags.php You can modify which pages use what by looking at the samples setup in these two files. Be careful if editing or changing /catalog/includes/header_tags.php and watch for == vs != NOTE: HTTA - means Header Tag Title All HTKA - means Header Tag Keywords All HTDA - means Header Tag Description All Try looking in those two files and setting the values for the pages there. Make sure you have changed all the pages as defined in the README.TXT if you installed the Header Tags Controller yourself. Make sure that there is something in the new fields to put into the product_info.php META TAGS A quick update for the titles can be set in phpMyAdmin with: UPDATE products_description set PRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME If you see on a View Source: <!-- BOF: Generated Meta Tags --> Then the Header Tags Controller is working fine ... but you have not configured it correctly or have not filled in the new fields with anything so nothing is appearing in the tags. Link to comment Share on other sites More sharing options...
Guest Posted March 27, 2003 Share Posted March 27, 2003 thump thump thump :shock: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.