test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • qhsgrafik Friend
    #200352

    Hi
    Somehow i didnt found out this 2 things:
    is there a way to show the total Results of the term that i search?
    after a successful search show for example:
    Search results
    Total: 523 results found for your search term.

    and is there maybe a way to show the search-term too (at least for Keyword-search)
    after a successful search show for example:
    Search results
    Total: 523 results found for “my-searchterm”

    Luna Garden Moderator
    #545407

    Hi,

    JA K2 filter’s already supports to show the term searching.

    As we use template of K2 for Result page Layout in JA K2 filter, so in order to show the total result, please go to your K2 template folder. It can be located in:
    <blockquote>componentscom_k2templatesdefault</blockquote>
    if you override K2, it could be in:

    templates/default template folder/html/com_k2/default/
    find for:

    category.php

    Search for:

    <div class="componentheading<?php echo $this->params->get('pageclass_sfx')?>">
    <?php echo $this->escape($this->params->get('page_title')); ?>
    </div>
    <?php endif; ?>

    add code below:

    <div>
    <?php if($this->pagination->total): ?>
    Total: <?php echo $this->pagination->total; ?> results found.
    <?php endif; ?>
    </div>

    qhsgrafik Friend
    #545485

    Thank you.
    Total Results works fine with that. 🙂

    <blockquote>JA K2 filter’s already supports to show the term searching. </blockquote>
    of course, that is correct, somehow i did something wrong by my testings. :-[

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

This topic contains 3 replies, has 2 voices, and was last updated by  qhsgrafik 10 years, 3 months ago.

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