I have received a SEO report of my site and it says I should worry about the Manufacturer page's titles. Manufacturer Sef Alias I can of course play with, but what about the Page Title?
Is there any way? Is it in some way depending on the menu item?
I am rather ignorant regarding advanced coding... Simpler thing I might manage...
Cheers
/Betterlead
My site: http://livingstudio.se
I should perhaps add, I use VMuikit extension and the middle step to the manufacturer details page is skipped. Or one could say, merged, with the product list of the manufacturer. Also, the possibility of adding meta description here, would be good.
Btw, would it be an option to construct the manufacturer pages incl their products as product categories?
Hi,
VM already use in manufacturer page
$document->setTitle(vmText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS').' '.strip_tags($manufacturer->mf_name));
So what is your page having this problem ?
A title of a Manufacturer Page could, for better SEO, contain more information than just the Brand name. A short description in it.
And as I wrote, it would also help if one could fit in a Meta Description too.
Hi,
yes true.
You can not set a manufacturer title nor a manufacturer meta description to a manufacturer.
I am also looking for a solution for that. At the moment the manufacturer title is 'Home- "Brand" ' so basically not saying anything.
And no possibility to set a meta description at all.
Hope someone knows a solution for this...
Regards
Kratzi
VM 3.4.8 J 3.0.12
You can use this code
$document->setTitle(strip_tags($manufacturer->mf_name));
Or any other field in your template overides
Thank you Studio42. Could you please assist me a little more.
What would be the proper code to implement f.e. manufacturer url as title and manufacturer description as meta description.
Thank you
kratzi
$document->setTitle(strip_tags($manufacturer->mf_url)); for url
$document->setDescription(strip_tags($manufacturer->mf_desc)); for description
$manufacturer->mf_mail for meta description is perhaps a beter choice ? I never use mf emails and now validation fitler are applied for this, so it work good for meta description(but is a limited in size).
And yes, i think some fields are missing in manufacturer, this can be quick done, but need that team want add the missing field.
Hi unfortunately I still have no luck with this.
I have updated the code in components/com_virtuemart/views/manufacturer/view.html.php
Is this file correct for this purpose. When I override line 59 and 76 with $document->setTitle(strip_tags($manufacturer->mf_url));
VM will still not show the URL field as title.
Thank you
kratzi
Check if you have an override in your template.
Is components/com_virtuemart/views/manufacturer/view.html.php the correct file to do the changes in.
How could I possibly have an override of this file?
DO NOT MODIFY IT
Quote from: kratzi on May 14, 2016, 17:52:35 PM
Is components/com_virtuemart/views/manufacturer/view.html.php the correct file to do the changes in.
How could I possibly have an override of this file?
BUt at this in your components/com_virtuemart/views/manufacturer/tmpl/XXX.php file or best overide the file you need to change in your template
Please test the last version http://dev.virtuemart.net/attachments/download/1005/com_virtuemart.3.0.17_extract_first.zip
There is the feature to set a title for manufacturers, maybe that helps you already.
Danke! :)
Quote from: Milbo on May 31, 2016, 10:56:26 AM
Please test the last version http://dev.virtuemart.net/attachments/download/1005/com_virtuemart.3.0.17_extract_first.zip
There is the feature to set a title for manufacturers, maybe that helps you already.
Sorry, still not working. But as I wrote to you before and tested, nope.
Anyway, I now use the splendid extension EFSEO by Viktor @ Kubik-Rubik.
https://joomla-extensions.kubik-rubik.de/efseo-easy-frontend-seo
Cheers
/Dodo
QuoteAnyway, I now use the splendid extension EFSEO by Viktor @ Kubik-Rubik.
Check that such plugin not slowdown to many your website and that it's really needed. you can loose some seconds on using to many (system and content) plugins
Hi,
I didn't think of that, at all. Have to check. Inspect page and "Network" tab?
Thanks
/D
If you are referring to individual manufacturer details page then it already does the same.
You can also see the codes in - components/com_virtuemart/views/manufacturer/view.html.php
At line number 59
$document->setTitle(vmText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS').' '.strip_tags($manufacturer->mf_name));
Hi Jumbo
Thanks
No, I want to give every product Details Page its own specific Page Title. I have noticed, that it's most important to have a good "SEO:ized" site. It really gives good result in Google ranking. Slowly (Well actually faster than I thought) all my products are getting higher ranking after giving them more "personal" page titles. Viktor's EFSEO tool makes that job easier than doing it other was. So far, as I know. But on the other hand, I don't know very much.. ;)
Edit: Sorry. This thread is a bit old and I didn't remember, before checking, what I was asking for initially. Weird. So many balls in the air right now...
I elaborated too much.
Thread is interesting, i had another problem, i needed to order manufacture by name(artist), but name is first name+Last name and i use Last Name+First Name for the list order.
So i used email field for ordering to display the list.
So yes, i agree with you that adding some fields in manufacturer can be useful for some shops(music,video,photo,books...).
I wonder if it makes sense to be able to setup the title by values like {Manufactuer_name}{product_name}. Configurable by the Itemid. I know that some set the titel in the layout themself.
Quote from: Jumbo! on June 01, 2016, 17:14:40 PM
If you are referring to individual manufacturer details page then it already does the same.
You can also see the codes in - components/com_virtuemart/views/manufacturer/view.html.php
At line number 59
$document->setTitle(vmText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS').' '.strip_tags($manufacturer->mf_name));
Btw, payed by membership, the manufacturer metatags
Quote from: Milbo on June 01, 2016, 21:51:58 PM
Quote from: Jumbo! on June 01, 2016, 17:14:40 PM
If you are referring to individual manufacturer details page then it already does the same.
You can also see the codes in - components/com_virtuemart/views/manufacturer/view.html.php
At line number 59
$document->setTitle(vmText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS').' '.strip_tags($manufacturer->mf_name));
Btw, payed by membership, the manufacturer metatags
By me? ;)
Skickat från min LG-H815 via Tapatalk
Ehrm, yes (I know you by your other name). I wondered that you did not kick me again per skype. But I did not understand that you meant it for productdetails. My idea above would work then for any page titles, which use this code mentioned by Jumbo. So you would just enter in the productdetails your title, or hmm a common vm config would be enough, or?
Mea culpa. I was not clear enough... Yeah, mainly I was asking for the possibility to edit the <meta name="description" content=" and <title>
Screenshot explaining.
Quote from: betterlead on June 02, 2016, 23:35:44 PM
Screenshot explaining.
I don't know if you are talking about manufacturer or product details anymore,
That screenshot is not correct, the meta information is working perfectly for products, we use custom page title and meta description per product and they are showing in the code.
I think, he want meta tag for manufacturer too
There is indeed some confusion as to what people are calling a manufacturers page.. I did some work for Kratzi on this and what he was calling a Man page is actually a normal cat page filtered by man id
e.g. index.php?Itemid=101&option=com_virtuemart&limitstart=0&limit=int&virtuemart_manufacturer_id=37&view=category&virtuemart_category_id=0
the html title is pretty dismal on this page -- just the manu. title and no meta desc at all
used this as a work around .. after filling the Nan desc and email etc.. any combination could be used
code in the html\com_virtuemart\category\default.php
$jinput = JFactory::getApplication()->input;
$virtuemart_manufacturer_id = $jinput->get('virtuemart_manufacturer_id');
if($virtuemart_manufacturer_id > 0){
$document = JFactory::getDocument();
$document->setTitle(strip_tags($this->products[0]->mf_name).' : '.strip_tags($this->products[0]->mf_email).' : '.strip_tags($this->products[0]->mf_desc));
$document->setDescription(strip_tags($this->products[0]->mf_email).' : '.strip_tags($this->products[0]->mf_desc));
}