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

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:colorbox [2013-06-08 04:49] – [colorbox Plugin] add tag 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  conflicts 
 similar    : lightbox,lightboxv2 similar    : lightbox,lightboxv2
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
Line 31: Line 32:
     * lib/scripts/colorbox/jquery.colorbox-min.js     * lib/scripts/colorbox/jquery.colorbox-min.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/
-  - Move file linkColorbox.js from plugin installation to lib/scripts/colorbox/linkColorbox.js +  - Put the downloaded Colorbox files in the plugins/colorbox folder 
-  - Install Keywords plugin if not already installed+
  
 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 plugin. This 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 content. Look at the downloaded ColorBox examples for various implementations. The file linkColorbox.js is a specific example implementation of Colorbox using an iframe content. Look 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 62: 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 69: 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 75: Line 75:
  
 === ToDo/Wish List === === ToDo/Wish List ===
-  - The example file linkColorBox.js should be moved back to the plugin folder that it is dowloaded in and the action.php file updated to point to that folder.  This would be a cleaner installation keeping the ColorBox libraries separate from the system implementation. 
   - 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.   - 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.
  
Line 81: Line 80:
 ===== 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.1370659798.txt.gz · Last modified: 2013-06-08 04:49 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