Keyword

Get real page title in tag.php

  • Jan Zitniak
  • Jan Zitniak's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 7 months ago - 12 years 7 months ago #62331 by Jan Zitniak
Get real page title in tag.php was created by Jan Zitniak
Hello.

If I use
$this->params->get('page_title')
or
      $doc = JFactory::getDocument();
      $title = $doc->getTitle();
in components\com_k2\templates\default\tag.php

I get different page title than I use
$document->getTitle();
in the libraries\joomla\document\html\renderer\head.php

I need title from head.php and use in tag.php
Could you help me please?

Regards
Jan

Version: Joomla 1.7.3, K2 2.5.4, Artio JoomSEF 4

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum