Wallpaper Script Forum » How-To and Troubleshooting

How to change the category name to the meta_title in categoriesblock

(3 posts)
  1. Coder
    Member

    I want to change the name of the category to the meta title of that category, it good for SEO if i changed the default meta title to something else rather than the category name

    So, I have seen the code of the categoriesblock.tpl,and I changed

    {$flattenCategories[item].item.name}

    to

    {$flattenCategories[item].item.meta_title}

    and does't work

    any suggestion :)

    any help and advice will be greatly appreciated,,

    thanks

    Posted 11 months ago #
  2. masti
    Member

    the fact is... this script automatically takes meta title for categories as meta title... just edit categories here

    domain/admin_categories.html

    and SAVE.

    :)

    Posted 11 months ago #
  3. Coder
    Member

    thanks masti,

    that's what i did,

    but i want to show the meta title of eatch category insted of the name in the categories block module,

    so in categoriesblock.tpl, {$flattenCategories[item].item.name}
    is the variable that will show the name, how can i change it to show tha meta_title

    thanks again masti

    Attachments

    1. Cat.JPG (6.5 KB, 3 downloads) 11 months old
    Posted 11 months ago #

RSS feed for this topic

Reply

You must log in to post.