Jump to content

pagination appears amongst items


Recommended Posts

Hi everyone,

I have implemented column display of my items as per the instructions here: 3 column item display

It was successful however now unless I have an row of 3 items, the "select number of pages" pagination appears under the last full list of 3 (See image for better display of issue).

I was hoping someone out there may be able to help.

I tried wrapping the code below in a div (from pagination.tpi) with no luck.

<form action="{if !is_array($requestNb)}{$requestNb}{else}{$requestNb.requestUrl}{/if}" method="get" class="pagination">


               {if isset($query) AND $query}<input type="hidden" name="search_query" value="{$query|escape:'htmlall':'UTF-8'}" />{/if}
               {if isset($tag) AND $tag AND !is_array($tag)}<input type="hidden" name="tag" value="{$tag|escape:'htmlall':'UTF-8'}" />{/if}
               <input type="submit" class="button_mini" value="{l s='OK'}" />
{l s='items:'}

               {foreach from=$nArray item=nValue}
{$nValue|escape:'htmlall':'UTF-8'}
               {/foreach}

               {if is_array($requestNb)}
                   {foreach from=$requestNb item=requestValue key=requestKey}
                       {if $requestKey != 'requestUrl'}
                           <input type="hidden" name="{$requestKey|escape:'htmlall':'UTF-8'}" value="{$requestValue|escape:'htmlall':'UTF-8'}" />
                       {/if}
                   {/foreach}
               {/if}

       </form>




Any help on this would be greatly appreciated.

Richard.

14361_S9ArzJ1jiDwyvxBVvj5d_t

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...