News:

Looking for documentation? Take a look on our wiki

Main Menu

How control Manufacturer page's titles

Started by betterlead, July 30, 2014, 20:33:04 PM

Previous topic - Next topic

betterlead

I have a hard time solving a problem. All my Manufacturer page's titles have the prefix "Hem" (Which means Home in Swedish). The source code looks like this:

<head>
  <base href="http://www.tingshop.com/manufacturer/j-me" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="title" content="Hem j-me" />
  <meta name="description" content="Vi säljer presenter, heminredning, smarta och roliga prylar som skickas hem till dig." />
  <title>Hem j-me</title>
  <link href="/manufacturer/j-me" rel="canonical" />

Isn't it possible to control the titles of the manufacturer pages? And perhaps also - the meta name="description" content ?

My site: http://www.tingshop.com (obviously)

Cheers
/Betterlead
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

GJC Web Design

the title is controlled from components/com_virtuemart/views/manufacturer/view.html.php line 59

$document->setTitle(JText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS').' '.strip_tags($manufacturer->mf_name));

in eng its COM_VIRTUEMART_MANUFACTURER_DETAILS="Manufacturer Details"

you can set a metadesc by  $document->setDescription('Your metadesc');

but you have to supply the dec somehow
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

betterlead

Thanks

"you can set a metadesc by  $document->setDescription('Your metadesc');

but you have to supply the dec somehow"


Would it be possible to explain that - how to do it, an example - a bit better for an idiot like me? ;)
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

Again,,, I still haven't found any good answer to this. Sure, it can't only be me, having this problem?

Do you have any idea, what controls the manufacturer's <title> ?

I'd like to get rid of the prefix, before the name. I have engaged some people, but so far nobody has found out what, why and how.

Example:

http://www.tingshop.com/alla-vara-varumaerken/manufacturer/j-me

Then "View source" and see the titles. In front of j-me, is "Våra varumärken".

——————————
<base href="http://www.tingshop.com/alla-vara-varumaerken/manufacturer/j-me" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="keywords" content="presenter, heminredning" />
  <meta name="title" content="Våra varumärken j-me" />
  <meta name="description" content="Vi säljer presenter, heminredning, smarta och roliga prylar som skickas hem till dig." />
  <title>Våra varumärken j-me</title>
——————————

I'd like nothing in front of j-me. So, do you have any clue?

This is because i suspect Google doesn't like "Our brands". Or anyway, it's probably not good for the indexing of a site.

Cheers
/Betterlead
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

GJC Web Design

I explained exactly above where the title for manu is formed!
It is now for you to do some research on your particular site...

if that isn't the code you have then you have an old version .. u never bothered to mention version etc in your posts
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

betterlead

Sorry GJC, mea culpa. Didn't mean to be disrespectful in any way. I'll try to do some more "research" on my own.
Is it standard/default in Virtuemart, the so called "Home page" or "Front page" title in the menu, becomes a prefix for the manu? (I don't know if I put that right...)

VirtueMart 2.6.6 - Joomla 2.5.22
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

GJC Web Design

Well - you lost me - intially you asked about manu html titles - now your talking about menus - I really don't know what you want - sorry
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

betterlead

In front of every manu name or title, is 'Hem'. It's the same as 'Home' in English. I don't know how to be clearer. I have attached an image too.

[attachment cleanup by admin]
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

GJC Web Design

then your answer is here:

Quotethe title is controlled from components/com_virtuemart/views/manufacturer/view.html.php line 59

$document->setTitle(JText::_('COM_VIRTUEMART_MANUFACTURER_DETAILS').' '.strip_tags($manufacturer->mf_name));

in eng its COM_VIRTUEMART_MANUFACTURER_DETAILS="Manufacturer Details"

that is what exactly sets the manu html title

dig in your site - echo out what those vars are... check what COM_VIRTUEMART_MANUFACTURER_DETAILS is

if they are all correct then further digging is required - by you or someone else..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation