TAGS

Hello everybody.
I use the printAllTagsAs and it is ok.
Now i want to display the numbers of every Tag, exact the way like in this Forum on the right side.
I have allready take a look on the "template-function.php but i don´t know, where i make the changes.

rgds

kalli

Comments

  • acrylian Administrator, Developer
    This forum does not show the number of any tag. Please see the documentation of that function on the functions guide. You change everything on your theme, NEVER in core files.
  • OK.
    in the Theme ZP-Ardroise you have the option "show all tags"
    in Line 47 of the gallery.php i found followed entry:

    <?php printAllTagsAs('cloud', 'hor-list', 'abc', false, true, 2.5, 30, 5, NULL, 1); ?>

    In the dokumentation on this Site i found nothing about "hor-list".

    Now i want to show the number of tags in the Galery.php as mouseover.

    If you go with the mouse on a name , like in this Forum the "image" Tag (261 topics), there should be a display "XX Bilder".
    How can i get the titel for each tag?

    Sorry for my bad englisch.

    Just have a look on my page:
    http://www.komoedie-frankenberg.de/
    please use the "Bilder" Button.

    rgds

    kalli
  • acrylian Administrator, Developer
    In the dokumentation on this Site i found nothing about "hor-list".
    Of course not because that is a parameter value...:
    http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintAllTagsAs

    That documentation has an entry named "functions documentatioN" on the user guide you should be able to find.

    And here how to read that documentation (even with that function as an example):
    http://www.zenphoto.org/news/how-to-read-the-zenphoto-functions-guide

    If you wish to get the image number per tag on this function by hover you will have to create your own custom version of it. As the documentation tells the function has only an parameter to display the number behind the tag.
  • Now i have change the Line 47 of the gallery.php

    <?php printAllTagsAs('cloud', 'hor-list', 'abc', true, true, 2.5, 30, 5, NULL, 1); ?>
    and it shows the numbers i wnt to have in brackets behind the name.

    How do you fix it to show the numbers as "titel=xx topics" on your Forum like this?
    admin
    This is the mouseover i want to have in my site.
  • acrylian Administrator, Developer
    As said create your custom function of it. There is no other way (this forum is not Zenphoto and we use a predefined function for the tag cloud). To get this tooltip you need to add the title atribute to an element (sorry, this is really html basics).
  • Ok i try it.
    thanks a lot for help.
Sign In or Register to comment.