- Posts: 13
- Thank you received: 0
Solution to Display # and Results 1-11 of 11
15 years 9 months ago #3854
by panosa73
Solution to Display # and Results 1-11 of 11 was created by panosa73
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.
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.
15 years 9 months ago #3860
by nicolas
Replied by nicolas on topic Re: Solution to Display # and Results 1-11 of 11
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.
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.
15 years 9 months ago - 15 years 9 months ago #3879
by panosa73
Replied by panosa73 on topic Re: Solution to Display # and Results 1-11 of 11
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.
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: 15 years 9 months ago by panosa73.
Please Log in or Create an account to join the conversation.
15 years 9 months ago #3880
by nicolas
Replied by nicolas on topic Re: Solution to Display # and Results 1-11 of 11
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.
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.
15 years 9 months ago #3926
by panosa73
Replied by panosa73 on topic Re: Solution to Display # and Results 1-11 of 11
Ok, got it.
This is the actual css that worked for me:
div.limit{ display:none; }
span.hikashop_results_counter{ display:none; }
Thank you.
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.188 seconds