Solution to Display # and Results 1-11 of 11

  • Posts: 13
  • Thank you received: 0
13 years 4 months ago #3854

Hi,
I would like to disable showing "Display #" and "Results 1-11 of 11" under the Category Listings. I did find one post that refers to this but was not very helpful. I see that on the your demo site it's not showing.
www.demo.hikashop.com/index.php?option=c...ng&Itemid=59&lang=en
It would be the equivalent of appearing right under "HikaShop Store".

Again, I tried looking at the settings on the demo site but didn't find it.

Any help would be appreciated.
Thank you.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
13 years 4 months ago #3860

Hi,
The pagination will be displayed by default for the categories listing.
On our demo website, since we don't have a lot of elements, we decided to hide it. You can look at the HTML at the top of the listing of categories, there is the pagination but it is hidden with some CSS.
The pagination won't be displayed if you don't have any categories to display or if you're not displaying the categories listing as a menu but as a module since in both cases you don't want to display it.

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

  • Posts: 13
  • Thank you received: 0
13 years 4 months ago #3879

Ok, I got it.
Go to administrator/components/com_hikashop/helpers/pagination.php
Line 174 is -> return $html;
Right before that add $html=""; or, just change it to return "";

That's it.

Last edit: 13 years 4 months ago by panosa73.

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
13 years 4 months ago #3880

That is not a good way of doing it. As I said in my post, you should do it with some CSS: www.hikashop.com/en/support/forum/2-gene...81-uk-only.html#3307

If you do it by editing that PHP file, you will loose your modification when you update.

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

  • Posts: 13
  • Thank you received: 0
13 years 4 months ago #3926

Ok, got it.
This is the actual css that worked for me:

div.limit{ display:none; }
span.hikashop_results_counter{ display:none; }

Thank you.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum