- Posts: 15
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- K2 and Page Title for 'Displaying Items by Tag:' Navigation
K2 and Page Title for 'Displaying Items by Tag:' Navigation
- Andrew Holden
-
Topic Author
- Offline
- New Member
Less
More
15 years 1 month ago #80983
by Andrew Holden
K2 and Page Title for 'Displaying Items by Tag:' Navigation was created 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.
- Alex Papakyriacou
-
- Offline
- New Member
Less
More
- Posts: 2
14 years 6 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
<?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
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 15
14 years 6 months ago #80985
by Andrew Holden
Replied by Andrew Holden on topic K2 and Page Title for 'Displaying Items by Tag:' Navigation
Alex, thanks - that's quite helpful.
Please Log in or Create an account to join the conversation.
- John mcelborough
-
- Offline
- New Member
Less
More
- Posts: 10
14 years 4 months ago #80986
by John mcelborough
Replied by John mcelborough on topic K2 and Page Title for 'Displaying Items by Tag:' Navigation
hi guys,
Does anyone know of a way to remove/ edit the "displaying item by tag:" part of the tag page titles?
Thanks
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.
- Olivier Karfis
-
- Offline
- Elite Member
14 years 4 months ago #80987
by Olivier Karfis
Owner of www.FrenchToday.com - K2 fan and freelancer, runs the Joomla/K2 tip site: www.yanaku.com
Replied by Olivier Karfis on topic K2 and Page Title for 'Displaying Items by Tag:' Navigation
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
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.
- John mcelborough
-
- Offline
- New Member
Less
More
- Posts: 10
14 years 4 months ago #80988
by John mcelborough
Replied by John mcelborough on topic K2 and Page Title for 'Displaying Items by Tag:' Navigation
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
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.
- Shreyas Khatri
-
- Offline
- New Member
Less
More
- Posts: 2
13 years 9 months ago #80989
by Shreyas Khatri
Replied by Shreyas Khatri on topic K2 and Page Title for 'Displaying Items by Tag:' Navigation
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
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.
- Forum
- K2 Community Forum
- English K2 Community
- K2 and Page Title for 'Displaying Items by Tag:' Navigation