ZenphotoCMS Forum
Meta Title Tag for subalbums - 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: Meta Title Tag for subalbums (/thread-8757.html)



Meta Title Tag for subalbums - reneesanguinetti - 22-06-2011

Hello,
I am currently using Zenphoto version 1.4.0.3 [6841] (Official Build)
Current gallery theme: zpFocus_v1.4.
I use the following code to print the Meta Title Tag for my albums:

I am experimenting with subalbums. How would I change or add to this code to print a Meta Title Tag for subalbums such as:
Gallery Title | Album Title | Sub Album Title.
I have read through the forum, but I can't seem to find a solution for my version of Zenphoto.
Thank-you!




Meta Title Tag for subalbums - gjr - 22-06-2011

Look at the printParentBreadcrumb function. That may help you write your own code, but you wouldn't want to use it directly in the title tag as it includes anchors I believe. May add this in next release.




Meta Title Tag for subalbums - reneesanguinetti - 23-06-2011

@gjr
I know you are really busy updating your themes. That's great because I am using zpFocus exclusively. I would really appreciate it if in your testing you could come up with the proper code for my previous question.
Thank-you! Renee




Meta Title Tag for subalbums - gjr - 23-06-2011

Consider it done (when released). Why? You followed the forum rules (version, theme, etc), stated your inquiry clearly, its a good suggestion...

zpFocus is at the bottom of the list since it is the oldest, and uses the most custom functions that I always need to modify every new version, haven't even looked at it yet, because of the drop menus.

Am working on them now...zpmas in the works