Any luck changing Page titles throughout the catalog?

Posts: 132
Joined: 01/25/2008
Bug FinderBrain Stormer

I am still going at the problem of trying to assign a different page title to a category other than the actual term name for SEO reasons.

I thought i was getting somewhere with the Taxonomy Enhancer module on d.o adding a field called catalogtitle to the vocab and adding the following in a page[catalog-tpl.php file:

<title><?php $t = taxonomy_get_term(arg(2)); taxonomy_enhancer_extend_term($t); echo $t->catalogtitle;?></title>

That doesn't seem to work like i thought it would.

If anyone has been successful in altering a page title for the catalog pages I would love to hear about it.

Thanks

Posts: 61
Joined: 03/19/2008

Doesn't the PageTitle module do this? Or, does it not work for taxonomy term page titles?

Posts: 132
Joined: 01/25/2008
Bug FinderBrain Stormer

Correct that is the problem, the page title module doesnt work for taxonomy terms.

Posts: 11
Joined: 09/04/2008

I dont know if this is a match for you but i needed something a little simular.. possibly the module Automatic Nodetitles 5.x-1.1 might help you. with what your doing

Da-Icon

Posts: 132
Joined: 01/25/2008
Bug FinderBrain Stormer

Thanks for the info, that module only affects nodes, i am trying to deal with taxonomy pages, the search continues, I posted a question on the actual Taxonomy Enhancer module page about how to output the text from the custom field hopefully the module creator has some help.

The reason I am asking here is it seems like other uber's would be concerned about SEO of Catalog category pages as well. I am looking to keep the catalog vocab short for page cleanliness (desk chairs, rocking chairs, computer chairs) but need longer page titles for SEO and clickthru rates.

It should be similar to how ubercart inserts a photo field into the taxonomy catalog for inserting catalog photos and then outputs them on the catalog pages. I will go dig in to the Uber awesome code and see how they add the image field to the catalog taxonomy and how they output that on the catalog pages.

Posts: 132
Joined: 01/25/2008
Bug FinderBrain Stormer

oops double post

Posts: 61
Joined: 03/19/2008

thill wrote:
Correct that is the problem, the page title module doesnt work for taxonomy terms.

I see an alpha version of the module that has token integration that can possibly be the solution to your problem. Check out the recent write up on the project page.