DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:colorbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
plugin:colorbox [2012-12-23 17:22] – created tom_cplugin:colorbox [2019-01-28 08:35] (current) harvie
Line 7: Line 7:
 type       : syntax, action type       : syntax, action
 lastupdate : 2012-12-23 lastupdate : 2012-12-23
-compatible : Angua +compatible : Angua, Binky 
-depends    : keywords +depends    :  
-conflicts none +conflicts  :  
-similar    : https://www.dokuwiki.org/plugin:lightboxv2 +similar    : lightbox,lightboxv2 
-tags       : +tags       : lightbox
  
 downloadurl: https://github.com/TomCafferty/plugin-colorbox/zipball/master downloadurl: https://github.com/TomCafferty/plugin-colorbox/zipball/master
 bugtracker : https://github.com/TomCafferty/plugin-colorbox/issues bugtracker : https://github.com/TomCafferty/plugin-colorbox/issues
 sourcerepo : https://github.com/TomCafferty/plugin-colorbox sourcerepo : https://github.com/TomCafferty/plugin-colorbox
-donationurl: lightbox+donationurl: 
 ---- ----
  
Line 24: Line 24:
  
 :!: **External requirements:** This plugin requires the following additional components that must be installed separately:  :!: **External requirements:** This plugin requires the following additional components that must be installed separately: 
-  * [[http://www.jacklmoore.com/colorbox|ColorBox]] +  * [[http://www.jacklmoore.com/colorbox|ColorBox]] - from the download you need only the following two files 
-  * [[plugin:keywords|keywords]]+     - jquery.colorbox-min from the main download file 
 +     - colorbox.css from any one of the example folders
  
   - Install ColorBox. The action plugin looks for the following ColorBox files   - Install ColorBox. The action plugin looks for the following ColorBox files
     * lib/scripts/colorbox/colorbox.css     * lib/scripts/colorbox/colorbox.css
     * lib/scripts/colorbox/jquery.colorbox-min.js     * lib/scripts/colorbox/jquery.colorbox-min.js
-    * lib/scripts/colorbox/linkColorbox.js 
   - Install the colorbox plugin using the Plugin Manager and the download URL above. If you install this plugin manually, make sure it is installed in lib/plugins/colorbox/   - Install the colorbox plugin using the Plugin Manager and the download URL above. If you install this plugin manually, make sure it is installed in lib/plugins/colorbox/
-  - Install Keywords plugin if not already installed+  - Put the downloaded Colorbox files in the plugins/colorbox folder 
  
 Notes:  Notes: 
-  * The /lib/scripts folder is expected to reside in your dokuwiki install folder. The colorbox files can be placed anywhere with appropriate changes to the colorbox action plugin. +  * The colorbox files can be placed anywhere with appropriate changes to the colorbox action plugin. 
   * Only the colorbox files listed above are necessary and not all that are provided in the ColorBox download.   * Only the colorbox files listed above are necessary and not all that are provided in the ColorBox download.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
  
-A colorbox to map a run:+A colorbox to open the Colorbox site:
  
 <code> <code>
 <colorbox>&class=iframe&link=http://www.jacklmoore.com/colorbox&name=ColorBox&</colorbox> <colorbox>&class=iframe&link=http://www.jacklmoore.com/colorbox&name=ColorBox&</colorbox>
-{{keywords>colorbox}} 
 </code> </code>
  
-The keywords plugin is used to identify that this page contains the colorbox pluginThis allows the action plugin to only add the javascript for those pages.+The file linkColorbox.js is a specific example implementation of Colorbox using an iframe contentLook at the downloaded ColorBox examples for various implementations. 
 + 
 +The example can be seen at [[http://clean.glocalfocal.com/doku.php?id=start|Plugin Examples Site]] FIXME
  
 ===== Syntax ===== ===== Syntax =====
Line 60: Line 61:
  
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
 + The default colorbox.css has the backgound set to white.Ichanged the following in the colorbox.css to get a black background 
 +  #cboxOverlay{background:#000;}
  
 ===== Development ===== ===== Development =====
Line 67: Line 69:
 === Change Log === === Change Log ===
  
-{{rss>http://github.com/feeds/TomCafferty/commits/plugin-colorbox/master date}}+{{rss>https://github.com/TomCafferty/plugin-colorbox/commits/master.atom date}}
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
Line 73: Line 75:
  
 === ToDo/Wish List === === ToDo/Wish List ===
 +  - The command line should allow specification of the specific implementation that is now done in linkColorBox.js.This would eliminate the need for a linkColorBox.js file.
  
  
 ===== FAQ ===== ===== FAQ =====
  
 +I can't use the <colorbox></colorbox>. Everytime i try to use it it put's the text between the two colorboxed on that position. how can i make it work? do i have to add a script to the linkColorbox.js first? Or is it restricted to specific browsers?
 ===== Discussion ===== ===== Discussion =====
 +
 +
 +===== BUG! Broken upgrade =====
 +
 +If i click on "upgrade" button in plugin manager, this will get reinstalled, but stays listed as "upgradeable". Dokuwiki still thinks that there is upgrade available even when it's the same old version.
  
  
  
  
plugin/colorbox.1356279753.txt.gz · Last modified: 2012-12-23 17:22 by tom_c

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki