-
AuthorPosts
-
November 5, 2014 at 7:27 pm #202468
Hello!
I got some strange error with any tag page title. Sometimes I see that page title between <class=”componentheading module-title”> contain right title that is the same as a page title in browser.
but very often I see there just words “K2 PAGE”I checked it in my XAMPP server and I have same result in site5.com
What is it?
Eragon H FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
November 6, 2014 at 3:32 am #554341Hi,
Can you provide:
1. Your site URL and temporary admin account by PM
2. Screenshot with description of the issue.
3. The direct URL to the issue.
4. If possible, can you check this bug in our demo site and let me know how can I re-produce that in our demo and your site (You can build a demo by using our DEMO BUILDER)Thank you and best regards
November 9, 2014 at 2:41 pm #554650try to look at the page /k2/itemlist/tag/super%20star or /k2/itemlist/tag/combat or any other tag page and you’ll see just “K2 Page” as a title of each page. But it should be replaced by title “Displaying items by tag: ‘tag'”
So this error is general for this template
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 9, 2014 at 4:48 pm #554658Hi there,
Have you checked custom page title in Menu item ?
http://docs.joomla.org/Help33:Menus_Menu_Item_Display_Site_Configuration
Thank you,
Viet VuNovember 10, 2014 at 9:15 am #554728hi
I’m saying about Tag Page that is reachable by link in a tagline below the article. I have no idea how to use custom page title in Menu item in this particular case.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 10, 2014 at 10:39 am #554742Hi there,
I have checked with quickstart. And we can easy to track back it.
# Tags Page is page heading and configured in menu item
https://www.dropbox.com/s/xmvwxxqfsmk7gox/2014-11-10_17-33-34.png?dl=0
<?php if($this->params->get('show_page_title')): ?>
<!-- Page title -->
<div class="componentheading<?php echo $this->params->get('pageclass_sfx')?> module-title">
<span><?php echo $this->escape($this->params->get('page_title')); ?></span>
</div>
<?php endif; ?>
# Browser Page title is not configured. It’ll follow component
case 'tag' :
// Set layout
$this->setLayout('tag');// Set limit
$limit = $params->get('tagItemCount');// Set title
$title = JText::_('K2_DISPLAYING_ITEMS_BY_TAG').' '.JRequest::getVar('tag');// Set ordering
$ordering = $params->get('tagOrdering');$addHeadFeedLink = $params->get('tagFeedLink', 1);
break;
Thank you,
Viet VuNovember 10, 2014 at 11:42 am #554747dear Viet Vu
try to press any tag which are right below the k2 article, you’ll see page like this:
it’s still totally unclear how can custom page title infuence to hundreds of Tag Pages which are exist out of any menu
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 10, 2014 at 11:47 am #554749Hi there,
Please check this
https://www.dropbox.com/s/5xs0dcuuz9iv7py/2014-11-10_18-46-10.png?dl=0
Thank you,
Viet VuNovember 10, 2014 at 11:51 am #554750you show me the same solution as before. it is all about Menu.
But I don’t use any menu. Only tags. I click on a tag inside article. I need thousands of page titles which are refers to a each separate tag.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 10, 2014 at 12:09 pm #554751HI there,
If you click on tag it will go listitem view page. And if you do not set any specific Page title it’ll follow
case 'tag' :
// Set layout
$this->setLayout('tag');// Set limit
$limit = $params->get('tagItemCount');// Set title
$title = JText::_('K2_DISPLAYING_ITEMS_BY_TAG').' '.JRequest::getVar('tag');// Set ordering
$ordering = $params->get('tagOrdering');$addHeadFeedLink = $params->get('tagFeedLink', 1);
break;
To more clearly. Just turn off SEF link than you can know about url params.Thank you,
Viet VuNovember 10, 2014 at 12:15 pm #554752thank you for your patience, I got it finally.
it was a good idea to switch off SEF.
Have a nice day there!
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 10, 2014 at 12:17 pm #554753Hi there
For more detail
Go to item view, click on tag “action” than we have this link
index.php?option=com_k2&view=itemlist&task=tag&tag=action&Itemid=570
view is itemlistAs you can see here. Itemid is 570. It’s K2 menu
Check this menu
Browser Page Title is empty. It’ll follow component configured
case 'tag' :
// Set layout
$this->setLayout('tag');// Set limit
$limit = $params->get('tagItemCount');// Set title
$title = JText::_('K2_DISPLAYING_ITEMS_BY_TAG').' '.JRequest::getVar('tag');// Set ordering
$ordering = $params->get('tagOrdering');$addHeadFeedLink = $params->get('tagFeedLink', 1);
break;
Page Heading is configured with K2 Page so it’ll display K2 Page
https://www.dropbox.com/s/tlhxkwia54ionnf/2014-11-10_19-16-57.png?dl=0
That’s all.
Thank you,
Viet VuAuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 12 replies, has 3 voices, and was last updated by jooservices 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Tag Page Title Error
Viewing 12 posts - 1 through 12 (of 12 total)