where do I find a random-block.php tutorial?[SOLVED]

mingotta

Joined: 2003-12-06
Posts: 26
Posted: Tue, 2004-10-05 23:47

Hallo!
Call me stupid, but for the life of me I can't find anywhere on this website a page that tells me how to set up the random photo thing.

I browsed the documentation, the faqs and the forum, but I can't find it!
All I could find is the random-block.php file in the gallery directory, which is at least a starting point!

I have a plain gallery installation, without CMS.

A link to the a webpage is enough, I'd be very grateful, thanks!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2004-10-06 03:01

It's easy!
Add this to the PHP page where you want the random block to appear:

<?php include("http://www.example.com/gallery/block-random.php"); ?>

Let us know if you're still stuck.

-Beckett (

)

 
mingotta

Joined: 2003-12-06
Posts: 26
Posted: Wed, 2004-10-06 09:42

Man, you're great, you always put me out of trouble!
Yes, that one-liner was enough!
Now I want to concentrate on the look of my website in general, which looks pretty simple and ugly!
Thanks!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2004-10-08 00:38

Excellent! Glad it's up and running. Let us know if you get stuck again with anything else.

-Beckett (

)