Welcome, Guest
Username: Password: Remember me

TOPIC: Page Title Not Displaying

Page Title Not Displaying 2 years 9 months ago #1822

  • Biking Zone
  • Biking Zone's Avatar
  • Offline
  • Junior Boarder
  • Posts: 22
  • Thank you received: 2
  • Karma: 0
Page title for the JomClassifieds Adverts List is not displaying on Joomla 3.x, so I made the following change:
File: /components/com_jomclassifieds/views/adverts/view.html.php line50
		// $doc->setTitle($doc->getTitle());
		$this->assignRef('title', $doc->getTitle());
The administrator has disabled public write access.

Page Title Not Displaying 2 years 9 months ago #1827

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2759
  • Thank you received: 292
  • Karma: 40
Hi,

We checked in our site and it seems that the below code works fine and the page title is displayed.
$doc->setTitle($doc->getTitle());

We don't know why you facing issue in that. Kindly send your site details to This email address is being protected from spambots. You need JavaScript enabled to view it. . So that we can check and update you.

Thanks.
The administrator has disabled public write access.

Page Title Not Displaying 2 years 9 months ago #1832

  • Biking Zone
  • Biking Zone's Avatar
  • Offline
  • Junior Boarder
  • Posts: 22
  • Thank you received: 2
  • Karma: 0
Maybe it's my template (JoomlArt - Purity III). Or maybe I am not setting the document title in the right place. I am expecting it to get the title from the Menu Title.
The reason I used it is because your Search View (/components/com_jomclassifieds/views/search/view.html.php) uses this method of setting the title, and that works.
Also, it seems redundant because you are setting the document title by getting it from the document, so it is already set!
The administrator has disabled public write access.
Time to create page: 0.196 seconds