Zen Follower
- Join Date:
- Jun 2006
- Posts:
- 168
- Plugin Contributions:
- 0
Post #1 by bangsters
Hi.
How do I add the metatags and title tags to the pages created on EZPages? Also for the main page nd the other pages in the Define pages editor.
Thanks
Started by bangsters on 15 Dec 2006, 6:52 PM · Views: 23,120
Zen Follower
Hi.
How do I add the metatags and title tags to the pages created on EZPages? Also for the main page nd the other pages in the Define pages editor.
Thanks
Zen Follower
bump?? or this can't be done?
Sensei
There is no built-in facility for this at the present time.
.
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.
Zen Follower
hi. thanks for the reply. so is there a workaround for this? even manually putting them? but I don't know where to find the files and the <head></head>. Can someone point me to the correct direction?
thanks
Obaa-san
You don't understand - the pages are created dynamically when someone clicks the link to them. The Page doesn't exist until then, there is no way to "manually" add them.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Zen Follower
ok i got that....so if i were to try to create a mod for this, where do i start? :) noob at zen structure :)
New Zenner
Just thought I'd join in with this one, as I need to be able to add meta tags, etc to EZpages, too. Does anyone have a mod for this? :-)
Zen Follower
I agree - this feature is badly needed. My mind is getting warped trying to figure out where meta tags are coming from and where they can be edited.
I've edited my meta_tags.php file but I'm not getting the results I require. There should be a feature for adding metatags to pages like you can for categories and products.
Zen Follower
If each ezpage has it own id number why couldn't you put a section in the header like this.
If $id=1 {
include ('metatagspage1.php' );
}
and so on. The id numbers are passed in the url and should be passed to the script??
You would have to specify which directory the metagspage1.php was in. Directory structure when it comes to the ezpages may be tricker to figure out.
Does this sound reasonable??
C
New Zenner
I can see where you're going, but doesn't that veer away from the convenience of setting up pages through the Admin section.
Would these metatags pages have to be hard-coded separately?
If that's so, it wouldn't be feasible for Joe Public with no programming knowledge to add, edit and delete content through EZPages without having to change these metatags pages, unless I've got the wrong end of the stick, which knowing me is highly likely!
I've got Admin to add title, description and keywords on adding and editing EZPages. It's just getting the meta-tags file to pull up the correct info when displaying them I can't get my head around.
Zen Follower
webworkshop:
I can see where you're going, but doesn't that veer away from the convenience of setting up pages through the Admin section.
Would these metatags pages have to be hard-coded separately?
If that's so, it wouldn't be feasible for Joe Public with no programming knowledge to add, edit and delete content through EZPages without having to change these metatags pages, unless I've got the wrong end of the stick, which knowing me is highly likely!
I've got Admin to add title, description and keywords on adding and editing EZPages. It's just getting the meta-tags file to pull up the correct info when displaying them I can't get my head around.
If you can identify the database the data is stored in then call in the data to the particular page using if $id=1 etc and write the database calls inside the
{ } area for so if you have six extra pages you would have calls to the database
and specific table and then code similar to this
if ($id==1){
echo '<meta name="keywords" content="';
echo $row[keywords];
echo '">/n/n';
echo '<meta name="description" conent="';
echo $row[description];
echo '">/n/n';
echo '<title>';
echo $row[title]';
echo '</title>';
}
repeat for all other $id=whatever same code
different id is generated for each ezpage so this should not be hard to figure out. I have not checked out the database to see what table this information is in and if it is all in the same table.
}
C
Zen Follower
I see the case sections in the meta file in the modules yourdirectory and wonder how to use case with ezpage and also the id number since all ezpages have unique id numbers. The chapter numbers can be the same by id is unique.
Does anyone know how to relate the ezpage and id number in a case statement.
Zen Follower
Hi
I realy need help in this issue, i post before and no one ever responed to me
the issue i have is that some how my meta tag pick up my catagories list , only after that i see my keyword, i try adding changing or deleting all my keyword, but still it dose pick up my catagories,
i use the catgories meta fuction , and even if i will not used the catagories meta tag , it still show on the meta tag
( I am checking my meta tag with this site http://www.submitexpress.com/analyzer/ )
please responed ,
Thankk You in Advance
web site
www.tiledepot.us/store
you can also email me thru the site
Inactive
Motti,
Try searching all pages in the zencart files for the word categories, and find where there's an Include categorys tag in the php files.
I'm not sure where it is.
John Patrick
A Zen Cart Advocate!
Inactive
cshart,
I love hearing how easy it should be to do something like this, but everytime I try doing something that shouldn't be hard to do I always end up coming in here with a big,
:oops:
However this is something I would really like to have since I write articles about my business.
One thought I had was to simply create a html version of my home page and use the middle for the articles with some boxes being pulled from the db.
But if I can get some metatags dynamicly then that would be good. So I'll take on this little project and see if I can make it a contribution.
I don't think the metatags for easypages exist yet, so I imagine I'll have to create the fields.
John Patrick
A Zen Cart Advocate!
Zen Follower
I also needed meta tags for my content, and found a great solution in creating custom pages. Not so easy as EZPages but very functional.
First download the About Us Page contribution: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=182
and modify it for your particular page.
Then go into /includes/modules/your_template_dir/meta_tags.php and add your customized metatags, as this thread explains:
http://www.zen-cart.com/forum/showthread.php?t=51891
It works great!
New Zenner
Hi again,
Looking through some of the suggestions that have been made here, they are certainly inventive and would do the job to varying extents.
Here comes the "however"...however, they still don't allow for being able to set up a shop then hand it over to the store owner with them being able to create and delete ezPages content with associated tags solely through Admin, with no delving into the php.
Is this something that the fine Zen Cart team could consider for a future release?
New Zenner
Webworkshop, ditto.
Having been online for 8 years selling, I have learnt enough about how to make a website make money to make a good living. The answer is simple:
Most traffic comes from search engines.
To get that you need control of you meta title, description, page content, anchor text and url.
Zen cart does nearly all of this, but the EZpages meta is one area it falls down on badly.
Anyone up for a mod? You could charge for installation too?
Rupert
EshopOne Just being Zenned :)
Mens Suits to follow....
Ladies Suits to follow....
Mods: Version 1.3.7 SEO URLs, Super orders; PFD Order Centre, Securetrading payment gateway;Big Royal Mail; Image handler; Zen Lightbox
Zen Follower
It's a hack, but posts in this thread may help.
http://www.zen-cart.com/forum/showpost.php?p=349960&postcount=13
Select the 'thread' link in the top right of the post to see the whole thread.
New Zenner
Peekay,
Thx :) Very Nice.
does most of the trick, do you think it will work with titles as well?
Rupert
EshopOne Just being Zenned :)
Mens Suits to follow....
Ladies Suits to follow....
Mods: Version 1.3.7 SEO URLs, Super orders; PFD Order Centre, Securetrading payment gateway;Big Royal Mail; Image handler; Zen Lightbox
Tell staff why this post should be reviewed.