Hi all
Latest zenphoto installed two days ago, this is a fresh install.
I have been trying to modify how the gallery page that shows the albums is accessed.
I have successfully created a replacement index.php page to use as my home page and I renamed the existing index.php page to galleries.php. Under the theme options I have set the index page for the gallery to be galleries, however if I visit mysite.com/galleries I get a page error being album galleries not found.
The custom menu system is also on and being used.
So I am thinking it is related to the .htaccess file possibly but I am not sure, so here I am for help.
How do I get the system to recognise that the new galleries.php file is what it should be using for the gallery page and/or how do I get it to allow me to call the Gallery something like mysite.com/galleries, and then albums would fall under galleries so be like mysite.com/galleries/albums
I have already changed news to be blog instead so it is called mysite.com/blog which works fine, same as pages which is mysite.com/pages.... I just need the gallery to follow a similar path and be as I said something like mysite.com/galleries
Oh and this is using a theme that is based on the default zenpage theme of which I did a duplicate of and have been editing only the theme pages, NO core pages have been modified. There is no 'Set the custom index page' option as described in the theme tutorial for this theme that I can see.
EDIT, Ok found the home page option in the theme options and I have created an unpublished page to use as the home page, which is fine,
I returned the index.php file back to what it was as default.
I went back into the theme options and set the page I want to be the home page, great that works, I have reset the gallery index page back to gallery.php but I still cannot get it to load the gallery like mysite.com/gallery and then the albums under that.
I hope that all makes sense, if you need any more settings info or other info please let me know.
Cheers for your help.
GW
Comments
If that's what you want, all you have to do is copy your zenphoto installation to the new location (/gallery etc) off root, then re-run setup so it updates location/htaccess etc.
If I missed what you're trying to do, please clarify a bit more.
I wish to keep zenphoto in the root folder, I just want to be able to display the gallery page and then the albums in the gallery under mysite.com/gallery.
If I move it to its own directory I then also move the news (blog) and pages, so would get mysite/gallery/blog/, whereas what I have now is mysite.com/blog which is what I want.
So to end up I want to have
mysite.com - which is a page I have selected within the theme to a page I have created in zenpage (working)
mysite.com/gallery - which would be the gallery main page with the albums listed on it (the default zenphoto index page) (not working)
mysite.com/blog - which is working and is the news part of zenphoto (working)
mysite.com/page - which is the pages within zenpage (working).
Is it the mysite.com/gallery I am having trouble with.
Does that make more sense?
Thanks
GW
if you want that custom page to act as the index on `mysite.com` look at how the Zenpage theme does this.
In case anyone missed the obvious as I did, I created a new Album called Gallery and put the others under that... all nice and neat
Cheers
GW