Difference between revisions of "Extension talk:SimpleViewer.php"
From Organic Design wiki
m |
m |
||
Line 9: | Line 9: | ||
*Check that the extension in installed by looking at [[Special:Version]] on your wiki. ''SimpleViewer'' should appear under ''Parser hooks'' | *Check that the extension in installed by looking at [[Special:Version]] on your wiki. ''SimpleViewer'' should appear under ''Parser hooks'' | ||
*Create a test page containing the text: | *Create a test page containing the text: | ||
− | {{simpleviewer:src=Gallery test}} | + | <nowiki>{{simpleviewer:src=Gallery test}}</nowiki> |
*Create an article called ''Gallery test'' with the content | *Create an article called ''Gallery test'' with the content | ||
<pre> | <pre> |
Revision as of 23:29, 1 April 2008
Installation
- Create a folder called SimpleViewer inside your wiki extensions folder
- Download the SimpleViewer.php script
- Save the script into the SimpleViewer folder as SimpleViewer.php
- Download the SimpleViewer flash application from Airtight Interactive
- Unpack the zip and save the resulting simpleviewer folder inside exensions/SimpleViewer
- Add this line to LocalSettings.php
require('$IP/extensions/SimpleViewer/SimpleViewer.php');
- Check that the extension in installed by looking at Special:Version on your wiki. SimpleViewer should appear under Parser hooks
- Create a test page containing the text:
{{simpleviewer:src=Gallery test}}
- Create an article called Gallery test with the content
*Image:Foo.jpg *Image:Bar.jpg *Image:Pic.jpg
Where the image names are replaced with the names of images you have uploaded to your wiki.
- Go to the test page. You should see the gallery appear.