Home News Bugs Downloads Docs Forum CVS Stats
Usage
Here are the various ways you can use this add-on. In all of these examples, replace the title and description with real ones. For the folder, this is a sub-folder of /pix/ and does not require an opening or closing slash. For example, if the images are in /pix/slideshow1/ you would simply enter slideshow1. For deeper folders such as /pix/slideshows/slideshow1 you would enter slideshows/slideshow1.
1. From an XT template:
<xt:box
name="slideshowpro/embed"
title="Slideshow Title"
description="Slideshow description..."
folder="folder_name">
</xt:box>
2. From a .spt template:
{box slideshowpro/embed?title=Slideshow
Title&description=Slideshow
description...&folder=folder_name}
3. From within custom PHP code:
<?php
loader_box (
'slideshowpro/embed',
array (
'title' => 'Slideshow Title',
'description' => 'Slideshow description...',
'folder' => 'folder_name',
)
);
?>
4. From the Professional Edition's box chooser:
- In the Xed WYSIWYG editor, click on the Box Chooser icon.
- Select SlideShowPro from the list of apps.
- Select Embed a Slideshow from the list of boxes (this is the only choice).
- Enter a title and description and select the folder from the drop box.
That's all there is to integrating this add-on with your website or web application.