ZenphotoCMS Forum
Page Links - 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: Page Links (/thread-8192.html)



Page Links - Sabyre - 2011-02-01

Is there a way to get "getprevpageurl" when going from page 2 to return http://domain.com/index.php instead of http://domain.com ?




Page Links - acrylian - 2011-02-01

Where is the difference actually? domain.com is a kind of short term for domain.com/index.php/html (whatever).




Page Links - Sabyre - 2011-02-01

For this site domain.com will actually give you domain.com/index.shtml which is the opening page for the site, need it to go to the domain.com/index.php which is the core of the site.




Page Links - Sabyre - 2011-02-01

There is no need to go back to the entrance of the site when going from page2 to page1. Know what I mean?




Page Links - sbillard - 2011-02-02

So, you are "sharing" the root of you site between some non-zenphoto home page and the Zenphoto index.php. Certainly that is not a good idea, nor good web practice.

I suggest you install Zenphoto in a subfolder.




Page Links - Sabyre - 2011-02-02

Wow .. have I made you mad or something?

I had no other choice to do what I have done... I am asking if there is a fix... Can I change something somewhere to make it work?




Page Links - acrylian - 2011-02-02

[quote]Wow .. have I made you mad or something?
[/quote]
Certainly not, but I have to agree to what my collegue said. You have a choice as suggested.

There is no fix as there is nothing to fix at all... If you really need this you will have to create a bunch of custom functions for your theme.




Page Links - sbillard - 2011-02-02

[quote]I had no other choice to do what I have done...
[/quote]
You certainly did have other choices. Specifically the one I suggested. If you choose not to go that route you will have to customize your theme as acrylian has suggested.