So Im having trouble getting this block to only pull photos from a specified album.
I deleted the cache, cleared browser cache, even created a second random photo block to get it to only pull form a specfied album. Didnt work either
Quote:
/**
* Parameter: album
* Limit the photo block to one album (plus its sub-albums).
* If not specified, an album will be randomly selected from the cache file.
*
* Example: album=album01
* Default: none.
*/
if (!empty($HTTP_GET_VARS["album"])) {
$rand_album = new Album();
$rand_album->load($HTTP_GET_VARS["album"]);
$skipSubAlbums = false;
// The album specified is the top of a "tree" of eligible albums
So I assumed
Quote:
if (!empty($HTTP_GET_VARS["album=albumo1"])) {
$rand_album = new Album();
$rand_album->load($HTTP_GET_VARS["album=album01"]);
$skipSubAlbums = false;
// The album specified is the top of a "tree" of eligible albums
So what am i doing wrong here?