[Skip to main content](#vessel-content)

#   Pagination Bootstrap

##

- **[Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")**
- [![Lumilo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14579-lumilo "View Lumilo's Profile") Topic Author
- [ Offline](/forum/user/14579-lumilo)

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 7 months ago [\#97112](#97112) by [Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")  *[Pagination Bootstrap](/forum/2-general-talk-about-hikashop/79881-pagination-bootstrap#97112 "Hi everyone!  I want change the design of pagination, bootstrap design...but i can't edit the array $list&#91;&#93;&#91;&#93;; I have a file called pagination.php in folder templates/mytemplate/html/pagination.php  How i can do it??  Thank you!!!! :)")* was created by *[Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")*

Hi everyone!

I want change the design of pagination, bootstrap design...but i can't edit the array $list[][];
I have a file called pagination.php in folder templates/mytemplate/html/pagination.php

How i can do it??

Thank you!!!! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5ODgxLXBhZ2luYXRpb24tYm9vdHN0cmFwP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 7 months ago [\#97125](#97125) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination Bootstrap](/forum/2-general-talk-about-hikashop/79881-pagination-bootstrap#97125 "Hi everyone!  I want change the design of pagination, bootstrap design...but i can't edit the array $list&#91;&#93;&#91;&#93;; I have a file called pagination.php in folder templates/mytemplate/html/pagination.php  How i can do it??  Thank you!!!! :)")*

Hi,

HikaShop is compatible with the standard joomla pagination override system:

[ demente-design.com/extensions/item/74-jo...-pagination-override](http://demente-design.com/extensions/item/74-joomla-16-pagination-override)
[ docs.joomla.org/Understanding\_Output\_Ove...tion\_Links\_Overrides](http://docs.joomla.org/Understanding_Output_Overrides#Pagination_Links_Overrides)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5ODgxLXBhZ2luYXRpb24tYm9vdHN0cmFwP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")**
- [![Lumilo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14579-lumilo "View Lumilo's Profile") Topic Author
- [ Offline](/forum/user/14579-lumilo)

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 7 months ago [\#97296](#97296) by [Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")  Replied by *[Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")* on topic *[Pagination Bootstrap](/forum/2-general-talk-about-hikashop/79881-pagination-bootstrap#97296 "Hi everyone!  I want change the design of pagination, bootstrap design...but i can't edit the array $list&#91;&#93;&#91;&#93;; I have a file called pagination.php in folder templates/mytemplate/html/pagination.php  How i can do it??  Thank you!!!! :)")*

I know it, but i can't change the design of buttons...this is the code:
Code:

$html = '&lt;ul class="pagination-list"&gt;'; $html .= $list['start']['data']; $html .= $list['previous']['data']; foreach ($list['pages'] as $k =&gt; $page) { if (in_array($k, range($range * $step - ($step + 1), $range * $step))) { if (($k % $step == 0 &#124;&#124; $k == $range * $step - ($step + 1)) &amp;&amp; $k != $currentPage &amp;&amp; $k != $range * $step - $step) { $page['data'] = preg_replace('#(&lt;a.*?&gt;).*?(&lt;/a&gt;)#', '$1...$2', $page['data']); } } $html .= $page['data']; } $html .= $list['next']['data']; $html .= $list['end']['data']; $html .= '&lt;/ul&gt;'; return $html;

Where I can change the styles and the text of buttons?? All is predefined and i don't know where is these configuration..![:(](/media/kunena/emoticons/22.png ":(")

Thank you very much!! This forum is the fastest answering...thats delight ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5ODgxLXBhZ2luYXRpb24tYm9vdHN0cmFwP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 7 months ago [\#97379](#97379) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Pagination Bootstrap](/forum/2-general-talk-about-hikashop/79881-pagination-bootstrap#97379 "Hi everyone!  I want change the design of pagination, bootstrap design...but i can't edit the array $list&#91;&#93;&#91;&#93;; I have a file called pagination.php in folder templates/mytemplate/html/pagination.php  How i can do it??  Thank you!!!! :)")*

To change the style, you have to edit the css properties in your template file.
And for the text, you have to use the language overrides.

But this is not really HikaShop related. Thanks to make search on google ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5ODgxLXBhZ2luYXRpb24tYm9vdHN0cmFwP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")**
- [![Lumilo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14579-lumilo "View Lumilo's Profile") Topic Author
- [ Offline](/forum/user/14579-lumilo)

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 6 months ago [\#97849](#97849) by [Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")  Replied by *[Lumilo](/forum/user/14579-lumilo "View Lumilo's Profile")* on topic *[Pagination Bootstrap](/forum/2-general-talk-about-hikashop/79881-pagination-bootstrap#97849 "Hi everyone!  I want change the design of pagination, bootstrap design...but i can't edit the array $list&#91;&#93;&#91;&#93;; I have a file called pagination.php in folder templates/mytemplate/html/pagination.php  How i can do it??  Thank you!!!! :)")*

I wrote hear because the pagination used is from Hikashop Code:

&lt;div class="hikashop_products_pagination hikashop_products_pagination_bottom"&gt;

I couldn't mend it...If I would know where is the code that manage the array $list i could solve it myself

Thanks everybody!!

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5ODgxLXBhZ2luYXRpb24tYm9vdHN0cmFwP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 6 months ago [\#97952](#97952) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pagination Bootstrap](/forum/2-general-talk-about-hikashop/79881-pagination-bootstrap#97952 "Hi everyone!  I want change the design of pagination, bootstrap design...but i can't edit the array $list&#91;&#93;&#91;&#93;; I have a file called pagination.php in folder templates/mytemplate/html/pagination.php  How i can do it??  Thank you!!!! :)")*

The pagination system of HikaShop extends joomla's.
So as I said already, the proper way to do it is to use a joomla pagination override.
Nevertheless, if you really want to hack in the core code of HikaShop (which I don't recommend because you will loose your changes when you update HikaShop), you can edit the file administrator/components/com_hikashop/helpers/pagination.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5ODgxLXBhZ2luYXRpb24tYm9vdHN0cmFwP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.116 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
