Member
Member
n20capri   2009-11-03, 23:36
#1

I've integrated my site but don't want the gallery as the index page. So I changed things around to "multimedia" in admin but now when I click a gallery the page isn't formatted correctly and the images for that gallery aren't even there. The style sheet doesn't seem to be taking. Any insight on linking things and getting my paths right?
Thanks

Member
Member
n20capri   2009-11-03, 23:44
#2

Failed to mention that the "new" index page is multimedia and the galleries show up but when I click the galleries no formatting and no galleries.

Link here.
http://test.empx.net/multimedia.php

Member
Member
sbillard   2009-11-04, 01:41
#3

Probably what you are doing is not going to work. It looks like the rewrite rules are doing you in.

If you are integrating into an existing website the best method is to install Zenphoto into a subfolder and place a link on your main index page to that subfolder.

If all you want is a custom index page then you can do something like rename the Zenphoto theme index.php script to something else, say gallery.php. Set the theme option for the gallery index page link to "gallery". Create your new index page with a link to page/gallery. An example of this technique can be found in the stopdesign theme. It has a custom page for the index since it is somewhat different from the normal gallery index.

Member
Member
n20capri   2009-11-04, 02:57
#4

Yeah I'm going to have to mess with things. I've disabled Mod_re-write and that solves my paths issues but getting the new gallery page is causing headaches now. I'll get it. Will check out the stopdesign theme for more details

Member
Member
n20capri   2009-11-04, 03:21
#5

ughhh...lol. Does the default theme not allow a custom index page? If I simply change the name of index page to multimedia I can see the gallery on the page I want. However the link to the gallery is for example "index.php?album=TachClock" when it should be "multimedia.php?album=TachClock". If I manually set the url to "multimedia.php?album=TachClock" that gallery then displays properly...but the link to each image kicks back to "index.php......."

Sorry just talking out loud...

Administrator
Administrator
acrylian   2009-11-04, 10:05
#6

The index.php you actually see in the url is not the theme's index.php but actually the root index.php. Through that all procesing of themes runs.

That the multimedia.php file is not working with the modrewrite rules is normal as the htaccess file does not care about a file of that name.

Pages that are not using the standard way of theming (index -> album -> image) need to be called as a "custom page". Please see the theming tutorial and get a little more familiar with Zenphoto themes in general.

Member
Member
n20capri   2009-11-04, 14:50
#7

It seems as if I got things to work now. But NOW if I set a pic in the album to not be visible it still shows up. Weird. More playing I guess.
Thanks

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