ZenphotoCMS Forum
Where to modify the a href tags of the page navigation - 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: Where to modify the a href tags of the page navigation (/thread-8908.html)



Where to modify the a href tags of the page navigation - martin.s - 2011-07-26

Hello!

I am trying to modify the page navigation which is displayed when the album.php is loaded to navigate between the pages of an album.
I found in my theme (default) the function "printPageListWithNav". And I also found this function, according to the element guide, again in the template-functions.php.
What I am now searching for is the "a href" tag which is used to make the links of prev, next and the numbers (1, 2, 3...) clickable. I would like to put some stuff to theses links but I am not able to find them.

So it would be fantastic, if you could give me a hint where to find them!

Thx so much!

Best!

martin




Where to modify the a href tags of the page navigation - acrylian - 2011-07-26

As all main theme function it is located in /zp-core/template-functions.php. But you should not hack that function in that file but instead make a custom version of that, either as a plugin or
a theme custom function.




Where to modify the a href tags of the page navigation - martin.s - 2011-07-26

Thank you very much for your answer!
I will try do do a Plugin with this.

But anyhow I did find the functions but not the a href tag which is given out for the Links behind the numbers in this function. I wood be really glad If you could show me where this tag is located.

Thx a lot!

Best!

Martin




Where to modify the a href tags of the page navigation - acrylian - 2011-07-26

It is all in the file I referenced. Of course it uses further functions...