Welcome, Guest
Username: Password: Remember me

TOPIC: How remove menu title from each adverts title

How remove menu title from each adverts title 2 months 2 weeks ago #7847

  • zumlavn
  • zumlavn's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hello Admin.
I am a old customer. please help I Remove title menu on title each adverts for SEO better. please view Images. I setup menu TRUE but title hidden menu stll display togetther title adverts.
Thanks!
https://drive.google.com/open?id=1ABVqvbabcUCisabpumV5GY7JCdsWeGTp
https://drive.google.com/open?id=1bd_8JS__vil47yiqRZU-M5lF4GX_d7KN
https://drive.google.com/open?id=1Rf2WqPN-1l9zzatRBqjFh2FXK36b3py5
Last Edit: 2 months 1 week ago by zumlavn.
The administrator has disabled public write access.

How remove menu title from each adverts title 2 months 1 week ago #7849

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2971
  • Thank you received: 344
  • Karma: 46
Hi,

Open the below file:

Root->component->com_jomclassifieds->views->advert->tmpl->view.html.php

Search the below code and Remove it:
$doc->setTitle($doc->getTitle() . ' - ' . $title);

Add the below code instead of the removed code:
$doc->setTitle($title);

Finally, save the file and check.

Thanks
The administrator has disabled public write access.
Time to create page: 0.209 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies