PDA

View Full Version : How to move navigation


classified
11-20-2006, 09:42 PM
There is tha block for navigation just before the links.
« Previous : First : Page 1 Page 2 : Last : Next »

How do I move it from the top of the links to the bottom of the links?

Thanks for your assistance in advance.

redeye
11-20-2006, 11:14 PM
Which template?

classified
11-21-2006, 12:50 AM
Thanks redeye, I am using the Atomic template. And I am using version 1.5

classified
11-22-2006, 04:21 AM
Any ideas?

redeye
11-22-2006, 07:57 AM
MAKE A BACKUP OF INDEX.TPL FIRST

I haven't got a live version of the free version so can't test this, so do make a backup.

You should only need to move:

<div class="links">
{navigation aTotal=$total_links aTemplate=$url aItemsPerPage=$config.num_index_links aLinksPerPage=$config.num_navig_pages aType=2}
<table cellspacing="0" cellpadding="0">

a couple of lines down to place it:
{if $links}
<div class="box">
<div class="box-caption">{$lang.links}</div>
<div class="box-content">
{foreach from=$links item=link}
{include file="link-display.tpl"}
{/foreach}
<div class="links">
{navigation aTotal=$total_links aTemplate=$url aItemsPerPage=$config.num_index_links aLinksPerPage=$config.num_navig_pages aType=2}
<table cellspacing="0" cellpadding="0">
</table>
</div>
</div>
</div>
{/if}

classified
11-23-2006, 06:28 PM
Thanks very much redeye. Worked like a charm :yahoo: . Have a happy holiday.