Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
1 to 19 of 19
function the_gallery(){
// collections mode (show all albums within a collection)
// it's the default
$use_file = "collections.php";
function the_gallery(){
// collections mode (show all albums within a collection)
// it's the default
$use_file = "collection.php";
function plogger_init() {
[...more code here...]
} else {
// Show all of the collections
plogger_init_collections(array(
'from' => $from,
'limit' => $lim,
'sortby' => !empty($config['collection_sortby']) ? $config['collection_sortby'] : 'id',
'sortdir' => !empty($config['collection_sortdir']) ? $config['collection_sortdir'] : 'DESC'));
}
function plogger_init() {
[...more code here...]
} else {
// Show all of the collections
plogger_init_albums(array(
'from' => $from,
'limit' => $lim,
'collection_id' => 1, //where 1 equals the id of the collection you want to display
'sortby' => !empty($config['collection_sortby']) ? $config['collection_sortby'] : 'id',
'sortdir' => !empty($config['collection_sortdir']) ? $config['collection_sortdir'] : 'DESC'));
}
function generate_breadcrumb(){
[...more code here...]
return '<div id="breadcrumb_links">'.$breadcrumbs.'</div>';
function generate_breadcrumb(){
[...more code here...]
return '<div id="breadcrumb_links">' . substr($breadcrumbs, strpos($breadcrumbs, "»")+8) . '</div>';
default:
$breadcrumbs = ' <b>Collections</b>';
break;
}
return '<div id="breadcrumb_links">'.$breadcrumbs.'</div>';
default:
//code from case 'collection' and changing $id
$row = get_collection_by_id(1); //where 1 equals the id of the collection you want to display
$breadcrumbs = ' <a accesskey="/" href="'.$config["baseurl"].'">Collections</a> » <b>' . SmartStripSlashes($row["name"]) . '</b>';
if ($GLOBALS['plogger_mode'] == "slideshow") $breadcrumbs .= ' » Slideshow';
break;
}
return '<div id="breadcrumb_links">' . substr($breadcrumbs, strpos($breadcrumbs, "»")+8) . '</div>';
// dynamically fetch the default category id
$result=run_query("SELECT id FROM ".TABLE_PREFIX."collections LIMIT 1");
$rowx=mysql_fetch_assoc($result);
$catid=$rowx['id'];
1 to 19 of 19