LeftRightMinds (Vancouver - Canada) has sponsored some great improvements for Drupal Thickbox module :
- support for flashplayers (at now Flowplayer and Mediaplayer are supported)
<a href="/files/audio/myaudiofile.mp3?width=200&height=20&shownavigation=true&showdigits=true&showstop=false&usefullscreen=false" class="thickbox-flashplayer" title="Audio link">Audio link</a> <a href="/files/videos/myvideofile.flv?width=400&height=300&usefullscreen=false" class="thickbox-flashplayer" title="Video link">Video link</a>Width and height are optional. If not provided, the default values inserted in settings will be used.
The url must be absolute and you can pass on the url the parameters for the player you decided to use in the settings. - support for node body :
To use it create an url like this :<a href="node/1?width=100&height=100" class="thickbox-nodebody">Launch popup</a>Instead of node/1, you can use also the url alias for the node :
<a href="home?width=100&height=100" class="thickbox-nodebody">Launch popup</a>Width and height are optional. If not provided, the default values inserted in settings will be used.
For details and download see here : http://www.speedtech.it/drupal-thickbox-module
Roberto
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | thickbox.patch | 12.39 KB | Roberto Gerola |
Comments
Comment #1
jbrauer commentedRoberto,
Will there be a patch forthcoming with your changes?
Comment #2
tancYes, it would be good to see a patch. Also, when you say node body, does this updated module fetch the content from the database or does it run it through the templating system first? I'm wondering how much style control you get over the node content?
Comment #3
christefano commentedI'm also hoping these features will be contributed as a patch. Announcing these features here (and in the handbook pages) and hosting a forked version somewhere else breaks my heart a little.
Comment #4
Roberto Gerola commentedOk, I'll provide a patch.
Comment #5
Roberto Gerola commentedHi.
I created a patch against the last development version. See the attachment.
Roberto
Comment #6
christefano commentedThanks, Roberto! I'll be testing this soon.
Comment #7
frjo commentedI don't believe this is a task for the Thickbox module but for CCK fields etc.