How do I insert a page title before the category name. In the global settings I have set ... The title of the web page header: before
I have this code: <title> sitename - Category</ title>
and product <title> sitename - Category - Product</ title>
How do I do?
Now only shows:
for category: <title>category</title>
for product: <title>category : product</title>
I think it's bad, what do you think?
I have solution (hack):
path to file: components/com_virtuemart/views/productdetails/view.html.php
change code - line #193
$document->setTitle( strip_tags(($category->category_name?($category->category_name.' - '):'').$product->product_name));
to
$document->setTitle(JFactory::getApplication()->getCfg('sitename').' - '.strip_tags(($category->category_name?($category->category_name.' - '):'').$product->product_name));
hi, thank you very much, update for vm 2.0.14:
http://forum.virtuemart.net/index.php?topic=108776.msg371876#msg371876