Member
Member
ThreeDot   2009-07-16, 20:00
#1

I am building a portfolio based on Zenphoto, using Zenpage. The portfolio has only one album and I'd like index.php to redirect to album.php rather than gallery.php. However, when I make this change to index.php, the page breaks.

How do I do this?

Administrator
Administrator
acrylian   2009-07-17, 07:48
#2

So what do you want to show for that album? The normal thumbnail list? You can't link to album.php itself as it needs to know what album to actually display. The link to an album is like this if Zenphoto installed in the folder "zenphoto":
with modrewrite:www.domain.com/zenphoto/
without modrewrite:www.domain.com/zenphoto/index.php?album=

Alternatively you may try to setup the global album object $_zp_current_album before calling album.php.

Member
Member
ThreeDot   2009-07-17, 19:51
#3

Where do I direct to the album? In index.php, album.php, or .htaccess?

Administrator
Administrator
acrylian   2009-07-18, 08:37
#4

On the themes index.php of course as you want it to show by default (if I understood it correctly).

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.