Forum .LRN Q&A: Re: Integration of Shadowbox.js in Xowiki - Pages

Collapse
Posted by Stefan Sobernig on
So ... somehow I got caught. I assembled a first, working shot to provide for a shadowbox typed link.

To get started:

  1. cd *oacs_dotlrn_installation*/packages/xowiki/
  2. wget http://alice.wu-wien.ac.at:8000/xowiki-doc/download/file/shadowbox-typed-link.patch
  3. patch -p0 < shadowbox-typed-link.patch
  4. cd www/resources && wget http://alice.wu-wien.ac.at:8000/xowiki-doc/download/file/shadowbox-init.js
  5. Get shadowbox and unpack to www/resources/shadowbox

How to use:

[[shadowbox:test.png|My test page|-height 15ex]]

(gallery)

[[shadowbox:test.png|My test page|-media_gallery test -height 15ex]]
[[shadowbox:test.png|My test page|-media_gallery test -height 15ex]]

It should equally work for the supported movie formats, but how to provide parameterisation in a consistent manner would require more thorough evaluation (there is a plethora of options available) ...

Collapse
Posted by Christian Fuchs on
Thanks Stefan,

since I will hand over this information to our technical support person at KnowledgeMarkets and after I am able to test it, I will be back to you.

Looks good for me. Thanks for your time.