Post by hellogoodbye » Tue Aug 30, 2011 7:10 am

Is it possible to add longer title to categories page title than for menu?

Hello,

The top menu has limited space so it is better to keep the name short to fit more. But I also want a longer title for the category pages. So, I was wondering how possible it is to add or append extra text to the category name? Thanks!

New member

Posts

Joined
Wed May 04, 2011 6:33 am

Post by Johnathan » Tue Aug 30, 2011 9:57 am


Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by hellogoodbye » Tue Aug 30, 2011 10:40 am

thank you for the link john!

New member

Posts

Joined
Wed May 04, 2011 6:33 am

Post by hellogoodbye » Tue Aug 30, 2011 12:03 pm

what about the category page title itself? Is that possible?

New member

Posts

Joined
Wed May 04, 2011 6:33 am

Post by Johnathan » Tue Aug 30, 2011 8:36 pm

Code: Select all

IN:
/catalog/controller/product/category.php

REPLACE:
$this->data['heading_title'] = $category_info['name'];

WITH:
$this->data['heading_title'] = ($category_info['meta_keyword']) ? $category_info['meta_keyword'] : $category_info['name']; 

Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by hellogoodbye » Wed Aug 31, 2011 2:03 am

nvm this post lol

New member

Posts

Joined
Wed May 04, 2011 6:33 am
Who is online

Users browsing this forum: No registered users and 76 guests