Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,140
- Plugin Contributions:
- 56
manufacturers meta-tags(keywords and title and description)
Oops!:blush: I'll get that change queued. Thanks for the report.
Started by danilovig on 5 Jun 2009, 4:04 PM · Views: 15,212
Administrator
Oops!:blush: I'll get that change queued. Thanks for the report.
Zen Follower
I am still having a problem but it could be something else causing it. Or me !
The "admin" for this add-on works great - Ive filled the meta title, keywords and description within the panel
and the data for this has translated onto the new database table meta_tags_manufacturers_description.
But the source code remains the same ... no extra statements or use of the data.
And Im not sure if normally zen cart would put the manufacturers name between the title tags, but this isnt filled either - it just shows
<title></title>.for example http://www.tidytoys.co.uk/ark-toys-13 then right click "view page source"
Administrator
I've just submitted v2.1.1 to the plugins for review to correct the constant definition.
Administrator
toyseller:
I am still having a problem but it could be something else causing it. Or me !
The "admin" for this add-on works great - Ive filled the meta title, keywords and description within the panel
and the data for this has translated onto the new database table meta_tags_manufacturers_description.But the source code remains the same ... no extra statements or use of the data.
And Im not sure if normally zen cart would put the manufacturers name between the title tags, but this isnt filled either - it just shows
<title></title>.for example http://www.tidytoys.co.uk/ark-toys-13 then right click "view page source"
Does the issue remain if you temporarily change to the default "Classic Green" template?
Zen Follower
Yes, changing the template over does give the same source code.
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="The Zen Cart® Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart®, http://www.zen-cart.com eCommerce" />
Zen Follower
My original issue started because my Google Webmasters has issue with the manufacturers pages not having any value contained between the <title></title> tags.
I thought that zen cart would work by putting the manufacturer name between the title tags - but Im guessing it would work that way ... but maybe there is a fault in my code.
The urls names for my manufacturers are coming out as https://www.xxxx.co.uk/index/manufacturers_id/2/ and I dont know if this is zen cart standard naming convention. ie. why /index/ ?
Mixed in with this ... I keep thinking to myself "why doesnt the admin for manufacturers" work exactly the same way as for categories and products, why isnt this built into zen cart as standard to add title,keywords,description and the 3 meta data fields to manufacturer pages.
Then I saw your add-on ... and thought that at least I could add the meta data. And maybe fill the <title></title> by copying what you do for filling the meta title.
Now I dont know what is going on. Is it me, simple seo urls, the template or the add-on :-)
Administrator
lat9:
I've just submitted v2.1.1 to the plugins for review to correct the constant definition.
v2.1.1 is now available for download.
Administrator
toyseller:
My original issue started because my Google Webmasters has issue with the manufacturers pages not having any value contained between the <title></title> tags.
I thought that zen cart would work by putting the manufacturer name between the title tags - but Im guessing it would work that way ... but maybe there is a fault in my code.
The urls names for my manufacturers are coming out as https://www.xxxx.co.uk/index/manufacturers_id/2/ and I dont know if this is zen cart standard naming convention. ie. why /index/ ?
Mixed in with this ... I keep thinking to myself "why doesnt the admin for manufacturers" work exactly the same way as for categories and products, why isnt this built into zen cart as standard to add title,keywords,description and the 3 meta data fields to manufacturer pages.
Then I saw your add-on ... and thought that at least I could add the meta data. And maybe fill the <title></title> by copying what you do for filling the meta title.
Now I dont know what is going on. Is it me, simple seo urls, the template or the add-on :-)
Since you get the same behavior (empty <title></title>) with the classic template, what happens if you temporarily disable the "Simple SEO URLs" functionality?
Zen Follower
Sorry for taking so long to reply.
(I was in the UK and am now in Turkey).
Yes you are right, if I disable Simple SEO URLs then the meta tags information appears.
Apart from turning Simple SEO URLs off, I assume that there is no way round this.
Administrator
toyseller:
Sorry for taking so long to reply.
(I was in the UK and am now in Turkey).
Yes you are right, if I disable Simple SEO URLs then the meta tags information appears.
Apart from turning Simple SEO URLs off, I assume that there is no way round this.
The only other thing you could do is to determine what Simple SEO URLs is doing to the title tag (possibly some configuration switch that controls your html_header.php file's operation?) and change the behavior there.
New Zenner
Just a query about the readme file instructions.
Number 8 shows the following instruction for copying the file:
/includes/languages/english/extra_definitions/meta_tags_manufacturers.php
yet the files supplied are:
includes/extra_datafiles/meta_tags_manufacturers.php
Could you tell me which is correct?
Thanks.
Edit: Also noticed that after the admin files were added and I logged into the admin, no extra database tables have been generated.
Administrator
faze3:
Just a query about the readme file instructions.
Number 8 shows the following instruction for copying the file:
/includes/languages/english/extra_definitions/meta_tags_manufacturers.php
yet the files supplied are:
includes/extra_datafiles/meta_tags_manufacturers.phpCould you tell me which is correct?
Thanks.Edit: Also noticed that after the admin files were added and I logged into the admin, no extra database tables have been generated.
Thank you for actually reading the readme! My apologies for the incorrect instructions; step 8 should show the copying of the file in /includes/extra_datafiles (I'll get that readme updated).
Make sure that you've uploaded the file /YOUR_ADMIN/includes/functions/extra_functions/functions_metatag_manufacturers.php; that's where the database table is added if it doesn't already exist.
New Zenner
So, just to confirm:
I should be logged out of the site admin to start.
Copy the 5 admin files (well 4 for me as there is no Spanish on mine - Russian instead!)
Login to admin which should create the database entry
Add 2 store-side files
I'm pretty sure that's exactly what I did but I'll give it another go.
Using ZC 1.5.4 with the M-o-z-e-n theme (not sure if that makes any difference). I noticed from an earlier post that someone was having problems with SEO urls. I have Ceon Uri-mapping running if that's likel;y to affect anything.
New Zenner
OK, tried again. All files copied across but I'm not getting the extra details added to the database. There are no errors showing on the site and there is no change to the look of the manufacturers page in admin.
Administrator
No debug-logs in your /logs folder? The symptoms that you're describing make no sense to me.
New Zenner
No, there's nothing in the /logs folder. Even if the data base entry is not created, should I still be seeing a difference on the admin manufacturers page? Everything looks exactly as it did before I copied the files over.
Administrator
On the manufacturers page, there should now be 4 icons next to each manufacturer in the list; the next-to-last is the manufacturers meta-tag entry button. If the database table hasn't been created, though, I'd expect that Catalog->Manufacturers would result in a whitescreen.
New Zenner
I will never understand computers! Just turned everything back on and everything is working perfectly ! Thank you for attempting to help me.
Administrator
v2.1.2 is now available from the plugins: https://www.zen-cart.com/downloads.php?do=file&id=932
That version has been updated for Zen Cart v1.5.5.
Totally Zenned
I'm getting an error :
Unknown character set: 'DB_CHARSET' :: CREATE TABLE IF NOT EXISTS meta_tags_manufacturers_description (
manufacturers_id int(11) NOT NULL,
language_id int(11) NOT NULL default '1',
metatags_title varchar(255) NOT NULL default ''......
This is an upgraded cart that is running 1.5.4. So the DB_CHARSET change has not been made. Thought you might like to know this will be a problem for some sites.
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Tell staff why this post should be reviewed.