ZenphotoCMS Forum
Button to return to main site? - 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: Button to return to main site? (/thread-10103.html)



Button to return to main site? - lucasbuck - 22-06-2012

Sorry, I'm kind of new to web design. I've installed Zenphoto and was wondering if there was a way to setup a button or link in the gallery to return to my main site after visiting the gallery. Thanks for any info!




Button to return to main site? - fretzl - 22-06-2012

You mean you have Zenphoto separated from your main site ?
Then you could code something like this in your theme pages:
`




Button to return to main site? - lucasbuck - 24-06-2012

Sorry, I may not have explained well. Like I said, new to design.
I'm just using the default theme, which is fine. And I installed Zenphoto to \gallery on my website. So on my home page if they click the link for gallery, it goes there, but other than using the back button there's not a way to return to the main page.
Instead of doing it that way, would it have been better to have zenphoto load into a frame on my site? Rather than going to the gallery itself? I wasn't sure how most folks did it.




Button to return to main site? - fretzl - 25-06-2012

So you made a link to [i]gallery[/i] on your [i] main site[/i].

You can of course use the same technique to make links to your [i] main site[/i] on the [i]gallery[/i].

Just put your link code into the theme pages where you want the link to appear.




Button to return to main site? - acrylian - 25-06-2012

Of course you could also use a frame/iframe but then no one will be able to link to anything in your gallery. fretzl explained what you need to do.




Button to return to main site? - Wete - 25-06-2012

Why don't you just use the built-in feature? There is a field in Settings -> Gallery where you have to put in the URL of your website and a name for ist. After that there is a link to your homepage in the breadcrump.

Wete




Button to return to main site? - acrylian - 25-06-2012

Not even I am sure right now if all standard themes really support that..




Button to return to main site? - fretzl - 25-06-2012

Thanks @Wete ! I forgot about that link being in the breadcrumb.

It is supported by the [i]default[/i] theme.




Button to return to main site? - acrylian - 25-06-2012

Thanks for the confirmation, I meant we did setup all official themes with that a while ago.




Button to return to main site? - lucasbuck - 28-06-2012

Thanks again for all the help folks!