DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:bootswrapper

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:bootswrapper [2016-04-14 23:16] lotarplugin:bootswrapper [2024-01-09 18:25] (current) Aleksandr
Line 6: Line 6:
 email      : giuseppe.diterlizzi@gmail.com  email      : giuseppe.diterlizzi@gmail.com 
 type       : syntax, action type       : syntax, action
-lastupdate : 2016-04-14 +lastupdate : 2022-09-22 
-compatible : Detritus, Weatherwax, Hrun+compatible : Igor, Hogfather, Greebo, Frusterick Manners, Elenor of Tsort, Detritus, Weatherwax, Hrun
 depends    :  depends    : 
 conflicts  : caption, alertbox conflicts  : caption, alertbox
-similar    : wrap+similar    : mikioplugin, wrap
 tags       : alert, annotations, bootstrap, boxes, button, dropdown, formatting, grids, hide, highlight, icons, jumbotron, language, nav, printing, style, tabs, thumbnail, typography, wrap, callouts, modal, popover tags       : alert, annotations, bootstrap, boxes, button, dropdown, formatting, grids, hide, highlight, icons, jumbotron, language, nav, printing, style, tabs, thumbnail, typography, wrap, callouts, modal, popover
  
Line 21: Line 21:
 ---- ----
  
-Useful plugin for add several Bootstrap components (Jumbotron, Alert, Panel) to DokuWiki especially in combination with a Bootstrap template ([[:template:bootstrap3|Bootstrap3]]).+Useful plugin for adding several Bootstrap components (Jumbotron, Alert, Panel) to DokuWiki especially in combination with a Bootstrap template ([[:template:bootstrap3|Bootstrap3]])
 + 
 +:!: **Note**: This plugin will only work with Bootstrap-compatible templates, of which the default DokuWiki template is not one.
  
 This plugin adds to your DokuWiki, several Bootstrap components: This plugin adds to your DokuWiki, several Bootstrap components:
Line 29: Line 31:
   * [[#alert|Alerts]]   * [[#alert|Alerts]]
   * [[#Text]]   * [[#Text]]
-  * [[#tooltop|Tooltips]]+  * [[#tooltip|Tooltips]]
   * [[#Grids]]   * [[#Grids]]
   * [[#thumbnail|Thumbnails]]   * [[#thumbnail|Thumbnails]]
Line 43: Line 45:
   * Affix   * Affix
   * Carousel   * Carousel
-  * Accordion+  * [[#accordion|Accordion]]
   * Callouts   * Callouts
   * Modal (with ''remote'' attribute)   * Modal (with ''remote'' attribute)
Line 51: Line 53:
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. 
 + 
 +**NOTE**: This plugin require ''SimpleXML'' PHP module. You can install it using a package manager of your Linux distribution. 
 + 
 +Run this command to check if the module is installed in your system: 
 + 
 +<code> 
 +php -m | grep -i simplexml 
 +</code>
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
Line 61: Line 71:
 ==== Jumbotron ==== ==== Jumbotron ====
  
-<code><jumbotron>+<code> 
 +<jumbotron>
 ===== Hello, world! ===== ===== Hello, world! =====
  
Line 67: Line 78:
 component for calling extra attention to featured component for calling extra attention to featured
 content or information. content or information.
-</jumbotron></code>+</jumbotron> 
 +</code>
  
 ==== Panel ==== ==== Panel ====
  
-<code><panel type="default" title="Title of Panel" subtitle="Subtitle" icon="fa fa-house">+<code> 
 +<panel type="default" title="Title of Panel" subtitle="Subtitle" icon="fa fa-home">
 Panel content Panel content
-</panel></code>+</panel> 
 +</code>
  
 ==== Alert ==== ==== Alert ====
Line 94: Line 108:
 ==== Tooltip ==== ==== Tooltip ====
  
-<code><tooltip title="Sample Text" location="bottom">Lorem ipsum</tooltip> dolor sit amet...</code>+<code><tooltip title="Sample Text" placement="bottom">Lorem ipsum</tooltip> dolor sit amet...</code>
  
 ==== Grids ==== ==== Grids ====
Line 154: Line 168:
 </nav></code> </nav></code>
  
-===== Configuration and Settings =====+==== Accordion ==== 
 +<code><accordion> 
 +<panel title="First panel"> 
 +First panel content 
 +</panel> 
 +<panel title="Second panel"> 
 +Second panel content 
 +</panel> 
 +</accordion></code>
  
-^ Configuration  ^ Default  ^ 
-^ loadBootstrap  | 1        | 
  
 ===== Development ===== ===== Development =====
Line 165: Line 185:
 === Change Log === === Change Log ===
  
-{{rss>https://github.com/LotarProject/dokuwiki-plugin-bootswrapper/commits/master.atom author date 1h }}+{{rss>https://github.com/LotarProject/dokuwiki-plugin-bootswrapper/commits/master.atom author date}}
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
Line 187: Line 207:
  
 ===== Discussion ===== ===== Discussion =====
 +
 +==== Image sizes ====
 +
 +What image sizes should we use for jumbotron background?
 +
 +==== Jumbotron and dw2pdf ====
 +
 +Printing the web page makes appear jumbotron. But building the PDF with dw2pdf does it not. What should I do to make it work?
 +
 +Further to this, could full support for dw2pdf be added so that all the feature styles map across?
 +
 +==== Accordion collapsible function ====
 +
 +Hello, thank you for your plugin, it's really useful. I wondering whether there is an option to start the accordion so that **all** the panels are collapsed by default? Using the collapsible function the first panel in the accordion is always open and the rest is collapsed. I was thinking about a workaround with the "collapse button" function but maybe there is another way? - Thanks, Arkul
  
 ===== See also ===== ===== See also =====
plugin/bootswrapper.1460668599.txt.gz · Last modified: 2016-04-14 23:16 by lotar

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