I am creating a custom homepage with a slideshow on top and content (website presentation) below.
When I place printSlideShow before printPageContent, the page content does not show.
When I place printPageContent before printSlideShow, the content appears normally.
Here is the code I use
<?php
$albumobj = new Album( $_zp_gallery, "top.alb");
printSlideShow(false,false,$albumobj," ", "640","427");
?>
and
<?php printPageContent(); ?>
Comments
No error.
If I place the Slideshow code in a codeblock in a Zenpage, I do get an error:
Notice: Bad gallery in instantiation of album top.alb. in \wwwroot\fep\zp-core\class-album.php on line 48
You did correctly add the needed js files to the page's ``? Except for the slideshow.php page you need to do that manually.
I will have to try that later myself as that generally should work.