ZenphotoCMS Forum
Problem editing theme - extra pages of gallery - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Problem editing theme - extra pages of gallery (/thread-10199.html)



Problem editing theme - extra pages of gallery - telemarknerd - 15-07-2012

I am so close to matching a theme with my site... I've edited the default theme, inserting the code for my homepage into the zp code. The problem I get is when clicking on the additional pages of the main gallery from the index page. I've copied the image folder for my navbar images to the zp root folder which works for the index page, but the additional pages look for the navbar images in zenphoto/page/2/navbarimages instead of zenphoto/navbarimages.

Can anyone please help?




Problem editing theme - extra pages of gallery - fretzl - 15-07-2012

Can you maybe post a link to the site ?




Problem editing theme - extra pages of gallery - telemarknerd - 15-07-2012

www.greencrown.ca/Gallery

when I click on page 2,3,4 etc of the main gallery, my header and navbar logos dissappear.




Problem editing theme - extra pages of gallery - acrylian - 15-07-2012

You apparently did not link the files correctly. if you point to theme based files you need to use the global variable $_zp_themeroot. See the css links in standard themes. Otherwise the links is from the current page link which is of course wrong as you encounter.
Alternatively if these header stuff is from outside Zenphoto you need to use absolute urls.




Problem editing theme - extra pages of gallery - telemarknerd - 15-07-2012

Thanks for all your help. I used absolute urls to match my site, and it works very well now.