I'm editing the Matrix theme and like to have the page navigation bar only to show in case there are multiple pages. Now at the the top level I have 5 albums on one page with no need for the page navigation but I do need it for the sub albums. Anyway to make a calculation to make it hide in case of only 1 page?
Posts: 565
unoxx----
{* Navigator *} {if $theme.totalPages > 1} {g->block type="core.Navigator" navigator=$theme.navigator prefix="« " suffix=" »" currentPage=$theme.currentPage totalPages=$theme.totalPages} {/if}----best wishes, Robert
Posts: 13
thanks Robert, in what file does this code belong? Before I do anything stupid...
Posts: 565
/yourtheme/templates/local/album.tpl
Posts: 13
Thanks again. Works!
Posts: 565
unoxx----
Good;~) Now use your edit rights (it is your thread)
to amend the first post's subject to read...
[SOLVED] make page navigation bar only show in case of more then 1 page
...to help others find working solutions.
----best wishes, Robert