zacnboat
Member
Posted 5 months ago #
I'd like to use the NextGEN Gallery Slideshow function as a permanant fixture in the header of every page.
I'm not sure what the code looks like to do this. How do I call the NextGEN Gallery from PHP to include something into a PHP / CSS managed portion of the site?
Josefus Flavius
Member
Posted 3 months ago #
Inserting the following worked for me:
<div class="widget headerWidget" style="margin-top:5px">
<?php if (function_exists("nggSlideshowWidget"))
{ nggSlideshowWidget(1,250,230); } ?>
</div>
Where you define your CSS instructions - from a stylesheet or in the style= statement
and you include the php command for the slideshow below. In this case:
Gallery ID=1
Width=250
Height=230
You might be able to use additional slideshow parameters as well.
Hope this helps!
J