Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Autoviewer ... plugin!?
Is there a plugin that automates Autoviewer? Using a tag and giving it img id’s or img cat! I can’t find it …
Offline
Re: Autoviewer ... plugin!?
RedFox wrote:
Is there a plugin that automates Autoviewer? Using a tag and giving it img id’s or img cat! I can’t find it …
Seems quite an involved process. I’ve never seen a plugin dedicated to it.
At a push, smd_gallery might be able to do it. I think it could generate a gallery.xml file given some thought. In fact, using smd_gallery and the plugin that sets the mime type of a document (I’ve forgotten its name but it made a reappearance in a discussion on the forum about 4 or 5 months ago), you could set up a page/form that generated what the Flash file thought was a real xml file. Use smd_gallery inside that to fill in the XML template and a simple bit of HTML to call the flash script, telling it in which TXP section to find the ‘fake’ page/form gallery.xml file.
It’s probably no more involved than doing it manually and setting it up in the first place.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Autoviewer ... plugin!?
I’ve not used that particular gallery but another xml-driven flash gallery before where you can specify the source file (you seem to be able to do that with xmlURL argument with your script). I did it just as Stef mentions: I simply set up a new section (not otherwise linked, what Stef calls ‘fake’ :-) and page template + form that output the xml that would normally be in the file, then set the flash gallery to use that url instead of gallery.xml. You can use the mg_setheader content-type plugin, but in my case it worked fine without. As you don’t call up the ‘fake’ section directly it doesn’t matter if it’s not displayed correctly.
The only thing that needed special attention was that the xml entries needed an incrementing number. At the time, I did it with a simple incrementing ++ variable in php but bloke’s smd_gallery will do that now with the {counter}
attribute.
If you use swfobject to embed your flash in the page template you need it for, you can also generate no-flash content for proper accessibility.
Last edited by jakob (2008-08-20 12:56:27)
TXP Builders – finely-crafted code, design and txp
Offline
Re: Autoviewer ... plugin!?
Oops … I’ve work to do. My skills are very limited in this area, but maybe this is a start of a new career … :)
Offline
Re: Autoviewer ... plugin!?
red fox:
You can make Aeron Glenman’s slideshow do this.
no flash required. load it with the txp plugin or with some crazy pom’s insanely versatile gallery solution
Offline
Re: Autoviewer ... plugin!?
This thought ran through my mind for awhile since I was using SimpleViewer but I decided that a JavaScript solution was easier and better than flash.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Autoviewer ... plugin!?
mrdale wrote:
You can make Aeron Glenman’s slideshow do this.
no flash required. load it with the txp plugin or with some crazy pom’s insanely versatile gallery solution
Dale, thanks … I will look into this. BTW … which txp plugin do you mean?
Last edited by RedFox (2008-08-20 18:59:21)
Offline
Re: Autoviewer ... plugin!?
Dale means smd_gallery, which may be found on the forum or at the TXP plugins site.
Offline
Re: Autoviewer ... plugin!?
OK, thanks … there we go!
Offline
Re: Autoviewer ... plugin!?
actually I meant aro_slideshow
Offline
Re: Autoviewer ... plugin!?
I’m working on aro_slideshow and smd_gallery … with no results so far. See this treadpage!
Last edited by RedFox (2008-08-21 12:28:48)
Offline
Pages: 1