ZenphotoCMS Forum
editing <?php printPageListWithNav('<', '>'); ?> code? - 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: editing <?php printPageListWithNav('<', '>'); ?> code? (/thread-5440.html)



editing <?php printPageListWithNav('<', '>'); ?> code? - ciaron23 - 2009-07-08

I was able to add a piece of javascript code that would enable the gallery to load in a content box and open an album in the same box, i'm trying to accomplish this now with the page navigation, such as Next, Previous, and the page numbers at the top.

It was simple enough with the album, i just added it like any link

(for example, the original code for linking to albums:
">

I edited it into this:
">

I just need to know how `` generates the links or calls them.

thanks for the help

EDIT: I just found out where it determines the link within template functions, but i was expecting something like what i had encountered with the Albums :/ any help on how i can add that little bit of code?




editing <?php printPageListWithNav('<', '>'); ?> code? - ciaron23 - 2009-07-10

i hate to bump topics, but i really need an answer to this, i mean it sounds simple enough, i just need to know where it determines a link and how i can inject that little bit of javascript.




editing <?php printPageListWithNav('<', '>'); ?> code? - acrylian - 2009-07-10

Look at the function itself, it's all there. You surely would have to make your own custom function (probably a set of custom functions actually) instead of "hacking" core functions.




editing <?php printPageListWithNav('<', '>'); ?> code? - ciaron23 - 2009-07-10

i see... alright thank you.