Plogger Support Forum - Embedding a single Collection or Album Thu, 28 Mar 2024 09:29:31 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Embedding a single Collection or Album http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10533#Comment_10533 http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10533#Comment_10533 Sun, 26 Apr 2009 14:53:36 +0000 Gamefisher Embedding a single Collection or Album http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10560#Comment_10560 http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10560#Comment_10560 Fri, 01 May 2009 16:16:38 +0000 mimmo_l Embedding a single Collection or Album http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10574#Comment_10574 http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10574#Comment_10574 Sun, 03 May 2009 19:33:26 +0000 Gamefisher <?php require("gallery.php?level=album&id=4"); ?>

Here is the error page:
Warning: require(gallery.php?level=album&id=4) [function.require]: failed to open stream: No such file or directory in /home/jdsleds/public_html/gallery/indexalbum.php on line 21

Warning: require(gallery.php?level=album&id=4) [function.require]: failed to open stream: No such file or directory in /home/jdsleds/public_html/gallery/indexalbum.php on line 21

Fatal error: require() [function.require]: Failed opening required 'gallery.php?level=album&id=4' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jdsleds/public_html/gallery/indexalbum.php on line 21]]>
Embedding a single Collection or Album http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10583#Comment_10583 http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10583#Comment_10583 Tue, 05 May 2009 00:19:28 +0000 mimmo_l
in your browser:
www.mydomain.com/plogger --> shows the collections
http://www.mydomain.com/plogger/?level=album&id=7 --> shows the pictures in the album.

so either
1) link to the album you want (you need to use proper album id)
2) use iframes and direct to the album you want. (this will also hide the plogger url)

hope this helps]]>
Embedding a single Collection or Album http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10585#Comment_10585 http://www.plogger.org/forum/comments.php?DiscussionID=2656&Focus=10585#Comment_10585 Tue, 05 May 2009 11:30:42 +0000 sidtheduck <?php
require('gallery.php');
if ($GLOBALS['plogger_level']=='collections' || $GLOBALS['plogger_level']=='collection' ) {
$GLOBALS['plogger_level'] = 'album';
$GLOBALS['plogger_id'] = #; // Enter the id# of the album here
}
?>

[more code goes here]

<?php the_gallery_head(); ?>

[more code goes here]

<?php the_gallery(); ?>


This will skip the overall collections and a single collection level and go strait to an album. If you want it to go to a certain collection, just modify the $GLOBAL variables to 'collection' and the collection id#.]]>