return to gallery function

Hi just installed zenphoto and very impressed, thanks.
I have a problem: when I go to an album the header link 'album index' to return to the gallery is linked as 'mywebsite/gallery/' but when I click on this I get a root directory list.
For the link to work I need it to be: 'mywebsite/galley/index.php'
Is there a way to edit the link, not familiar with php and databases so I'm not sure where to look.
here's the link:
http://www.winscombemontessori.infotechpublications.com/gallery/index.php
click on an album, then try to return to the gallery main page.

Also... The only way I can access the user login page is by manually entering 'mywebsite/gallery/zp-core/admin.php' into the addressbar. There must be a way of enabling a user login field on the main gallery page, but I can't find it anywhere, a point in the right direction would be appreciated ;-)

Comments

  • acrylian Administrator, Developer
    You should ask your host to define "index.php" as a valid default start page on your server. Most severs accept "index.html" etc automatically as the start page if linked to a directory.

    If that is not an options you will have to modify your theme manually to add that link.

    Regarding login: http://www.zenphoto.org/documentation/plugins/_plugins---user_logout.php.html
    Enable the plugin and add the funciton documentated where you want it to appear.
  • Thanks for the quick response, I contacted my host and they've fixed the problem.

    Re adding login, I've ticked the enable user_logout plugin, but I'm not sure where to add the script detailed in the documentation listed above. It also mentions that this is for album passwords, not admin users, it was an admin log in box that I was trying to add.
  • The plugin will put a login form on your page at the place where you place the function call. To use this also for admin logins you will need to insure that the option to display the `user` field is enabled. (It is a gallery option.)

    An example of the use of this plugin can be found in (what else) the Example theme.
  • Hi thanks Stephen,
    got it working now.
Sign In or Register to comment.