Loading...
 
Skip to main content

Features / Usability


Navigation in structures above and below the page

I use structures to display books with chapters and sub-chapters. Everything works fine and structures is really the way how to do that.
But there is a small problem and what ever I do, I can't find the solution.

The navigation of the structure on each page is on the top. I need the navigation also on the bottom of the page. Does anyone have an idea how to do that?

Wim

You'll need to edit the tiki-show_page.tpl Smarty template. Look at approximately line 195 and copy this entire section...

Copy to clipboard
{if $structure eq 'y'} <div class="tocnav"> <table> ... </table> </div> {/if}


If you want it to appear at the very bottom of the page (just before the page bar, copy it into this section (approximately line 336):

Copy to clipboard
{if $print_page ne 'y'} ..PASTE IT HERE.. {include file=tiki-page_bar.tpl} {/if}


You can see that I did a similar customization in SmartiesQuestion. Notice that the Next/Previous/Top buttons appear at the top and bottom of each page:

HTH,

-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion or read my Tiki Blog or visit my UserPage

Thank you so much. That was indeed the exact thing I was looking for.
I use the TikiWiki for publishing fan fiction and with this final touch it works perfectly.
Smarties is done wonderful and a lot of customization I have done thanks to content of smarties. When I saw that you had the navigation at the bottom, I knew somehow it was possible.

Thanks again. Take a look at your end result: Writing Center IVQuestion
Go to Lost Fan FictionQuestion and see the result yourself. The site is going to be a big one with hundreds of thousands of pages in the coming year.

Wim