Wednesday, June 30, 2010

Virtuemart titles:change the category settings in SH404SEF

The SH404Sef plugin for sef urls in viretumart appends every category in the title. It does this even when you change the "Insert Categories" parameter in the sh404sef admin config.

(before modification titles look like this)
example title: Product Name | Category Name | Category Name | Category Name | Site Name

(after change)
example title: Product Name | Category Name

Download the Fix

The 2 changes made to the plugin.

  • Used the "Insert Categories" param to show all the categories or just the last one
  • Removed the Site name from the title

unzip and copy the com_virtuemart.php to
components\com_sh404sef\meta_ext\

note:
changed lines: 162 - 179
added lines: 340-343

Download the Fix


Stumble Upon CodePyro

0 comments:

Post a Comment