ZenphotoCMS Forum
TAGS - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: TAGS (/thread-10480.html)



TAGS - kalli - 06-10-2012

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




TAGS - acrylian - 06-10-2012

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.




TAGS - kalli - 06-10-2012

OK.
in the Theme ZP-Ardroise you have the option "show all tags"
in Line 47 of the gallery.php i found followed entry:

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




TAGS - acrylian - 06-10-2012

[i]In the dokumentation on this Site i found nothing about "hor-list".[/i]
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.




TAGS - kalli - 06-10-2012

Now i have change the Line 47 of the gallery.php

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.




TAGS - acrylian - 06-10-2012

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).




TAGS - kalli - 06-10-2012

Ok i try it.
thanks a lot for help.