Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Advarsel

First, All of the stuff below is quite generic and samples only

Second, all the files are considered "foreign" during an upgrade and must be reimplemented.

 

Under Confluence

Download the lightbox zip, upload it to the server and place the files under the install:

Kodeblok
cd /opt/confluence/confluence
mkdir mylightbox
cd mylightbox
mv ~/mylightbox.zip .
unzip mylightbox.zip

Somewhere else in the filesystem

Download the lightbox zip, upload it to the server and place the files under the install:

...

Kodeblok
cd /data
mkdir mylightbox
cd mylightbox
mv ~/mylightbox.zip .

unzip mylightbox.zip
 
ln -s /data/mylightbox  /opt/confluence/confluence/mylightbox

 

The Common Part

Now these can be referenced as /opt/confluence/confluence id the server root, so in Custom HTML add:

...

Kodeblok
<script type="text/javascript" charset="utf-8">
  AJS.$(document).ready(function(){
    AjS.$("a[rel^='mylightbox']").mylightbox();
  });
</script>

 

Confluence page based