Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-11 21:57:43
- Hesoyam
- New Member
- Registered: 2007-03-11
- Posts: 4
SimpleViewer Integration
I want to integrate simpleviewer (http://www.airtightinteractive.com/simpleviewer/) on my textpattern installation located here:
http://isaboccioni.altervista.org/marolda/
I need to integrate it on the default page template but i need the default page physically because simpleviewer had a condition:
_______________________________________________________________
“11. How do I insert SimpleViewer into a pre-existing HTML page?
Copy the contents of your SimpleViewer gallery folder into the folder that contains your HTML page (make sure that the swfobject.js file is in the folder, as this file is required for the code below). Now edit your HTML page in a text editor. Add this code into the <head> tag:
<script type=“text/javascript” src=“swfobject.js”></script>
Add the following code in your HTML where you want SimpleViewer to appear. To set the size of SimpleViewer, replace “640”, “480” with your required width and height
<div id=“flashcontent”>
SimpleViewer requires Macromedia Flash.
<a href=“http://www.macromedia.com/go/getflashplayer/”>
Get Macromedia Flash.</a> If you have Flash installed,
<a href=“index.html?detectflash=false”>click to view gallery</a>
</div>
<script type=“text/javascript”>
var fo = new SWFObject(“viewer.swf”, “viewer”,
“640”, “480”, “7”, “#181818”);
fo.write(“flashcontent”);”
_______________________________________________________________
I couldn’t locate the default template to insert simpleviewer folder here…
Help! Thanks in advance…
Last edited by Hesoyam (2007-03-11 22:03:40)
Offline
#2 2007-03-11 22:05:42
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: SimpleViewer Integration
You need to put the .js file in folder /marolda/. You can add the code to the default page template under Presentation > Pages.
Offline
#3 2007-03-11 22:07:18
- Hesoyam
- New Member
- Registered: 2007-03-11
- Posts: 4
Re: SimpleViewer Integration
and the simpleviewer folder?
Offline
#4 2007-03-11 22:16:30
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: SimpleViewer Integration
As I understand it, the contents of the Simpleviewer folder (so not the folder itself) need to be in /marolda/. “The folder that contains your html page” is in fact the root of your site, in your case /marolda/, because that is where index.php is (all your Textpattern pages are served through index.php).
Offline
#5 2007-03-11 22:22:01
- Hesoyam
- New Member
- Registered: 2007-03-11
- Posts: 4
Re: SimpleViewer Integration
I tried it…
But it says that i don’t have flash… And i have it installed…
Offline
#6 2007-03-11 22:51:56
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: SimpleViewer Integration
Try the Simpleviewer FAQ.
Offline
#7 2007-03-11 22:52:47
- Hesoyam
- New Member
- Registered: 2007-03-11
- Posts: 4
Re: SimpleViewer Integration
Offline
#8 2007-03-27 12:31:54
- banko
- New Member
- Registered: 2007-01-29
- Posts: 5
Re: SimpleViewer Integration
Can someone help with this?? I have the same problem, have tried with the kimili plugin – but cant really get it to work with that either, maybe do to lack of javascript coding skills.
Hope to get some feedback on this as its driving me crazy! :)
Offline
Re: SimpleViewer Integration
Simpleviewer has had some problems recently. It may be related? I didn’t bother trying to figure out the problems, but I know its addressed at the simpleviewer faqs as Els pointed folk to.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#10 2007-04-15 17:27:35
- escapektulu
- New Member
- Registered: 2007-04-15
- Posts: 2
Re: SimpleViewer Integration
why do i keep getting a security risk message when i preview or load the page with the simpleviewer on it ?
Offline
#11 2007-04-15 19:18:08
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: SimpleViewer Integration
Offline
Pages: 1