Jump to content

bill110

Members
  • Content count

    1,137
  • Joined

  • Last visited

4 Followers

About bill110

  • Birthday 12/30/1959

Profile Information

  1. thanks for your help

  2. bill110

    META Tags on the Fly

    Yes delete this part at the top <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body> and this at the end </body> </html> Be sure afterwards that the index page loads correctly. If this was a template we may need to do some additional coding
  3. bill110

    META Tags on the Fly

    Possibly in catalog/includes/application_top.php only a guess as that is the only file that is called prior to the head tag wait there is one more catalog/includes/languages/english/index.php try looking in those
  4. bill110

    META Tags on the Fly

    Ok I think I may have found the problem. When I view the source for your page I see this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body> </body> </html><!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <TITLE>QazaMart Ebooks Store</TITLE> <META NAME="Keywords" content="digital ebook. ebook reader, work at home, affiliate, make money online, home based business, download software"> <META NAME="Description" content="work at home sell ebooks and generate a good revenue with english and arabic ebooks and download free ebooks"> Notice the part in bold is extra and duplicated Look at catalog/index.php and delete the part in bold
  5. bill110

    META Tags on the Fly

    It should read exactly like this: // page title define('TITLE', STORE_NAME); Do not replace STORE_NAME with your store name. This way the code uses the admin entry for the store name to fill in the title tag.
  6. bill110

    META Tags on the Fly

    I went to the web site, right clicked and viewed source, I see all three meta tags. your title only shows TITLE Have you named your store in the admin area? Also this line needs to be in catalog/includes/languages/english.php // page title define('TITLE', STORE_NAME); here is from a product page <TITLE>TITLE-E-Books-Keeping Fit-31 Days To Bigger Arms</TITLE> <META NAME="Keywords" content="digital ebook. ebook reader, work at home, affiliate, make money online, home based business, download software, E-Books, Keeping Fit, 31 Days To Bigger Arms"> <META NAME="Description" content="If you want to put Inches on your arms and develop bigger biceps within a month, you must have this! This ebook will give you loads of tips on how to build your arm muscles, including exercise, diet recommendations and much more."> and from your home page <TITLE>TITLE</TITLE> <META NAME="Keywords" content="digital ebook. ebook reader, work at home, affiliate, make money online, home based business, download software"> <META NAME="Description" content="work at home sell ebooks and generate a good revenue with english and arabic ebooks and download free ebooks">
  7. bill110

    META Tags on the Fly

    Update for those using this: V2 now available. Includes category description tags instead of default when category is selected. Previous version still had an SQL error. (had to reinstall my text editor)
  8. I hope not. I have this installed and found that when customer wants to delete product from cart, they have to do it twice to delete it. Went to the example shop ifrom the beginning of this thread and found it also does the same. Any help out there?
  9. bill110

    META Tags on the Fly

    The title comes from the store name and then the code will add the category and product name automatically after it. It also takes your default keywords that you add in the admin and adds the category name and product name to the keyword tag
  10. bill110

    META Tags on the Fly

    If you do a backup then do something that goes wrong just restore from backup and things will be back to the old database. no sql needed. In phpmyadmin select the configuration_group table and then click browse. They should be listed in order, and they do not have to be in sequence. That number is where it falls in the admin side when you click configure. I put 40 on the sql to try and be sure of no duplicate field errors.
  11. bill110

    META Tags on the Fly

    Ok I think this is the problem. There is a colon missing. Here is the sql: INSERT INTO `configuration_group` ( `configuration_group_id` , `configuration_group_title` , `configuration_group_description` , `sort_order` , `visible` ) VALUES ( '40', 'Meta Tags', 'Default Keyword and Description Tags', '40', '1' ); INSERT INTO `configuration` ( `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `date_added` ) VALUES ( '' 'Default Keyword ', 'KEYWORD_TAG', 'Add your Keywords', 'These keywords will display in the meta tag on your main index page and all non-product pages. Seperate words with commas.', '40', '1', now() ); INSERT INTO `configuration` (`configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `date_added` ) VALUES ( '' 'Default Description', 'DESCRIPTION_TAG', 'Add Store description here.', 'This description will display in the meta tag on the main index page and all non product pages.', '40', '2', now() ); If you have already ran the SQL then you will need to delete the first part of the sql so it looks like this: INSERT INTO `configuration` ( `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `date_added` ) VALUES ( '' 'Default Keyword ', 'KEYWORD_TAG', 'Add your Keywords', 'These keywords will display in the meta tag on your main index page and all non-product pages. Seperate words with commas.', '40', '1', now() ); INSERT INTO `configuration` (`configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `date_added` ) VALUES ( '' 'Default Description', 'DESCRIPTION_TAG', 'Add Store description here.', 'This description will display in the meta tag on the main index page and all non product pages.', '40', '2', now() ); I will update the contribution. My local copy had this in it. Not sure what happened with the uploaded copy.
  12. bill110

    META Tags on the Fly

    That, I am not sure what is happening. I deleted and re-installed and still get the edit button.
  13. bill110

    META Tags on the Fly

    Be sure in your configuration table in the database you do not already have a group id of 40. If you do change the sql query refrences to something higher than your last group id.
  14. bill110

    Header Tags for novices

    OK I'm sure this code can be cleaned up some but if you need default keywords and descriptions on non product pages use this code where you replaced the <title> tags in the head. (can be used on any page) Original code <title><?php echo (strlen($categories['categories_name']) > 1) || (strlen($manufacturers['manufacturers_name']) > 1) ? $breadcrumb_tags->trail_tags(' ') . ' - ' . TITLE : TITLE; ?></title> <meta name="description" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(' ')); ?>"> <meta name="keywords" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(', ')); ?>"> replace with <title><?php echo (strlen($categories['categories_name']) > 1) || (strlen($manufacturers['manufacturers_name']) > 1) ? $breadcrumb_tags->trail_tags(' ') . ' - ' . TITLE : TITLE; ?></title> <?php if (isset($HTTP_GET_VARS['products_id'])) { ?> <meta name="description" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(' ')); ?>"> <?php } else { ?><meta name="description" content="<?php echo $Description;?>"><?php } ?> <?php if (isset($HTTP_GET_VARS['products_id'])) { ?> <meta name="keywords" content="<?php echo strip_tags($breadcrumb_tags->trail_tags(', ')); ?>"> <?php } else { ?><meta name="keywords" content="<?php echo $Keywords;?>"><?php } ?> then in application_top.php add this before the final ?> $Keywords="Default Keywords go here..."; $Description="Default description goes here..."; Hope this helps sombody and I have'nt stepped on any toes!
  15. bill110

    Header Tags for novices

    php 4.3.10 apache 1.3.33 mysql 4.1.9
×