Keyword

K2 and Page Title for 'Displaying Items by Tag:' Navigation

  • Andrew Holden
  • Andrew Holden's Avatar Topic Author
  • Offline
  • New Member
More
14 years 6 months ago #80983 by Andrew Holden
Preface:  K2 has a functionality to display items by tag.  When a site visitor selects a tag a new page loads with 'displaying items by tag: tagname' as the page title.However, this new page does not display the line 'displaying items by tag: taganem' in content, unless the previous (primary) page has the Joomla! menu item parameter set with page title to 'on'.Thus, it is possible to arrive at a page where the user / visitor has no information in content about what they are looking at (other than the breadcrumbs and browser page title).Is there a Fix?There should be a way to print out the K2-tag page title without the Joomla! page title being set to 'on' in the corresponding menu item's parameters.Anyone have any thoughts on how to do this?Thanks,HC

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

More
13 years 11 months ago #80984 by Alex Papakyriacou
Replied by Alex Papakyriacou on topic K2 and Page Title for 'Displaying Items by Tag:' Navigation
The only fix I've found for this (which is not especially correct given that it is by-passing the administrator options) is to edit the file generic.php (found in: components --> com_k2 --> templates) at around line 17. I've entered a heading element with this php fragment within it:

<?php echo $this->escape($this->params->get('page_title')); ?>

Hope this helps, and I hope maybe this bump gives this issue some attention.

Regards,

Alex

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

  • Andrew Holden
  • Andrew Holden's Avatar Topic Author
  • Offline
  • New Member
More
13 years 11 months ago #80985 by Andrew Holden
Alex, thanks - that's quite helpful.

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

More
13 years 8 months ago #80986 by John mcelborough
hi guys,

 

Does anyone know of a way to remove/ edit the "displaying item by tag:" part of the tag page titles?

 

Thanks

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

More
13 years 8 months ago #80987 by Olivier Karfis
Hi.

 

It's in the en-GB.com_k2.ini language file.

 

--OlivierJohn mcelborough said:

hi guys,

 

Does anyone know of a way to remove/ edit the "displaying item by tag:" part of the tag page titles?

 

Thanks

Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com

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

More
13 years 8 months ago #80988 by John mcelborough
Thanks very much mate, exactly what I needed:-)

Olivier Karfis said:
Hi.

 

It's in the en-GB.com_k2.ini language file.

 

--OlivierJohn mcelborough said:

hi guys,

 

Does anyone know of a way to remove/ edit the "displaying item by tag:" part of the tag page titles?

 

Thanks

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

More
13 years 1 month ago #80989 by Shreyas Khatri
Hey Olivier,

Thanks :)

Olivier Karfis said:

Hi.

 

It's in the en-GB.com_k2.ini language file.

 

--OlivierJohn mcelborough said:

hi guys,

 

Does anyone know of a way to remove/ edit the "displaying item by tag:" part of the tag page titles?

 

Thanks

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


Powered by Kunena Forum