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

#   Pagination top and bottom

##

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

Less More

- Posts: 87
- Thank you received: 2
-
-

15 years 8 months ago -  15 years 8 months ago [\#8792](#8792) by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")  *[Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8792 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")* was created by *[agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")*

I have edited the file in Views - products - div_listing as described in**[ this thread ](http://www.hikashop.com/en/support/forum/2-general-talk-about-hikashop/3813-page-navigation.html#3814)** to achieve having the pagination at the foot of the products as well as the top.

All is good except that the hyperlinks no longer work on either navigation.

I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood:
&lt;?php if($this-&gt;params-&gt;get('show_limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt;
&lt;form action="&lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::getWord('task').$this-&gt;itemid.'&amp;cid='.reset($this-&gt;pageInfo-&gt;filter-&gt;cid)); ?&gt;" method="post" name="adminForm_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;"&gt;
&lt;div class="hikashop_products_pagination"&gt;
&lt;?php echo $this-&gt;pagination-&gt;getListFooter(); ?&gt;
&lt;span class="hikashop_results_counter"&gt;&lt;?php echo $this-&gt;pagination-&gt;getResultsCounter(); ?&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;input type="hidden" name="filter_order_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;" /&gt;
&lt;input type="hidden" name="filter_order_Dir_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;" /&gt;
&lt;?php echo JHTML::_( 'form.token' ); ?&gt;
&lt;/form&gt;
&lt;?php } ?&gt;

This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Screen_shot_2011_02_21_at_17.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Screen_shot_2011_02_21_at_17.png "&#91;img")

I can get the positioning correct if I put the above code in a DIV tag with Code:

styles="float:left;display:inline;"

but perhaps it would be better to include this in a stylesheet.

I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?

Your thoughts and advice are most welcome... as always ![:)](/media/kunena/emoticons/8.png ":)")

- [ ![Screen&#95;shot&#95;2011&#95;02&#95;21&#95;at&#95;17.png](/forum/attachment/575) ](/forum/attachment/575 "...2&#95;21&#95;at&#95;17.png") [ ](/forum/attachment/575?download=1 "...2&#95;21&#95;at&#95;17.png")

Last edit: 15 years 8 months ago by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8794](#8794) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8794 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

Could you give a link to that page so that we can see what's going on ?

If you want to have the display at the bottom, before the pagination code of the bottom, you should add the HTML: &lt;br style="clear:both;"/&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 87
- Thank you received: 2
-
-

15 years 8 months ago [\#8800](#8800) by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")  Replied by *[agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8800 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

Added the HTML... should've known that, sorry.
So that is fixed.

To see the site you'll need to login with your user and password...

[ www.fotoprints.co.uk](http://www.fotoprints.co.uk)

I notice that if I remove the code again then the navigation works.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8805](#8805) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8805 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

The username you provided previously doesn't work anymore.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 87
- Thank you received: 2
-
-

15 years 8 months ago [\#8810](#8810) by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")  Replied by *[agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8810 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

I noticed that you are logged in.
Correct?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8813](#8813) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8813 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

incorrect ![:)](/media/kunena/emoticons/8.png ":)")
I tried to but it went back to the login screen.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 87
- Thank you received: 2
-
-

15 years 8 months ago [\#8814](#8814) by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")  Replied by *[agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8814 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

Try again now, it should work if you refresh. ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8853](#8853) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8853 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

The problem is that with both top and bottom pagination displayed, you have two forms with the same name on your page and that is a problem.
Could you try to change the name of the second form to something else in order to avoid conflicts ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 87
- Thank you received: 2
-
-

15 years 8 months ago [\#8887](#8887) by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")  Replied by *[agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8887 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

Yes, that did it, thanks.

Now the only thing left to sort out is getting the two parts of this footer in the same 'row'. I have tried editing the front-end stylesheet but perhaps some of it is created on the fly. Can this be altered in the same php file?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 8 months ago [\#8908](#8908) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8908 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

You can put the display dropdown and the pagination on the same line with the CSS code:
.limit{display:inline;}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 87
- Thank you received: 2
-
-

15 years 8 months ago [\#8934](#8934) by [agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")  Replied by *[agrfoto](/forum/user/947-agrfoto "View agrfoto's Profile")* on topic *[Re: Pagination top and bottom](/forum/2-general-talk-about-hikashop/8792-pagination-top-and-bottom#8934 "I have edited the file in Views - products - div&#95;listing as described in to achieve having the pagination at the foot of the products as well as the top.  All is good except that the hyperlinks no longer work on either navigation.  I copied the 11 lines mentioned to the very bottom but perhaps I misunderstood: params-&gt;get('show&#95;limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt; form action=&quot;&amp;lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::gtWord('task').$this-&amp;gt;itemid.'&amp;cid='.reset($this-&amp;gt;pageInfo-&amp;gt;filter-&amp;gt;cid)); ?&amp;gt;&quot; method=&quot;post&quot; name=&quot;adminForm&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot;&gt;  pagination-&gt;getListFooter(); ?&gt; pagination-&gt;getResultsCounter(); ?&gt;  nput type=&quot;hidden&quot; name=&quot;filter&#95;order&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;&quot; /&gt; input type=&quot;hidden&quot; name=&quot;filter&#95;orderDir&#95;params-&gt;get('main&#95;div&#95;name').$this-&gt;category&#95;selected;?&gt;&quot; value=&quot;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;&quot; /&gt;     This other issue is where to change the css for the bottom one as at present the first part appears next to the last product if the products do not fill all columns.  I can get the positioning correct if I put the above code in a DIV tag with but perhaps it would be better to include this in a stylesheet.  I've also been struggling to get the Display# and pagination on the same line using css, but perhaps this is something to be done in php?  Your thoughts and advice are most welcome... as always :)")*

Thanks Nicolas,

I also added padding to separate it :
.limit {display:inline;padding:0 20px 0 0;}

and this to the stylesheet to center it all on the page.

.hikashop_products_pagination { text-align:center; }

So now it's all complete, just a matter of adding all the products and to do this I'll be buying the business version so I can copy the products as they are all the same sizes and prices... then a bit of testing and my shop is done!

Thanks for all your help!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg3OTItcGFnaW5hdGlvbi10b3AtYW5kLWJvdHRvbT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.343 seconds

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

[](#top)
