Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorKAES
    • CommentTimeSep 1st 2010 edited
     
    I am trying to integrate supersized image slideshow into my plogger page and have put together the following code to get the pictures into the slideshow.php file.


    <?php if (plogger_has_pictures()) : ?>

    <?php while(plogger_has_pictures()) : plogger_load_picture();?>


    <img src="<?php echo plogger_get_picture_thumb(THUMB_LARGE);?>" title="<?php echo plogger_get_picture_caption(); ?>" />


    <?php endwhile; ?>

    <?php else : ?>
    <div id="no-pictures-msg">
    <h2><?php echo plog_tr('No Images') ?></h2>
    <p><?php echo plog_tr('Sorry, but there are no images in this album yet.') ?></p>
    </div><!-- /no-pictures-msg -->
    <?php endif; ?>

    I striped this from album.php as it does what I need.
    The problem is I am getting a fatal error which reads "Call to undefined function: plogger_has_pictures()"

    I am sill not clear as to how plogger works (php) so I don't know how to call the function before it loads.

    Can anyone please explain what is wrong here or point me in the right direction to some documentation.

    Thanks
    • CommentAuthorKAES
    • CommentTimeSep 2nd 2010
     
    I realized I needed to use the slideshow link function to generate the proper url.

    Now I need to swap out the head.php file with a new head_slideshow.php file which contains the proper scripts and style as I am unable to combine the two. I understand this is getting complicated but possible non-the-less.

    I don't know PHP or JS very well to figure this out on my own. So any knowledgeable people out there that want to take a crack at it I would greatly appreciate it. This is something I would think the community would like to use in the future as well.

    If not any documentation that would help is again greatly appreciated.
    Thanks for the help