Member
Member
benjancewicz   2007-11-25, 03:42
#1

Is there a way to make the tags clickable?

For example, if a picture has "X, Y, Z" as tags, is there a way to click on X, and have all the other pictures tagged with X come up?

Member
Member
aitf311   2007-11-25, 04:43
#2

The nightly build has this on by default, try it out here: http://www.zenphoto.org/files/nightly/

(nothing new is needed to your theme)

Member
Member
benjancewicz   2007-11-25, 20:54
#3

Gotcha.

Ok. I installed that version, but when I click on the link, I get a "Not Found" page.

Take a look (the first image has tags): http://zerflin.us/ZenPhoto/index.php?album=benjaphotos

Member
Member
sbillard   2007-11-26, 03:16
#4

There is a typographical error in the printTags function in template-functions.php. In the version I am looking at it is line 1548 and reads $links1 = "";

It should read $links1 = ""; The character after the two single quotes should be a comma.

Member
Member
benjancewicz   2007-11-27, 21:59
#5

Alrighty... I made that change, reuploaded, and it still doesn't seem to be working.

Administrator
Administrator
acrylian   2007-11-27, 23:02
#6

Sorry, you are right, there is still an error in the line sbillard mentioned, but it's easily corrected:
$links1 = "";

Detete the WEBPATH and it should work.

Member
Member
benjancewicz   2007-11-28, 20:48
#7

Bingo! That did it! Thank you both!

So, a few questions:

  1. How the devil did you find that?
  2. What is a "Nightly Build"?
  3. Why isn't this just in the regular ZenPhoto download?
Administrator
Administrator
acrylian   2007-11-28, 21:16
#8
  1. Well, I searched...:-)
  2. The nightly is generated each night from the svn (our subversion (number), the working in progress version), it's mainly stable preview version.
  3. Well, that would be sort of 1.1.2.1....We prefer to finish a few more things before releasing 1.1.3. We just don't want to update little pieces here and there.
Member
Member
benjancewicz   2007-11-28, 23:46
#9

Gotcha.
Thanks so much, you guys are brilliant.

How many of you are there working on this, and are there other projects that you've built?

Member
Member
sbillard   2007-11-29, 00:42
#10

http://www.zenphoto.org/trac/wiki/Team

As a group we are working only on zenphoto. I'm sure that each individual has been involved in many other projects. The other photo oriented project I am involved in is QuadtoneRIP http://www.quadtonerip.com/html/QTRoverview.html

Member
Member
Stephane   2008-06-14, 22:22
#11

I can't get get linked tags to work in my theme, am I doing something wrong? I'm using 1.1.6 but printTags() returns just a simple list of tags.

Administrator
Administrator
acrylian   2008-06-15, 10:01
#12

You have to be logged out to get links.

Member
Member
Stephane   2008-06-15, 12:31
#13

Thanks acrylian, that was it! Can I ask why it displays differently when you're logged in?

Administrator
Administrator
acrylian   2008-06-15, 12:51
#14

You can edit the tags inline by clicking on them if you are logged in. If those were links that would be a little difficult..:-)

Member
Member
Stephane   2008-06-15, 12:57
#15

That's makes sense. I'm also questioning the necessity of the line `that is printed at the end whenprintTags()` is called. It seems like this should be left to the theme.

Administrator
Administrator
acrylian   2008-06-15, 13:01
#16

That is actually because the tags are listed next to another and not as the normal list. If you use it with a normal list css then this br should not do anything, but if you do you don't need to care about the the resetting of the float.
But actually you are somehow right...

Member
Member
Stephane   2008-06-15, 13:07
#17

Perhaps there should be a way to call printTags() as simple text with separators rather than a
``?

Administrator
Administrator
acrylian   2008-06-15, 13:16
#18

Semantically a list of tags is, well, a list. But there is already a way: http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functiongetTags
(it says "list" but it actually returns an array)

Looking at the documentation helps sometimes...:-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.