/[drupal]/contributions/modules/slideshowpro/README.txt
ViewVC logotype

Contents of /contributions/modules/slideshowpro/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Fri Feb 27 00:37:38 2009 UTC (9 months ago) by alexb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
File MIME type: text/plain
Update recommended modules list.
1 // $Id: README.txt,v 1.3 2009/02/26 19:40:00 alexb Exp $
2
3 SLIDESHOWPRO MODULE
4
5 Slideshow Pro Integration for Drupal Image Module
6
7 [ Please note this version of the module is an unofficial Drupal 6 port supplied by danielb http://drupal.org/user/134005 ]
8
9 ---------------------------------------------------------------------------------------------------
10
11
12 REQUIRED MODULES
13 Views http://www.drupal.org/project/views
14
15 RECOMMENDED MODULES
16 Image and Image Gallery http://www.drupal.org/project/image
17
18
19 ---------------------------------------------------------------------------------------------------
20
21
22 INSTALLATION
23
24 1) Get Slideshow Pro from http://www.slideshowpro.net
25 and create an swf file like described in ssphowto.png, export the flash movie as ssp.swf to the slideshowpro module directory. Be sure to start with an ActionScript 2 file and use the AS2 version of the extension.
26
27 2) Install the module
28
29 3) Configure module at Administer -> Site Configuration -> Slideshow Pro integration (admin/settings/ssp)
30
31 4) You can now create a slide show feed with Views module:
32 - Create a Node View
33 - Add a new Display of type 'Feed'
34 - Set the Style to 'SlideShowPro: XML feed'
35 - Set the Row style to 'Node'
36 - Set the Path for the feed e.g. 'path/to/your/feed'
37 - Set up your custom Filters (e.g. to only show published nodes, and your content type or categories, etc..)
38
39 5) Go to Administer -> Site Configuration -> Input formats (admin/settings/filters) and turn on "Inline SSP Slideshows" for
40 the input format of your choice.
41
42 5) Embed the slideshow by adding the following filter macro to the body of your post
43 [ssp|path=path/to/your/feed]
44 [ssp|path=path/to/your/feed|width=300]
45 [ssp|path=path/to/your/feed|width=300|height=200]
46 There are also more advanced options like:
47 [ssp|path=path/to/your/feed|width=300|height=200|params=autoFinishMode:Restart,navAppearance:Hidden]
48 you should be able to pass in any kind of documented SSP setting.
49 * Refer to your SSP User Guide for more options.
50 * Use camelCase for options spelled Camel Case.
51
52
53 ---------------------------------------------------------------------------------------------------
54
55
56 ACTION SCRIPT SNIPPET FOR YOUR SWF
57
58 Put this action script snippet into frame no 1 of your flash application.
59 This snippet copies all values passed in from HTML to the SSP component.
60 Keep the settings on the SSP component to their defaults if you would like
61 to set them with the filter macro.
62
63 // begin
64 // ssp is the name of your SSP component Movie Clip
65 ssp.xmlFilePath = unescape(xmlfilepath);
66 ssp_vars = parameters.split(',');
67 for (var i = 0; i < ssp_vars.length; i++) {
68 var_value = ssp_vars[i].split(':');
69 if (var_value[1] == "True") {
70 var_value[1] = true;
71 }
72 else if (var_value[1] == "False") {
73 var_value[1] = false;
74 }
75 ssp[var_value[0]] = var_value[1];
76 }
77 // end
78
79
80 ---------------------------------------------------------------------------------------------------
81
82
83 SSP AND CCK FIELDS
84
85 For using SlideShowPro together with CCK fields such as the image field, follow the
86 instructions here: http://drupal.org/node/195274#comment-649275
87 (BTW: a how-to write up for this readme file would be highly appreciated)

  ViewVC Help
Powered by ViewVC 1.1.2