Member
Member
ctdlg   2019-03-17, 15:44
#1

Hello,

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 :
/index.php?p=slideshow&album=Demo%2FPhotos.alb
is only working if used within the Photos.alb album.

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

[/code]

Thanks in advance.

Administrator
Administrator
acrylian   2019-03-17, 15:58
#2

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:
https://docs.zenphoto.org/function-printSlideShow.html

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

`[SLIDESHOW

Member
Member
ctdlg   2019-03-18, 14:31
#3

Thanks acrylian.

Yes, I meant "a Zenpage".
[SLIDESHOW

Administrator
Administrator
acrylian   2019-03-18, 14:35
#4

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.

Member
Member
ctdlg   2019-03-23, 22:42
#5

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.

Member
Member
ctdlg   2019-03-24, 17:20
#6

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.