Member
Member
paperpariah   2006-12-06, 15:19
#1
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
Member
Member
thinkdreams   2006-12-06, 15:36
#2
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.
Developer
Developer
trisweb   2006-12-06, 21:49
#3
Bingo, that should be it. Looks like he got it, it's working now.
Member
Member
paperpariah   2006-12-06, 22:26
#4
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 ?
Member
Member
thinkdreams   2006-12-06, 22:35
#5
You can use the handy dandy function:

<a>" title="Gallery Index"><?php echo getGalleryTitle();?></a>

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:

<a>" title="Gallery Index">Home</a>
Member
Member
thinkdreams   2006-12-06, 22:36
#6
Aww crap. My code got wrangled. Hold on:

Here's the original function:
`<a>" title="Gallery Index"><?php echo getGalleryTitle();?></a>`

Here the second one, with Home instead:
`<a>" title="Gallery Index">Home</a>`
Member
Member
thinkdreams   2006-12-06, 22:37
#7
damn. I really should RTFM. It is right below. Dummy.

original function:
`<?php echo getGalleryTitle();?>`

second function, with Home:
`Home`
Member
Member
thinkdreams   2006-12-06, 22:38
#8
phew. that did it.

Tongue
Member
Member
paperpariah   2006-12-07, 00:15
#9
Ah cool!

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

cheers
Member
Member
thinkdreams   2006-12-07, 05:03
#10
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.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.