ZenphotoCMS Forum
folder name mess up (zp and zenphoto) - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: folder name mess up (zp and zenphoto) (/thread-912.html)



folder name mess up (zp and zenphoto) - paperpariah - 2006-12-06

Hi there,

Sorry if this has been answered already - i have had a good look.

None of my thumb nails are displayed and I cant viw my gallery, it says

" Not Found: The requested URL /zp/index.php was not found on this server"

But thats because its /zenphoto/index.php like its meant to be for everything else to work?

Thanks in advance

Adam




folder name mess up (zp and zenphoto) - thinkdreams - 2006-12-06

Something's up with your htaccess file (I think)

Check your RewriteBase in your htaccess file, make sure it matches your path (/zenphoto, not /zp)

Write back if this doesn't fix it.




folder name mess up (zp and zenphoto) - trisweb - 2006-12-06

Bingo, that should be it. Looks like he got it, it's working now.




folder name mess up (zp and zenphoto) - paperpariah - 2006-12-06

Yep sorted ! Thanks alot for your help guys!

Just another quick qestion - i wanted to link back to my website is there a quick way to put a link in the top right or top left saying home ?




folder name mess up (zp and zenphoto) - thinkdreams - 2006-12-06

You can use the handy dandy function:

" title="Gallery Index">

It even includes the HTML to make it a link. Just cut n paste where you want to display the name of the gallery and it will link to your zenphoto root. If you want it to say "home" instead, cut n paste this one:

" title="Gallery Index">Home




folder name mess up (zp and zenphoto) - thinkdreams - 2006-12-06

Aww crap. My code got wrangled. Hold on:

Here's the original function:
" title="Gallery Index">

Here the second one, with Home instead:
" title="Gallery Index">Home




folder name mess up (zp and zenphoto) - thinkdreams - 2006-12-06

damn. I really should RTFM. It is right below. Dummy.

original function:
``

second function, with Home:
Home




folder name mess up (zp and zenphoto) - thinkdreams - 2006-12-06

phew. that did it.




folder name mess up (zp and zenphoto) - paperpariah - 2006-12-07

Ah cool!

What file would i insert that code into ? the index.php ?

cheers




folder name mess up (zp and zenphoto) - thinkdreams - 2006-12-07

You can place that code in any of these files: image.php or album.php. index.php is essentially what the link code points to (e.g. http://www.yourURL.com/YourZenphotoBase) so putting it into the index.php won't do much.

I use it in my theme as part of the breadcrumbs to have people easily navigate my pages.