I must of screwed up a file while customizing my site. I can not get any meta tags to work. My site shows META_TAG_TITLE for its title and the same goes for description and keywords. Does anybody know how to fix this? Thank you in advance.
I must of screwed up a file while customizing my site. I can not get any meta tags to work. My site shows META_TAG_TITLE for its title and the same goes for description and keywords. Does anybody know how to fix this? Thank you in advance.
Showing a constant usually is the result of a mis edited file and normally the omission of one or both of the single quotes around the valueMy site shows META_TAG_TITLE
Zen-Venom Get Bitten
Chances are you've busted your /includes/modules/YOUR_TEMPLATE_NAME/meta_tags.php or /includes/modules/meta_tags.php.
Put back the original version of that file.
.
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.
I check the files you mentioned and the /includes/modules/meta_tags.php is there and appears to be fine. The /includes/modules/YOUR_TEMPLATE_NAME/meta_tags.php file is not there. Do i drop it straight into that folder?
No. That would be an override folder, and if you're not altering the file, then no override is needed.
Articles on overrides: http://www.zen-cart.com/search.php?d...uery=overrides
Another thing that could cause META_TAG_TITLE to show up instead of the actual title content would be if your template has been busted by hacking things out of it. What's different about your template's html_header.php file vs the original one that comes with Zen Cart ... and why?
.
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.