If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / meta tags and title descriptions for EZpages and other pages

meta tags and title descriptions for EZpages and other pages

Started by bangsters on 15 Dec 2006, 6:52 PM · Views: 23,120

Results 1 to 20 of 77
15 Dec 2006, 6:52 PM
#1
bangsters avatar

bangsters

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

16 Dec 2006, 9:34 AM
#2
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

Post #2 by bangsters

bump?? or this can't be done?

16 Dec 2006, 11:41 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

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.

16 Dec 2006, 4:08 PM
#4
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

Post #4 by bangsters

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

16 Dec 2006, 4:27 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,753
Plugin Contributions:
0

Post #5 by Kim

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.

16 Dec 2006, 5:58 PM
#6
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

Post #6 by bangsters

ok i got that....so if i were to try to create a mod for this, where do i start? :) noob at zen structure :)

11 Mar 2007, 4:17 PM
#8
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Post #8 by paul3648

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.

15 Mar 2007, 2:49 PM
#9
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Post #9 by cshart

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

15 Mar 2007, 4:59 PM
#10
webworkshop avatar

webworkshop

New Zenner

Join Date:
Jan 2006
Posts:
29
Plugin Contributions:
0

Post #10 by 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.

15 Mar 2007, 6:26 PM
#11
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Post #11 by cshart

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

15 Mar 2007, 6:57 PM
#12
cshart avatar

cshart

Zen Follower

Join Date:
Mar 2005
Posts:
370
Plugin Contributions:
0

Post #12 by cshart

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.

15 Mar 2007, 10:22 PM
#13
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Post #13 by motti

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

16 Mar 2007, 3:01 AM
#14
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Post #14 by birdoasis

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!

16 Mar 2007, 3:07 AM
#15
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Post #15 by birdoasis

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!

21 Mar 2007, 1:14 AM
#16
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Post #16 by paul3648

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!

22 Mar 2007, 9:48 AM
#17
webworkshop avatar

webworkshop

New Zenner

Join Date:
Jan 2006
Posts:
29
Plugin Contributions:
0

Post #17 by webworkshop

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?

3 Apr 2007, 11:06 AM
#18
rupert avatar

rupert

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Post #18 by rupert

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

3 Apr 2007, 9:54 PM
#20
rupert avatar

rupert

New Zenner

Join Date:
Feb 2007
Posts:
50
Plugin Contributions:
0

Post #20 by rupert

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