Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Changing Meta Tag Defaults.

    When I look at my items I noticed my Meta tags are a mess. Here is that they look like:

    <meta name="keywords" content="Dance Fever Top Gold Adult Halloween Costume - [G85073] Gift Certificates Renaissance / Medieval Valentines Day Mascot Costumes Spring Has Sprung Passover Summer Celebrations Mothers Day Fathers Day 4th of July Graduation Day Judaica Thanksgiving Fall Foliage ----------------------------- Wedding Winter Fun Chanukah Christmas Easter Grandparents Day Accessories New Born Buntings Children Costumes MENS COSTUMES UNISEX COSTUMES Very Funny Costumes PLUS SIZE COSTUMES WOMANS COSTUMES *** NEXT UP: ----- HALLOWEEN!!!! -------------------------------- Gory Toddler Costumes Tween & Teen Costumes Temp Costume, Halloween Costume, Mens Halloween Costume, Womans Halloween Costume, Buntings Costume, Christmas Tree, Santa Suit, Premium Costume, Childrens Costume, Kids Costumes, Chistmas Tree, Artifical Christmas Tree, Nativity Costumes" />

    So what I gather is this is what it is pulling from In Order: Item Name, Catagories, My Keywords defined in english/meta_tags.php

    Is there a way to turn off the catagories portion. Or reverse the order to Title,Meta Tags then Catagories. That migght be better... Also, Shouldt the tile have Comas seperating them to make it more efficent? I dont know if I should even look for a way to do that. If I leave it this way, I dont think my Custom keywords would never get seen.

    Probably an easy fix i am sure...
    Last edited by milobloom; 29 Aug 2006 at 04:46 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Changing Meta Tag Defaults.

    If you wish to change the default behaviour feel free to hack away at the /includes/modules/YOURTEMPLATE/metatags.php file. Just remember you'll have to redo it over again after an upgrade.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Changing Meta Tag Defaults.

    Any idea how to re-arrange how they are displayed?
    Just want my Custom keywords to go 2nd.

    Also, If I put this file in my custom directory, wont it still be there if I do an upgrade?

 

 

Similar Threads

  1. Changing Title tag/meta of home page - no includes/languages folder
    By Gaberino in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Aug 2011, 11:25 AM
  2. Main store Meta Tag overwriting Individual Item meta tag
    By DPerezjr in forum Basic Configuration
    Replies: 0
    Last Post: 20 Feb 2010, 11:12 PM
  3. Changing meta tag default selection in Admin
    By chufty bill in forum General Questions
    Replies: 2
    Last Post: 29 Oct 2006, 10:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg