1 (edited by goldberry 2016-04-20 22:44:53)

Topic: backbutton Url and other links

I have been creating a website on a local PC

I used a link back to the gallery directory in the backbutton url. I used the format directoryname/gallery.html and when tested it indicates page not located. I was able to get it to work by using file:///C:/directoryname/index.htm

So when I upload this to our website it will be in the main directory and the gallery file folder will be in a sub directory. So do I just change the xml file to enter in place of  file:///C:/directoryname/index.htm the following; maindirectory/gallery1 ?

Re: backbutton Url and other links

The backButtonUrl can be:

(1) Absolute, in the form:
backButtonUrl="http://www.example.com/directory/index.html"

(2) Relative to the HTML page containing the gallery's embedding code, e.g:
backButtonUrl="directory/index.html"

(3) Relative to your root directory (using a leading slash in the path to denote your root directory), e.g:
backButtonUrl="/directory/index.html"

If the page you want your Back Button to go to is http://www.yourdomain.com/index.htm and your gallery's web page is located at http://www.yourdomain.com/gallery1/index.html (which I think is correct from what you say), then you could use any one of the following:

backButtonUrl="http://www.yourdomain.com/index.htm"
backButtonUrl="../index.htm"
backButtonUrl="/index.htm"

If you continue to experience difficulties, please post the URL to your gallery and also let me know the actual URL of the page you'd like the Back Button to link to. Thank you.

Re: backbutton Url and other links

Thanks that should make it easier when I upload the files.

Re: backbutton Url and other links

You're welcome.