Direct access to slide show.


Slide show link does work from albums.
If I try to add a Slide show button inside a page, it does not work.

Is there a way to access a Slide show without first entering it's album ?

For example, a link like this one :
is only working if used within the Photos.alb album.

The code used on my page to display the button is :

<?php @call_user_func('printSlideShowLink'); ?>

Thanks in advance.


  • acrylian Administrator, Developer

    Yes, it is not possible to directly access the standard slideshow page as that is dependend on the album context.

    You can use the printSlideShow() function directly by setting the appropiate parameters:

    If you mean with "page" a Zenpage page you can alternatively use the content macro to directly embed a slideshow:

    [SLIDESHOW <albumname> <true/false for control]

  • ctdlg Member

    Thanks acrylian.

    Yes, I meant "a Zenpage".
    [SLIDESHOW <true/false for control]
    is ok inside a Zenpage.

    Iv'e used a third solution :
    duplicate my theme,
    set thumbnails to 0
    removed next and previous buttons in album.php.
    I fill the description to fill my "page"
    I apply this theme to a gallery that has to be like a page, and the button to start the slide show works.


  • acrylian Administrator, Developer

    So you actually just wanted to use the slideshow instead of the thumbs and single image page?

    Then a better and much more streamlined solution would actually be to use the multiple_layouts plugin and create a special album.php page layout with those changes, call printSlideshow() directly there and assign that to the albums in question.

  • ctdlg Member

    Yes, this is what I want for some pages.
    I reply with some delay - sorry, I was out !
    I will give a try to your last proposal.

  • ctdlg Member

    Your multiple_layouts plugin is a great plugin : easy to use, powerful ...
    Thanks again.

Sign In or Register to comment.