Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • euge001 Friend
    #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 Friend
    #554341

    Hi,

    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

    euge001 Friend
    #554650

    try 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 Friend
    #554658

    Hi there,
    Have you checked custom page title in Menu item ?

    http://docs.joomla.org/Help33:Menus_Menu_Item_Display_Site_Configuration

    Thank you,
    Viet Vu

    euge001 Friend
    #554728

    hi

    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 Friend
    #554742

    Hi 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 Vu

    euge001 Friend
    #554747

    dear 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


    1. Untitled-1
    jooservices Friend
    #554749

    Hi there,
    Please check this

    https://www.dropbox.com/s/5xs0dcuuz9iv7py/2014-11-10_18-46-10.png?dl=0

    Thank you,
    Viet Vu

    euge001 Friend
    #554750

    you 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 Friend
    #554751

    HI 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 Vu

    euge001 Friend
    #554752

    thank you for your patience, I got it finally.

    it was a good idea to switch off SEF.

    Have a nice day there!

    jooservices Friend
    #554753

    Hi 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 itemlist

    As 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 Vu

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 3 voices, and was last updated by  jooservices 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum