Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: Page title

Page title 11 years 3 months ago #1958

In Global config. I have set "Include Site Name in Page Titles" to Before.

But in the VM pages it doesn't include the site name, only category or product title.

How do I include the site name?
The topic has been locked.

Page title 11 years 3 months ago #1967

After having searched in the VM forum, I found this, and it worked for me:

For VM 2.0.14:

FOR CATEGORY:
\components\com_virtuemart\views\category\view.html.php (LINE 188)

REPLACE:
$document->setTitle( $title );
WITH:
$document->setTitle(JFactory::getApplication()->getCfg('sitename').' -> '.$title);

FOR PRODUCTS:
\components\com_virtuemart\views\productdetails\view.html.php (LINE 213)

REPLACE:
$document->setTitle( strip_tags(($category->category_name?($category->category_name.' - '):'').$product->product_name));
WITH:
$document->setTitle(JFactory::getApplication()->getCfg('sitename').' -> '.strip_tags(($category->category_name ? ($category->category_name . ' -> '): '') . $product->product_name));
Last Edit: 11 years 3 months ago by Christin Larsen.
The topic has been locked.

Page title 11 years 3 months ago #1994

Hi,

This is not a discussion forum, but instead; this is our support inquiry area.
We are providing support for our VM Template to our clients who have purchased a VM Template from us.

Use forum.virtuemart.net
for general Virtuemart inquiries

Regards.
Forum Support.
The topic has been locked.
Time to create page: 0.160 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo