My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Sorry think I've messed up some thing but if I click on an ezpage I get META_TAG_TITLE in the bar above the address bar in firefox http://www.rvsolarsystems.co.uk/How-Solar-Panels-Work
What ever your doing remember to KISS ( Keep It Simple Stupid )
Hi,
I see from your other posts today that you are playing with your header files... these are also involved in the output of the meta tags... however.. doing a search of files I see that in Zen Cart the title and description meta tags are generated as defines in includes/modules/meta_tags.php:
Which rely onPHP Code:
if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));
For some reason, something on your site is defining the constant META_TAG_TITLE as META_TAG_TITLE.. so the constant isn't being used probably. I'm guessing this could mean that Ceon URI Mapping's installation may be interfering in some way with the setting of $_GET['id'] and that the site is falling back to looking for a META_TAG_TITLE define for EZ-Pages but now your site doesn't have a valid one?PHP Code:
$ezpage_id = (int)$_GET['id'];
I've not much time so hopefully this information is of use.. if you open your includes/modules/STORE-TEMPLATE/meta_tags.php (or includes/modules/meta_tags.php) file and trace what is happening with the above define code, you should be able to find out why the "correct" define value isn't being shown.
Hope that helps!
Sorry I can't help more for now, have to take a break.
Have a good afternoon/evening!
All the best..
Conor
ceon
No probs when ever and I've not touched the header files must be someone with an addy similar to mine, and it would seem I'm not the only one with this issue I googled META_TAG_TITLE there are loads some big firms too.
What ever your doing remember to KISS ( Keep It Simple Stupid )
just checked each file mentioned and the highlighted codes you mentioned are the same, I also installed a backup of my complete site from 02/09/2012 and got the same result. hope this helps
What ever your doing remember to KISS ( Keep It Simple Stupid )
Hi,
Sorry, saw this post in your history and thought you were the person originally asking for help rather than giving it, so thought you were playing with your header.
Unfortunately [for you ;) ], it helps in basically confirming that this issue isn't actually related to Ceon URI Mapping. What you need to do is to trace the value of META_TAG_TITLE on your site.. I wasn't saying to check the code in those files was the same, I was pointing out where some of the code is that generates the value of META_TAG_TITLE.. the value for it isn't being generated correctly for your site for EZ-Pages..
This isn't a feature of Zen Cart I've used before but it looks like you have possibly created some META_TAG_TITLE_EZ_PAGE_XXXX defines that aren't being used as you expected.
I'm afraid this is not the right thread for you, you should start a new one to ask for help with this issue.
Glad I have been able to point you roughly in the right direction though. Good luck getting this sorted! I'd imagine it shouldn't be too hard to trace and fix.
All the best..
Conor
ceon
Hi Mark,
Did you ever find a work around for this? I just implemented CEON on a site I have been using the Algozon template on. I am curious what your outcome was and if you have any pointers. I am having the same issue.
Regards,
Tim
Hi Tim,
Yes, if I remember correctly, I determined that the solution was for the makers of the mobile.php file to "fix" their mistake and have an index.php file load the files the mobile template thingamajig did instead of a file called mobile.php.
So you should contact them and get that sorted, the problem is there, not with Ceon URI Mapping. It's the mobile.php file that is the problem.. it is completely unnecessary. The way things were programmed wasn't "right" as far as I remember, but very easy indeed to change to the "right" way of doing things.
Hope that helps!
All the best...
Conor
ceon
Bookmarks