printAllTagsAs works only on gallery.php

Hi, im using zpGalleriffic theme, where in gallery.php i put just under the navigation stuff a list of all tags like this:

( <div id="pagination">
<?php printPageListWithNav( '‹ ‹ ‹','› › ›',false,'true','clearfix','',true,'5' ); ?>
</div>

<div class="clearfix"><h4><?php echo gettext('ALL TAGS: '); ?></h4><?php printAllTagsAs('cloud','hor-list', 'abc', true, true, 1.4, 33, 1); ?></div>)

I believe this can give better dynamic navigation possibilities to visitors...

I would like to have the same stuff on albums and subalbums views too, just above the comment form, but the code (<div class="clearfix"><h4><?php echo gettext('ALL TAGS: '); ?></h4><?php printAllTagsAs('cloud','hor-list', 'abc', true, true, 1.4, 33, 1); ?></div>) just do not works on album.php nor album_alt.php, nor on pages.php

anyone has an idea how to get it work on all pages?

Thank You much

Comments

  • acrylian Administrator, Developer
    You need to understand that some functions are context sensitive. printPageListWithNav is for paging album/thumbnail pages on index.php and album.php only. So it of course does not work on pages.php as there are no.

    printAllTagsAs() should actually work on all pages.

    Since this is not an official theme I don't know what album_alt.php is about. So this is theme specifc. If you in the future have question related to a third party theme I suggest to put that name into the thread title so its author maybe spots it, too.
  • Thank You Acrylian, You are right. I realised a bit late, that I could just post this into the thread of the Gallerific theme, for example. Excuse me.

    printAllTagsAs() works now, i just had to put it on a right place.

    Thank You
Sign In or Register to comment.