Quantcast
Channel: DokuWiki
Viewing all 25280 articles
Browse latest View live

template:bootstrap3:config - created

$
0
0
current
Line 1:Line 1:
 +<= [[template:bootstrap3|Bootstrap3 Template]]
 +
 +====== Bootstrap3: Configurations ======
 +
 +The template can be widely configured via the [[:plugin:config|Configuration Manager]] or manually edit the ''<dokuwiki>/conf/local.php'' file, including a line like:
 +
 +<code .php>
 +$conf['tpl']['bootstrap3']['fluidContainerBtn'] = '1';
 +</code>
 +
 +(This adds a button to turn on / off fluid layout. See the fluidContainerBtn option below.)
 +
 +==== Theme ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''bootstrapTheme'' | Bootstrap theme | multichoice | ''default'' | ''default'' \\ ''optional'' \\ ''custom'' \\ ''bootswatch'' |
 +| ''bootswatchTheme'' | Select a theme from Bootswatch.com | multichoice | ''yeti'' | ''cerulean'' \\ ''cosmo'' \\ ''cyborg'' \\ ''darkly'' \\ ''flatly'' \\ ''journal'' \\ ''lumen'' \\ ''paper'' \\ ''readable'' \\ ''sandstone'' \\ ''simplex'' \\ ''solar'' \\ ''slate'' \\ ''spacelab'' \\ ''superhero'' \\ ''united'' \\ ''yeti'' |
 +| ''customTheme'' | Insert URL of custom theme | string | ''null'' |  |
 +| ''showThemeSwitcher'' | Show Bootswatch.com theme switcher in navbar | onoff | ''0'' |  |
 +| ''hideInThemeSwitcher'' | Hide themes in theme switcher | multicheckbox | ''null'' | ''cerulean'' \\ ''cosmo'' \\ ''cyborg'' \\ ''darkly'' \\ ''flatly'' \\ ''journal'' \\ ''lumen'' \\ ''paper'' \\ ''readable'' \\ ''sandstone'' \\ ''simplex'' \\ ''solar'' \\ ''slate'' \\ ''spacelab'' \\ ''superhero'' \\ ''united'' \\ ''yeti'' |
 +| ''useLocalBootswatch'' | Use the local Bootswatch directory. This option is useful in "intranet" DokuWiki installation | onoff | ''1'' |  |
 +| ''themeByNamespace'' | Use a namespaced theme | onoff | ''0'' |  |
 +
 +
 +==== Sidebar ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''sidebarPosition'' | DokuWiki Sidebar position (''left'' or ''right'') | multichoice | ''left'' | ''left'' \\ ''right'' |
 +| ''rightSidebar'' | The Right Sidebar page name, empty field disables the right sidebar. \\ The Right Sidebar is displayed only when the default DokuWiki [[config:sidebar|sidebar]] is enabled and is on the ''left'' position (see the [[sidebar-position|sidebarPosition]] configuration). If do you want only the DokuWiki sidebar on right position, set the [[sidebar-position|sidebarPosition]] configuration with ''right'' value | string | ''rightsidebar'' |  |
 +| ''leftSidebarGrid'' | Left sidebar grid classes ''col-{xs,sm,md,lg}-x'' (see [[http://getbootstrap.com/css/#grid|Bootstrap Grids]] documentation) | string | ''col-sm-3 col-md-2'' |  |
 +| ''rightSidebarGrid'' | Right sidebar grid classes ''col-{xs,sm,md,lg}-x'' (see [[http://getbootstrap.com/css/#grid|Bootstrap Grids]] documentation) | string | ''col-sm-3 col-md-2'' |  |
 +| ''sidebarOnNavbar'' | Display the sidebar contents inside the navbar (useful on mobile/tablet devices) | onoff | ''0'' |  |
 +| ''sidebarShowPageTitle'' | Display Sidebar page title | onoff | ''1'' |  |
 +
 +
 +==== Navbar ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''inverseNavbar'' | Inverse navbar | onoff | ''0'' |  |
 +| ''fixedTopNavbar'' | Fix navbar to top | onoff | ''0'' |  |
 +| ''showTranslation'' | Display translation toolbar (require //Translation Plugin//) | onoff | ''0'' |  |
 +| ''showTools'' | Display Tools in navbar | multichoice | ''always'' | ''never'' \\ ''logged'' \\ ''always'' |
 +| ''showHomePageLink'' | Display Home-Page link in navbar | onoff | ''0'' |  |
 +| ''homePageURL'' | Use custom URL for home-page links | string | ''null'' |  |
 +| ''showUserHomeLink'' | Display User Home-Page link in navbar | onoff | ''1'' |  |
 +| ''hideLoginLink'' | Hide the login button in navbar. This option is useful in "read-only" DokuWiki installations (eg. blog, personal website) | onoff | ''0'' |  |
 +| ''showEditBtn'' | Display edit button in navbar | multichoice | ''never'' | ''never'' \\ ''logged'' \\ ''always'' |
 +| ''individualTools'' | Split the Tools in individual menu in navbar | onoff | ''0'' |  |
 +| ''showIndividualTool'' | Enable/Disable individual tool in navbar | multicheckbox | ''site,page'' | ''user'' \\ ''site'' \\ ''page'' |
 +| ''showSearchForm'' | Display Search form in navbar | multichoice | ''always'' | ''never'' \\ ''logged'' \\ ''always'' |
 +| ''showAdminMenu'' | Display Administration menu | onoff | ''0'' |  |
 +| ''useLegacyNavbar'' | Use legacy and deprecated ''navbar.html'' hook (consider in the future to use the '':navbar'' hook) | onoff | ''0'' |  |
 +| ''showNavbar'' | Display navbar hook | multichoice | ''always'' | ''logged'' \\ ''always'' |
 +| ''navbarLabels'' | Show/Hide individual label | multicheckbox | ''login,register'' | ''login'' \\ ''register'' \\ ''admin'' \\ ''tools'' \\ ''user'' \\ ''site'' \\ ''page'' \\ ''themes'' \\ ''expand'' \\ ''profile'' |
 +| ''showAddNewPage'' | Enable the Add New Page plugin in navbar  (require //Add New Page Plugin//) | multichoice | ''never'' | ''never'' \\ ''logged'' \\ ''always'' |
 +
 +
 +==== Semantic ====
 +
 +Adds Schema.org markup to enable basic support for semantic data. For full support use the [[:plugin:semantic]] plugin.
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''semantic'' | Enable semantic data | onoff | ''1'' |  |
 +| ''schemaOrgType'' | Schema.org type (''Article'', ''NewsArticle'', ''TechArticle'', ''BlogPosting'', ''Recipe'') | multichoice | ''Article'' | ''Article'' \\ ''NewsArticle'' \\ ''TechArticle'' \\ ''BlogPosting'' \\ ''Recipe'' |
 +| ''showSemanticPopup'' | Display a popup with an extract of the page when the user hover on wikilink (require //Semantic Plugin//) | onoff | ''0'' |  |
 +
 +
 +==== Layout ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''fluidContainer'' | Enable the fluid container (full-width of page) | onoff | ''0'' |  |
 +| ''fluidContainerBtn'' | Display a button in navbar to expand container | onoff | ''0'' |  |
 +| ''pageOnPanel'' | Enable the panel around the page | onoff | ''1'' |  |
 +| ''tableFullWidth'' | Enable 100% full table width (Bootstrap default) | onoff | ''1'' |  |
 +| ''tableStyle'' | Table style | multicheckbox | ''striped,condensed,responsive'' | ''striped'' \\ ''bordered'' \\ ''hover'' \\ ''condensed'' \\ ''responsive'' |
 +| ''showLandingPage'' | Enable the landing page (without a sidebar and the panel around the page) | onoff | ''0'' |  |
 +| ''landingPages'' | Landing page name (insert a regex) | regex | ''(intro)'' |  |
 +| ''showPageTools'' | Enable the DokuWiki-style Page Tools | multichoice | ''always'' | ''never'' \\ ''logged'' \\ ''always'' |
 +| ''pageToolsAnimation'' | Enable the Page Tools animation | onoff | ''1'' |  |
 +| ''showPageId'' | Display the DokuWiki page name (pageId) on top | onoff | ''1'' |  |
 +| ''showBadges'' | Show badge buttons (DokuWiki, Donate, etc) | onoff | ''1'' |  |
 +| ''showLoginOnFooter'' | Display a "little" login link on footer. This option is useful when ''hideLoginLink'' is on | onoff | ''0'' |  |
 +| ''showWikiInfo'' | Display DokuWiki [[config:title|name]], logo and [[config:tagline|tagline]] on footer | onoff | ''1'' |  |
 +
 +
 +==== TOC ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''tocAffix'' | Affix the TOC during page scrolling | onoff | ''1'' |  |
 +| ''tocCollapseSubSections'' | Collapse all sub-sections in TOC to save space | onoff | ''1'' |  |
 +| ''tocCollapseOnScroll'' | Collapse TOC during page scrolling | onoff | ''1'' |  |
 +| ''tocCollapsed'' | Collapse TOC on every pages | onoff | ''0'' |  |
 +| ''tocLayout'' | TOC layout | multichoice | ''default'' | ''default'' \\ ''navbar'' |
 +
 +
 +==== Discussion ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''showDiscussion'' | Display discussion link in tools menu | onoff | ''0'' |  |
 +| ''discussionPage'' | Discussion page name (default is ''discussion:@ID@'', where ''@ID@'' placeholder replace the current page name), empty field disable the link | string | ''discussion:@ID@'' |  |
 +
 +
 +==== Avatar ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''useAvatar'' | Load the avatar image from Gravatar, Libravatar, Microsoft Office365 or local DokuWiki '':user'' namespace | multichoice | ''off'' | ''off'' \\ ''gravatar'' \\ ''libravatar'' \\ ''office365'' \\ ''local'' |
 +| ''gravatarURL'' | Set Gravatar URL  \\  **NOTE:**  \\  - ''http://www.gravatar.com/avatar'' (http)  \\  - ''https://secure.gravatar.com/avatar'' (https)  \\  - ''https://www.gravatar.com/avatar'' (alternative https) | string | ''https://secure.gravatar.com/avatar'' |  |
 +| ''libravatarURL'' | Set Libravatar (or compatible API) URL  \\  **NOTE:**  \\  - ''https://seccdn.libravatar.org/avatar'' (https)  \\  - ''http://cdn.libravatar.org/avatar'' (http) | string | ''https://seccdn.libravatar.org/avatar'' |  |
 +| ''office365URL'' | Set Microsoft Office 365 (or EWS) URL  \\  **NOTE:** This service requires login, so this use case is most useful in a corporate installation, where all users have access to Office 365. | string | ''https://outlook.office365.com'' |  |
 +
 +**NOTE** For local DokuWiki avatar, upload the avatar image with the name of username on user namespace ('':user:<dokuwiki-username>.png'' -- also support ''.jpg'' file extension). 
 +
 +==== Cookie Law ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''showCookieLawBanner'' | Display the Cookie Law banner on footer | onoff | ''0'' |  |
 +| ''cookieLawBannerPage'' | Cookie Law banner page name | string | ''cookie:banner'' |  |
 +| ''cookieLawPolicyPage'' | Cookie Law policy page name | string | ''cookie:policy'' |  |
 +
 +The Cookie Law Banner Notice add a cookie called ''cookieNoticeAccepted'' to use in your JavaScript/PHP code (eg. to add Google Analytics only when the user accept the policy).
 +
 +**JavaScript Snippet:**
 +
 +<file javascript>
 +if (DokuCookie.getValue('cookieNoticeAccepted')) {
 +  // Your JS code (eg. in userscript.js or in 3th-party plugin)
 +}
 +</file>
 +
 +**PHP Snippet:**
 +
 +<file php>
 +if ( ! (get_doku_pref('cookieNoticeAccepted', null)
 +     || get_doku_pref('cookieNoticeAccepted', '')) ) {
 +  // Your PHP code (eg. in 3th-party plugin)
 +}
 +</file>
 +
 +
 +==== Google Analytics ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''useGoogleAnalytics'' | Enable Google Analytics | onoff | ''0'' |  |
 +| ''googleAnalyticsTrackID'' | Tracking ID | string | ''null'' |  |
 +| ''googleAnalyticsAnonymizeIP'' | Anonymize the IP address of visitors | onoff | ''0'' |  |
 +| ''googleAnalyticsNoTrackAdmin'' | Disable tracking for the Admin users | onoff | ''1'' |  |
 +| ''googleAnalyticsNoTrackUsers'' | Disable tracking for all logged users | onoff | ''0'' |  |
 +| ''googleAnalyticsNoTrackPages'' | Disable tracking for specified pages (insert a regex) | regex | ''null'' |  |
 +| ''googleAnalyticsTrackActions'' | Track DokuWiki actions (edit, search, etc) | onoff | ''0'' |  |
 +
 +
 +==== Browser Title ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''browserTitle'' | DokuWiki browser title (default is ''@TITLE@ [@WIKI@]'', where ''@TITLE@'' placeholder replace the current page title and ''@WIKI@'' replace the DokuWiki name) - see [[config:title|title]] config | string | ''@TITLE@ [@WIKI@]'' |  |
 +| ''browserTitleShowNS'' | Display the previous page name of current page on the browser title | onoff | ''0'' |  |
 +| ''browserTitleCharSepNS'' | Character separator for every namespaces on browser title | multichoice | ''-'' | ''-'' \\ ''|'' \\ '','' \\ ''/'' \\ ''>'' |
 +| ''browserTitleOrderNS'' | Set the order of namespaces | multichoice | ''normal'' | ''normal'' \\ ''reverse'' |
 +
 +
 +==== Page ====
 +
 +^ Option ^ Description ^ Value Type ^ Default Value ^ ^
 +| ''showPageInfo'' | Show page info (e.g., date, author) | onoff | ''1'' |  |
 +| ''useACL'' | Use ACL for sidebars (left and right) and for all DokuWiki hooks (eg. '':footer'', '':navbar'', etc.)  \\  **NOTE:** Available since "Elenor of Tsort" DokuWiki release | onoff | ''0'' |  |
 +| ''showPurgePageCache'' | Display the "Purge Cache Page" button in Page Tools | multichoice | ''never'' | ''never'' \\ ''logged'' \\ ''always'' |
 +| ''pageInfo'' | Display/Hide page info elements | multicheckbox | ''filename,extension,date,editor,locked'' | ''filename'' \\ ''extension'' \\ ''date'' \\ ''editor'' \\ ''locked'' |
 +| ''pageInfoDateFormat'' | Date format | multichoice | ''dformat'' | ''dformat'' \\ ''human'' |
 +| ''showPageIcons'' | Display useful icons (print, share link, send mail, etc.) on page | onoff | ''0'' |  |
 +| ''pageIcons'' | Select the icons to display | multicheckbox | ''social-share,feed,send-mail,permalink,print,help'' | ''social-share'' \\ ''feed'' \\ ''send-mail'' \\ ''permalink'' \\ ''print'' \\ ''help'' |
 +| ''socialShareProviders'' | Select the social share links to display | multicheckbox | ''facebook,google-plus,linkedin,pinterest,whatsapp,twitter,telegram'' | ''facebook'' \\ ''google-plus'' \\ ''linkedin'' \\ ''pinterest'' \\ ''whatsapp'' \\ ''twitter'' \\ ''telegram'' |
 +| ''tagsOnTop'' | Move all Tags on top of the page, beside the page-id (require //Tag Plugin//) | onoff | ''1'' |  |
 +| ''useAnchorJS'' | Use AnchorJS | onoff | ''1'' |  |
 +| ''collapsibleSections'' | Collapse 2nd section level (useful in mobile/tablet devices) | onoff | ''0'' |  |
 +| ''domParserMaxPageSize'' | Set the max size of the page content for DOM Parser. The optimal and default value is ''600000'' (600KB) | numeric | ''600000'' |  |
 +
 +
 +==== Deprecated configurations ====
 +
 +^ Option ^ Description ^
 +| ''useLegacyNavbar'' | Use '':navbar'' DokuWiki hook page (see [[#dokuwiki_hooks|DokuWiki hooks]] paragraph) |
 +| ''useGravatar'' | Replaced by ''useAvatar'' configuration |
  

template:bootstrap3:hooks - created

$
0
0
current
Line 1:Line 1:
 +<= [[template:bootstrap3|Bootstrap3 Template]]
 +
 +====== Bootstrap3: Hooks ======
 +
 +==== HTML Hooks ====
 +
 +All files must be located in the template directory (''lib/tpl/bootstrap3/'') or your ''conf/'' directory (upgrade-safe).
 +
 +^ File Name           ^ Position of included HTML ^
 +^ ''meta.html''       | Inside the HTML ''<head>'', use this to add additional styles or metaheaders |
 +^ ''topheader.html''  | At the very top of the page right after the ''<body>'' tag |
 +^ ''header.html''     | Above the upper blue bar, below the pagename and wiki title |
 +^ ''navbar.html''     | **DEPRECATED** (see the note below) - Inside the navbar, use this to add additional links (e.g. ''<li><a href="/foo">Foo</a></li>'') |
 +^ ''pageheader.html'' | Below the breadcrumbs, above the actual content |
 +^ ''pagefooter.html'' | Above the lower blue bar, below the last changed Date |
 +^ ''footer.html''     | At the very end of the page just before the ''</body>'' tag |
 +^ ''sidebarheader.html'' | On top of the sidebar |
 +^ ''sidebarfooter.html'' | On bottom of the sidebar |
 +^ ''social.html''        | Below the ''header.html'', use this to add a social buttons (eg. Google+, Twitter, LinkedIn, etc) |
 +^ ''rightsidebarheader.html'' | On top of the right sidebar |
 +^ ''rightsidebarfooter.html'' | On bottom of the right sidebar |
 +
 +:!: ** NOTE for navbar.html **
 +
 +This [[https://github.com/LotarProject/dokuwiki-template-bootstrap3/commit/c10c0488c2581f8c6e04320c2716edf301f046f9|c10c048 commit]] introduced a new navbar hook ('':navbar''). Please use this new hook, because the ''navbar.html'' is deprecated and will be removed in the future release of template.
 +
 +If you want to add only the Home-Page link, set the ''showHomePageLink''.
 +
 +==== DokuWiki hooks ====
 +
 +You can customize various parts of your page by creating simple DokuWiki "hook" pages. The bootstrap3 template will plug these page snippets contained in each of these custom pages into the overall layout of the page.
 +
 +^ Page name          ^ Description ^ Per namespaces ^
 +| '':sidebar''       | The sidebar | YES |
 +| '':rightsidebar''  | The right-sidebar | YES |
 +| '':navbar''        | Navbar with sub-menus | YES |
 +| '':pageheader''    | Header of the Wiki article | YES |
 +| '':pagefooter''    | Footer of the Wiki article | YES |
 +| '':footer''        | Footer of the page | YES |
 +| '':cookie:banner'' | Cookie-Law banner | NO |
 +| '':cookie:policy'' | Cookie-Law policy | NO |
 +| '':help''          | Help page for "Help Page Icon" | YES |
 +| '':header''        | Header of page below the navbar | YES |
 +| '':topheader''     | Top Header of page (on top of navbar if ''fixedTopNavbar'' is **off**) | YES |
 +
 +
 +=== Navbar ===
 +
 +This "hook" page is a standard DokuWiki page with an unordered-list of links (internal or external). The templating engine replaces the unordered-list with a menu bar with a dropdown-menu.
 +
 +This is an example:
 +
 +{{ http://lotar.altervista.org/dokuwiki/_media/wiki/template/bootstrap3-template-navbar-page.png?nocache|}} <code>
 +  * [[:start|Home]]
 +  * DokuWiki
 +    * [[:wiki:welcome]]
 +    * [[:wiki:syntax]]
 +    * [[:wiki:dokuwiki]]
 +  * [[:playground:playground]]
 +~~NOCACHE~~
 +</code>
 +
 +
 +:!: It is possible to create different navbars for every namespaces with the same behavior of sidebar page.
  

template:bootstrap3:customizations - created

$
0
0
current
Line 1:Line 1:
 +<= [[template:bootstrap3|Bootstrap3 Template]]
 +
 +
 +====== Bootstrap3: Customizations =======
 +
 +===== Customize the theme =====
 +
 +To customize the theme, edit your ''conf/[[devel:css#user_styles|userstyle.css]]'' (or ''userall.css''). 
 +
 +Bootstrap3 theme provides a special class and attribute in ''<body/>'' tag to identify the current theme and current page or namespace.
 +
 +=== Styling the theme ===
 +
 +<code css> 
 +  /** Vanilla Bootstrap Theme */
 + 
 +  body.default .page-header {
 +    font-weight: 900;
 +  }
 + 
 + 
 +  /** Optional Bootstrap Theme */
 + 
 +  body.optional .img-responsive {
 +    display: inline-block;
 +  }
 + 
 + 
 +  /** Custom Bootstrap Theme */
 + 
 +  body.custom .btn-success {
 +    background-color: green;
 +  }
 +
 +
 +  /** Lumen - Bootswatch.com theme */
 + 
 +  body.lumen .navbar-default {
 +    background-color: red;
 +  }
 +</code>
 +
 +=== Styling the page or namespace ===
 +
 +<code .css>
 +
 +  /** Single page (eg. "wiki:syntax") */
 +
 +  body[data-page-id="wiki:synax"] {
 +    background-color: green;
 +  }
 +
 +
 +  /** Namespace (eg. "wiki:*") */
 +  
 +  body[data-page-id^="wiki:"] {
 +    background-color: red;
 +  }
 +</code>
 +
 +For more information see [[https://developer.mozilla.org/it/docs/Web/CSS/Attribute_selectors|Mozilla Developer Network - Attribute selectors]].
 +
 +
 +===== Change the logo and favicon =====
 +
 +The Logo, Favicon and Apple Touch (bookmark) icons are referenced from multiple locations. The default icons (DokuWiki logo) provided by the template can easily be changed by uploading new image files to the given locations using the **Media Manager** popup or **Fullscreen Media Manager**.
 +
 +=== The site's logo ===
 +
 +  * '':wiki:logo.png''
 +  * '':logo.png''
 +
 +=== The favicon ===
 +
 +  * '':wiki:favicon.ico''
 +  * '':favicon.ico''
 +
 +=== The bookmark icon used by Apple and Android devices ===
 +
 +  * '':wiki:apple-touch-icon.png''
 +  * '':apple-touch-icon.png''
 +
 +===== Namespaced theme =====
 +
 +Since v2016-12-12 release it's possible use different Bootstrap theme for namespace. To enable this feature enable ''themeByNamespace'' option and create ''bootstrap3.themes.conf'' configuration file in your ''DOKU_CONF'' directory:
 +
 +**NOTE**: To manage ''bootstrap3.themes.conf'' configuration file from DokuWiki use [[:plugin:advanced]] plugin.
 +
 +<code>
 +ns:page  theme
 +</code>
 +
 +Example:
 +
 +<code>
 +wiki         default
 +wiki:syntax  optional
 +playground   bootswatch/yeti
 +</code>
  

template:bootstrap3:discussion - [Discussion]

$
0
0
1552687076current
Line 1:Line 1:
 <= [[template:bootstrap3|Bootstrap3 Template]] <= [[template:bootstrap3|Bootstrap3 Template]]
  
-====== Discussion ======+====== Bootstrap3: Discussion ======
  
 ==== I want to use the landingpage function. Can you briefly describe how I can use them. It is not clear what is meant by regex and where I have to take the page. Thank you ==== ==== I want to use the landingpage function. Can you briefly describe how I can use them. It is not clear what is meant by regex and where I have to take the page. Thank you ====

template:bootstrap3

$
0
0
1552687221current
Line 110:Line 110:
 Refer to [[:template]] on how to install and use templates in Dokuwiki. Refer to [[:template]] on how to install and use templates in Dokuwiki.
  
-==== Guide ====+===== Guide =====
  
   * [[template:bootstrap3:config|Configurations]]   * [[template:bootstrap3:config|Configurations]]

plugin:goto:tmp - [Syntax]

$
0
0
1552693325current
Line 12:Line 12:
   ~~GOTO>wiki:syntax~~   ~~GOTO>wiki:syntax~~
  
-The above will force the document to redirect to the [[:wiki:syntax]] page after the default amount of seconds. You can change the default number of seconds in the Configuration Manager.+The above will force the document to redirect to the [[:wiki:syntax]] page after the default number of seconds. It comes set at three seconds. You can change the default number of seconds in the Configuration Manager.
  
 It is possible to link to a subheading of the page: It is possible to link to a subheading of the page:
Line 23:Line 23:
 This will redirect the page after a 15 second pause. This will redirect the page after a 15 second pause.
  
-By default, users can't set the pause length to be faster than two seconds, but this can be changed in the Configuration Manager by setting a new value for the ''minSeconds'' option. The reason for the minimum pause length is that if it's too fast, it becomes difficult to hit the 'Edit Page' button before the redirect happens. If you can't edit the page, then it becomes tricky to remove the redirect.+By default, users can't set the pause length to be faster than two seconds, but this can be changed in the Configuration Manager by setting a new value for the ''minSeconds'' option. The reason for the minimum pause length is that if it's too fast, it becomes difficult to hit the 'Edit Page' button before the redirect happens. If you can't edit the page, then it becomes tricky to remove the redirect. 
  
 ===== Issues ===== ===== Issues =====

plugin:goto:old_discussion

$
0
0
1552690528current
Line 1:Line 1:
-===== Installation ===== 
  
-Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.+===== Discussion =====
  
-===== Requirements =====+Right now this plugin can only redirect to internal wiki pages. I'd like it to be able to redirect to external pages, but I'm a little hazy on how DokuWiki processes URLs. Any help is appreciated.  --- //[[aormond@gmail.com|Allen Ormond]] 2006-06-30 22:35//
  
-This plugin requires the user to have JavaScript enabled in order to work to its fullestHowever, a redirect link will still be displayed even without JavaScript+I don't see the point of a page with a ~~GOTO~~ and then some additional content. I'd suggest that if a page contains only an internal link, make an HTTP-header (HTTP 301 response code) redirection and then show a "Redirected from ..." in the destination page. I'm not that convinced on the subject of automatic external redirection. --- //[[atnbueno@mundoplus.tv|Antonio Bueno]] 2006-07-28 13:25// 
 +>I agree, that does sound nice. However, there are a couple reasons I didn't use an http header redirection. As far as I know, it's impossible to make a simple syntax plugin to do it (or at least it's beyond my abilities)Alsoif the page redirects without being seen, it would become difficult for user to remove the redirect. Of course, I'd love to see a more elegant solution, but this is working for me for now. ^_^ --- //[[aormond@gmail.com|Allen Ormond]] 2006-07-29 01:16// 
 +>>How about a parameter that disables the redirect, e.g. redirect=no? 
 +>>>I set min and default to 0, and use the ?do=edit to stop the redirect. Granted that's not going to work for all users..
  
-The ''pause'' before redirect is controlled by configuration options for the default pause length ( ''seconds'' ) and the minimum pause length allowed ( ''minSeconds'' ). See [[#pause_length]] below.+Sorry, but this Plugin is Crap. Why did you not use the all Wiki Standardcode like : 
  
 +#redirect [[Articlename]] 
  
-===== Syntax =====+??
  
-You can put the GOTO string anywhere in the document, but it probably makes the most sense to put it at the top.+The code you use is to complex and nobody can remember this.
  
-  ~~GOTO>wiki:syntax~~ 
  
-The above will force the document to redirect to the [[:wiki:syntax]] page after the default amount of seconds. You can change the default number of seconds by editing the plugin (by default, this is 10 seconds).+> You're welcome to do better
  
-It is possible to link to a subheading of the page: +> If there actually existed something like an "all Wiki Standardcode", we would all be happy to implement and use it. But there is no such thing! 
-  ~~GOTO>wiki:syntax#subheading~~+>> Ever head of [[http://www.wikicreole.org/ |Wiki Creole]]? --Fabian
  
-You can change the number of seconds on the fly like so: +>>You have to now "#redirect" in the same way like you have to now "~~GOTO~~". 
-  ~~GOTO>wiki:syntax?15~~+>>Use "\inc\lang\en\edit.txt" to advice the users if necessary. 
 +>>The only thing is, that such a basic function should by part of the basecode.
  
-This will redirect the page after a 15 second pause.+---- 
 +$seconds and $minSeconds could by inserted in to the admin-configuration.
  
-=== Pause length ===+----
  
-By default, users can't set the pause length to be faster than two secondsThe reason for the minimum pause length is that if it's too fast, it becomes difficult to hit the 'Edit Page' button before the redirect happensIf you can't edit the page, then it becomes tricky to remove the redirect.+Note that the download links (to yeahway.com) are **broken** as of 2013-07-11. I'm not touching them as I don't know what policy is. 
 +---- 
 +  
 +==== Why not allow to redirect to external sites? ====
  
-===== Revision History =====+Specifying an URL like ''http://www.example.com/path/'' doesn't do what expected. 
 +Is it a bug or a feature? 
 + --- [[user>jno|jno]] //2011/07/08 12:27//
  
-  * 2006-06-30 --- Released. +==== Why not using HTTP redirects? ====
-  * 2006-07-19 --- Made it easier to customize the displayed redirect message. +
-  * 2016-10-02 --- Moved to GitHub, added compability for PHP 7, added redirection to headlines, integration of language files, integration of configuration manager for settings, avoid redirection while editing+
  
 +If you add 
  
-===== Issues =====+  ob_start(); 
 +  ob_implicit_flush(FALSE);
  
-  * The viewer's web browser must have JavaScript enabled in order to automatically redirect. +to ''doku.php'' it would be possible to do HTTP redirects by using ''header('Location: ...');'' , which would have some advantages:
-  * Currently, the plugin only works correctly for internal links.+
  
-===== Updated Version ===== +  - No need to enable JavaScript 
-There is an updated version of ''GOTO'' which has not yet been integrated into the main distribution. It has a feature which had been asked for an several occasionsthe ability to redirect to external sites.  It also contains an entirely new feature, which is the ability to automatically redirect to user pages on login.    +  - No extra clicks for visitorsif they disabled JavaScript
  
-For documentation and downloadsee the ''GOTO'' [[plugin:goto:supplement]]+The issue "editing a page may be tricky" is not right - you can always enter "pagename?do=edit" manually in the browser - so what's the point? 
 + 
 +=== User stupidity === 
 + 
 +Simple - You can't rely on the fact that all users will be able to know how to use the address bar correctly. If you can't access it through visual scanning and mouse clicksassume 80% of the population will be unable to utilize the feature. 
 +==== Languages ==== 
 + 
 +<code> 
 +Change 
 + 
 +$message = "<strong>You will be redirected to %d in approximately %s seconds.</strong>"; 
 + 
 +to  
 + 
 +$message = "<strong>".$this->getLang('redirect')."</strong>";  
 +</code> 
 + 
 + 
 +and 
 + 
 +Input this in the Path "lang" 
 + 
 + 
 +== en == 
 +<code php> 
 +<?php 
 +/* 
 +English language file 
 + 
 +%d will be replaced with a link to the destination. 
 +%s will be replaced with the number of seconds before redirect. 
 + */ 
 +$lang['redirect']="You will be redirected to %d in approximately %s seconds."; 
 +//Setup VIM: ex: et ts=2 enc=utf-8 : 
 +?> 
 +</code> 
 + 
 + 
 +== de == 
 +<code php> 
 +<?php 
 +/* 
 +German language file 
 + 
 +%d will be replaced with a link to the destination. 
 +%s will be replaced with the number of seconds before redirect. 
 + */ 
 +$lang['redirect']="Diese Seite wird in ungef&auml;hr %s Sekunden umgeleitet zu: %d"; 
 +//Setup VIM: ex: et ts=2 enc=utf-8 : 
 +?> 
 +</code> 
 + 
 +== fr == 
 +<code php> 
 +<?php 
 +/* 
 +french language file 
 + 
 +%d will be replaced with a link to the destination. 
 +%s will be replaced with the number of seconds before redirect. 
 + */ 
 +$lang['redirect']="Vous allez être redirigé vers la page %d dans approximativement %s secondes"; 
 +//Setup VIM: ex: et ts=2 enc=utf-8 : 
 +?> 
 +</code> 
 + 
 +== es == 
 +<code php> 
 +<?php 
 +/* 
 +Spanish language file 
 + 
 +%d will be replaced with a link to the destination. 
 +%s will be replaced with the number of seconds before redirect. 
 + */ 
 +$lang['redirect']="Serás redireccionado a la pagina %d en %s segundos aprox."; 
 +//Setup VIM: ex: et ts=2 enc=utf-8 : 
 +?> 
 +</code> 
 + 
 +==== Great ==== 
 +Great, this plugin made my day. Only issue is that I cannot remember the syntax, #REDIRECT would have been better. 
 + 
 +==== Support for Anchors ==== 
 +The # character is replaced by %23 in the URL, so I've made the following modification to the render function.  This allows the plugin to redirect to a particular section of a page. 
 + 
 + function render($format, &$renderer, $data) { 
 + $message = str_replace("%d",$renderer->internallink($data[0], $data[0],'', true),$data[2]); 
 + $message = str_replace("%s",$data[1],$message); 
 + $renderer->doc .= $message; 
 + $urlArr = split('#', $data[0], 2); 
 + $url = wl($urlArr[0]); 
 + if (count($urlArr) > 1) { 
 + $url .= '#'.$urlArr[1]; 
 +
 + $renderer->doc .= '<script>url="'.$url.'";setTimeout("location.href=url",'.($data[1]*1000).');</script>'; 
 +
 + 
 +==== Support for external pages ==== 
 + 
 +Minor modifications which allow: 
 +  - external pages to be referenced. 
 +  - doesn't output the javacode when looking at page preview. 
 + 
 +<code> 
 +--- ./syntax.php      2006-07-19 14:33:18.000000000 -0400 
 ++++ ./syntax.php        2010-09-27 14:19:29.000000000 -0400 
 +@@ -48,18 +48,29 @@ 
 +                                $matches = explode("?", substr($match,7,-2)); 
 +                                if (is_numeric($matches[1])){ $seconds = $matches[1]; } 
 +                                if ($seconds < $minSeconds){ $seconds = $minSeconds; }//Check that seconds is greater than $minSeconds. 
 +-                               resolve_pageid(getNS($ID), $matches[0], $exists); 
 ++                               if (substr($matches[0],0,7) == "http://") 
 ++                                       resolve_pageid(getNS($ID), $matches[0], $exists); 
 +                                $message = str_replace("%D","%d",$message);//Make %d case insensitive. 
 +                                $message = str_replace("%S","%s",$message);//Make %s case insensitive. 
 +                                return array($matches[0], $seconds, $message); 
 +                        } 
 + 
 +                        function render($format, &$renderer, $data) { 
 +-                               $message = str_replace("%d",$renderer->internallink($data[0], $data[0],'', true),$data[2]); 
 +-                               $message = str_replace("%s",$data[1],$message); 
 +-                               $renderer->doc .= $message; 
 +-                               $renderer->doc .= '<script>url="'.wl($data[0]).'";setTimeout("location.href=url",'.($data[1]*1000).');</script>'; 
 ++                                global $ACT; 
 ++                               if (substr($data[0],0,7) == "http://") { 
 ++                                       $message = str_replace("%d",$renderer->internallink($data[0], $data[0],'', true),$data[2]); 
 ++                                       $message = str_replace("%s",$data[1],$message); 
 ++                                       $renderer->doc .= $message; 
 ++                                       if ($ACT != 'preview') 
 ++                                               $renderer->doc .= '<script>url="'.wl($data[0]).'";setTimeout("location.href=url",'.($data[1]*1000).');</script>'; 
 ++                               } else { 
 ++                                       $message = str_replace("%d", "<a href=\"".$data[0]."\">".$data[0]."</a>",$data[2]); 
 ++                                       $message = str_replace("%s", $data[1],$message); 
 ++                                       $renderer->doc .= $message; 
 ++                                       if ($ACT != 'preview') 
 ++                                               $renderer->doc .= '<script>url="'.$data[0].'";setTimeout("location.href=url",'.($data[1]*1000).');</script>'; 
 ++                               } 
 +                        } 
 + 
 +                } 
 +</code>

plugin:goto - [Old Discussion]

$
0
0
1552693786current
Line 62:Line 62:
  
 ===== Old Discussion ===== ===== Old Discussion =====
-[[plugin:goto:old_discussion]]+To review old issues and discussion: [[plugin:goto:old_discussion]]
  

user:michaelsy:start

$
0
0
1542365738current
Line 3:Line 3:
   * [[plugin:phpwikify#download_and_installation|plugin:phpwikify#download_and_installation]]   * [[plugin:phpwikify#download_and_installation|plugin:phpwikify#download_and_installation]]
  
 +===== Sidebar Test =====
  
 +[[user:michaelsy:sidebar|user:michaelsy:sidebar]]

user:michaelsy:sidebar

$
0
0
1552734157current
Line 5:Line 5:
 (Outcome: This sidebar page is not considered.) (Outcome: This sidebar page is not considered.)
  
 +[[user:michaelsy:|<= Back to the start page]]

plugin:goto:supplement - [2. Configured Background Process]

$
0
0
1552739675current
Line 13:Line 13:
  
 ==== 2. Configured Background Process ==== ==== 2. Configured Background Process ====
-Unlike **1** this method requires no additional plugin markup. On login, the auto login feature redirects the user to the user's page.  This page is based on the ''userid'' and is configured using the ''auto_options'' setting.  For this to work, the ''auto_login'' option must be set to true.  +Unlike **1** this method requires no additional plugin markup. On login, the auto login feature redirects the user to the user's page.  This page is based on the ''userid'' and is configured using the ''auto_options'' setting.  For this to work, the ''auto_login'' option must be set to true.  The redirection occurs immediately, without a delay.
 ==== Configuration ==== ==== Configuration ====
 ^Option^Description^Default^ ^Option^Description^Default^

user:michaelsy:sidebar

$
0
0
1552734347current
Line 5:Line 5:
 (Outcome: This sidebar page is not considered.) (Outcome: This sidebar page is not considered.)
  
-[[user:michaelsy:|<= Back to the start page]]+[[user:michaelsy:|<= Back to my start page]]

plugin:foldablelist - created

$
0
0
1552862432current
Line 13:Line 13:
 tags       : list, fold, hide tags       : list, fold, hide
  
-downloadurl: # eg. http://github.com/medmen/dokuwiki-plugin-foldablelist/zipball/master +downloadurl: http://github.com/medmen/dokuwiki-plugin-foldablelist/zipball/master 
-bugtracker : # eg. http://github.com/medmen/dokuwiki-plugin-foldablelist/issues +bugtracker : http://github.com/medmen/dokuwiki-plugin-foldablelist/issues 
-sourcerepo : # eg. http://github.com/medmen/dokuwiki-plugin-foldablelist/+sourcerepo : http://github.com/medmen/dokuwiki-plugin-foldablelist/
 donationurl:  donationurl: 
  
Line 42:Line 42:
 === Known Bugs and Issues === === Known Bugs and Issues ===
  
-Please report bugs and issues at: https://github.com/medmen/dokuwiki-plugin-scrollticker/issues+Please report bugs and issues at: https://github.com/medmen/dokuwiki-plugin-foldablelist/issues
  

plugin:struct - version upped

$
0
0
1551739972current
Line 6:Line 6:
 email      : dokuwiki@cosmocode.de  email      : dokuwiki@cosmocode.de 
 type       : syntax, admin, action type       : syntax, admin, action
-lastupdate : 2019-03-03+lastupdate : 2019-03-16
 compatible : Greebo, Frusterick Manners, Elenor Of Tsort, !Detritus, !Hrun, !Ponder Stibbons, !Binky compatible : Greebo, Frusterick Manners, Elenor Of Tsort, !Detritus, !Hrun, !Ponder Stibbons, !Binky
 depends    : sqlite depends    : sqlite

security - Protect /vendor/ directory

$
0
0
1525177539current
Line 35:Line 35:
   * <del>''bin''</del>   * <del>''bin''</del>
   * ''inc'' (isn't dangerous when accessible, though)   * ''inc'' (isn't dangerous when accessible, though)
 +  * ''vendor'' (leaks info about your environment)
  
 To check if you need to adjust the access permissions try to access ''%%http://yourserver.com/data/pages/wiki/dokuwiki.txt%%''. You should not get access to that file this way. To check if you need to adjust the access permissions try to access ''%%http://yourserver.com/data/pages/wiki/dokuwiki.txt%%''. You should not get access to that file this way.
  
-(More about permissions - [[install:permissions|install:permissions]] - but it does not deal with the lack of detailed information about Dokuwiki's directory permissions. I mean about a short form of presentation, e.g. "Above four directories -// /data, /conf, <del>/bin</del>, /inc //- need to have 0700 permissions" etc.)+(More about permissions - [[install:permissions|install:permissions]] - but it does not deal with the lack of detailed information about Dokuwiki's directory permissions. I mean about a short form of presentation, e.g. "Above five directories -// /data, /conf, <del>/bin</del>, /inc, /vendor //- need to have 0700 permissions" etc.)
  
 If your directories are not properly secured, read the following subsections on how to do that. If your directories are not properly secured, read the following subsections on how to do that.
Line 102:Line 103:
 The other way is to use ''LocationMatch'' directive inside ''VirtualHost'' definition - it's a little bit more efficient than ''.htaccess''. Just below ''Directory'' directive add: The other way is to use ''LocationMatch'' directive inside ''VirtualHost'' definition - it's a little bit more efficient than ''.htaccess''. Just below ''Directory'' directive add:
 <code> <code>
-<LocationMatch "/(data|conf|bin|inc)/">+<LocationMatch "/(data|conf|bin|inc|vendor)/">
     Order allow,deny     Order allow,deny
     Deny from all     Deny from all
Line 113:Line 114:
 ---- ----
  
-The above could cause a problem if you have another "root" that includes the directories data|conf|bin|inc. For example another wiki installation.+The above could cause a problem if you have another "root" that includes the directories data|conf|bin|inc|vendor. For example another wiki installation.
 You can avoid this problem by extending your LocationMatch within your wiki installation folder. You can avoid this problem by extending your LocationMatch within your wiki installation folder.
 <code> <code>
Line 121:Line 122:
         </Directory>         </Directory>
  
-        <LocationMatch "/(data|conf|bin|inc)/">+        <LocationMatch "/(data|conf|bin|inc|vendor)/">
             order allow,deny             order allow,deny
             deny from all             deny from all
Line 139:Line 140:
   - click on "Deny Sequence..."   - click on "Deny Sequence..."
   - enter "/data/" in the popup box and click "OK"   - enter "/data/" in the popup box and click "OK"
-  - Repeat the "Deny Sequence..." instruction for the /conf/ /bin/ and /inc/ directories+  - Repeat the "Deny Sequence..." instruction for the /conf/ /bin/ /inc/ and /vendor/ directories
  
  
Line 175:Line 176:
                     <add sequence="/bin/" />                     <add sequence="/bin/" />
                     <add sequence="/inc/" />                     <add sequence="/inc/" />
 +                    <add sequence="/vendor/" />
                 </denyUrlSequences>                 </denyUrlSequences>
             </requestFiltering>             </requestFiltering>
Line 191:Line 193:
   * ''bin''   * ''bin''
   * ''inc'' (isn't dangerous when accessible, though)   * ''inc'' (isn't dangerous when accessible, though)
 +  * ''vendor''
  
 <file xml web.config> <file xml web.config>
Line 210:Line 213:
   - Right-Click the folder and chose Properties -> Directory Security -> IP address and domain name restrictions -> Edit...   - Right-Click the folder and chose Properties -> Directory Security -> IP address and domain name restrictions -> Edit...
   - Choose "By default, all computers will be: Denied access"   - Choose "By default, all computers will be: Denied access"
-  - Repeat this for /data/ /conf/ /bin/ and /inc/ directories+  - Repeat this for /data/ /conf/ /bin/ /inc/ and /vendor/ directories
  
 ==== Deny Directory Access in Lighttpd ==== ==== Deny Directory Access in Lighttpd ====
Line 216:Line 219:
 Using a [[http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModRewrite|URL re-write]] you can deny access to the above directories. In your lighttpd.conf file adding the following URL rewrite rule should be sufficient to keep people out((Unfortunately it does not not when people are using [[https://vivaldi.com/|Vivaldi]] and probably other chromium based browsers. When combined with "mod_access" it does keep people out.)) . It suppose your Dokuwiki files are installed under http://yourwebsite.tld/dokuwiki/. Don't forget to uncomment ''//"mod_rewrite"//'' in the ''//server.modules//'' section. Using a [[http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModRewrite|URL re-write]] you can deny access to the above directories. In your lighttpd.conf file adding the following URL rewrite rule should be sufficient to keep people out((Unfortunately it does not not when people are using [[https://vivaldi.com/|Vivaldi]] and probably other chromium based browsers. When combined with "mod_access" it does keep people out.)) . It suppose your Dokuwiki files are installed under http://yourwebsite.tld/dokuwiki/. Don't forget to uncomment ''//"mod_rewrite"//'' in the ''//server.modules//'' section.
 <code> <code>
-url.rewrite-once = ( "^/dokuwiki/(data|conf|bin|inc)/+.*" => "/nonexistentfolder" )+url.rewrite-once = ( "^/dokuwiki/(data|conf|bin|inc|vendor)/+.*" => "/nonexistentfolder" )
 </code> </code>
  
 Or use ''//"mod_access"//''. More examples available [[http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModAccess|here]]. Or use ''//"mod_access"//''. More examples available [[http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModAccess|here]].
 <code> <code>
-$HTTP["url"] =~ "^/dokuwiki/(data|conf|bin|inc)/+.*" {+$HTTP["url"] =~ "^/dokuwiki/(data|conf|bin|inc|vendor)/+.*" {
     url.access-deny = ("")     url.access-deny = ("")
 } }
Line 235:Line 238:
  
 <code> <code>
-    location ~ /(data|conf|bin|inc)/ {+    location ~ /(data|conf|bin|inc|vendor)/ {
       deny all;       deny all;
     }     }
Line 243:Line 246:
  
 <code> <code>
-    location ~ /(conf|bin|inc)/ {+    location ~ /(conf|bin|inc|vendor)/ {
         deny all;         deny all;
     }     }
Line 258:Line 261:
 then add a new "Regular Expression" rule and put the following in it (supposing that dokuwiki sits on the root directory): then add a new "Regular Expression" rule and put the following in it (supposing that dokuwiki sits on the root directory):
 <code> <code>
-   /(data|conf|bin|inc)/+   /(data|conf|bin|inc|vendor)/
 </code> </code>
 Remember to set it as "NON FINAL", because if not, some code under those directories may still being executed under certain circumstances ("Extensions php" rule as "NON FINAL" present, for example). Remember to set it as "NON FINAL", because if not, some code under those directories may still being executed under certain circumstances ("Extensions php" rule as "NON FINAL" present, for example).
Line 280:Line 283:
  /bin  /bin
  /inc  /inc
 + /vendor
  }  }
 } }

zh:wiki:pagename - 创建

$
0
0
current
Line 1:Line 1:
 +====== PlayGround ======
  
 +这个页面可用来各种测试(详细的Dokuwiki语法请访问[[doku>zh:wiki:syntax|这里]])。

zh:wiki:syntax - [DokuWiki格式语法说明]

$
0
0
1552990417current
Line 2:Line 2:
 ====== DokuWiki格式语法说明 ====== ====== DokuWiki格式语法说明 ======
  
-[[doku>DokuWiki1]] 支持一些简单的标记语言, 以尽最大可能使文档看上去更友好。本页面包含了所有你在编辑页面时可能用到的语法的说明。如果需要查看本页源码,只需要点击页面顶部或者底部的 **编辑本页** 按钮即可。 I如果您是初尝Wiki,那么可以使用 [[playground:playground|Wiki砂箱]] 来尽情挥洒。通过[[doku>toolbar|快捷按钮]],您可以更方便地使用这些标记。+[[doku>DokuWiki]] 支持一些简单的标记语言, 以尽最大可能使文档看上去更友好。本页面包含了所有你在编辑页面时可能用到的语法的说明。如果需要查看本页源码,只需要点击页面顶部或者底部的 **编辑本页** 按钮即可。 I如果您是初尝Wiki,那么可以使用 [[playground:playground|Wiki砂箱]] 来尽情挥洒。通过[[doku>toolbar|快捷按钮]],您可以更方便地使用这些标记。
  
 ===== 基本文本格式 ===== ===== 基本文本格式 =====

plugin:discussion:discussion - [~~DISCUSSION:off~~ doesn't work]

$
0
0
1551694646current
Line 61:Line 61:
 The problem was solved by removing the //.comment//-file of the page. The problem was solved by removing the //.comment//-file of the page.
 It can be found in the //data/meta// directory. It can be found in the //data/meta// directory.
 +
 +Not for me, discussion is off no meta file exist but the discussion is still present on the page.
 ===== IP-address ===== ===== IP-address =====
  

plugin:fckg

$
0
0
1553001943current
Line 38:Line 38:
  
 To use this plugin with the [[data|Structured data plugin]] see [[:plugin:ckgedit:discussion_2#configuration_to_use_different_editors]].  The same technique which is described there for [[:plugin:ckgedit]] works as well for fckg.  To use this plugin with the [[data|Structured data plugin]] see [[:plugin:ckgedit:discussion_2#configuration_to_use_different_editors]].  The same technique which is described there for [[:plugin:ckgedit]] works as well for fckg. 
- 
-==== Version 07 ==== 
-07 introduced the SCAYT check-as-you-type spell checker.  It is based on an upgrade from FCKEditor 2.6.4.1 to 2.6.6. Check the [[http://www.mturner.org/fckgLite/doku.php?id=configuration|fckgLite web site]] and the fckgLite configuration options in the Configuration Manager for options that control SCAYT. 
- 
- 
-Version 07 has a branch with an upgraded table handling facility ([[#table_handling|see below]]). 
- 
-==== Version 08 ==== 
-Version 08 is now available from github: [[https://github.com/turnermm/fckgLite/archive/master.zip|master.zip]].  Version 08 is built on the advanced table handling distribution described [[#table_handling|below]].  This distribution accommodates the irregular file structure of installations of Dokuwiki made with the Ubuntu/Debian package manager and should also accommodate other similar installations. 
- 
-Versions of fckgLite 08 beginning with April 9 2013 require installations of Dokuwiki that come with jQuery (in other words Angua, October 2011, or later). 
-==== dailies ==== 
-The [[http://www.mturner.org/fckgLite/|fckgLite web site]] has a sidebar button named **dailies**, which links to distributions of fckgLite containing the latest fixes and features.  
- 
-At certain points the distribution available from this page is the same as the latest of the dailies.  This can happen when the dailies seem to have reached a stable point. 
- 
- 
 ==== CKEditor ==== ==== CKEditor ====
 There is now a version in development which uses the CKEDitor, instead of the earlier FCKEditor.  You can download it from the There is now a version in development which uses the CKEDitor, instead of the earlier FCKEditor.  You can download it from the
Line 60:Line 43:
  
 You can also get it from [[https://github.com/turnermm/ckgedit/archive/master.zip|github]]. You can also get it from [[https://github.com/turnermm/ckgedit/archive/master.zip|github]].
- 
- 
- 
- 
  
  

plugin:wrap:extensions - [Content Boxes]

$
0
0
1553004326current
Line 111:Line 111:
 \\ \\
  
-===== Content Boxes =====+===== Content Nice Boxes =====
 **[[http://deseng.ryerson.ca/dokuwiki/wiki:content_blocks_with_wrap|Exemples]]** **[[http://deseng.ryerson.ca/dokuwiki/wiki:content_blocks_with_wrap|Exemples]]**
  
Line 122:Line 122:
 --- [[user>FilSalustri|FilSalustri]] //2015-11-24 02:12// --- [[user>FilSalustri|FilSalustri]] //2015-11-24 02:12//
  
 +<file css userstyle.css>
  
 +/* CONTAINER CLASS FOR ANNOUNCEMENTS & DEFAULT COLOURS*/
 +.dokuwiki div.wrap_announcement {
 +    padding: 10px 10px 0px;
 +    margin-bottom: 1.5em;
 +    overflow: hidden;
 +    background-color: #eeeeee;
 +    border: 2px solid #bbbbbb;
 +}
 +
 +/* DEFAULT COLOURS & MODS FOR HEADINGS IN ANNOUNCEMENTS. */
 +.dokuwiki div.wrap_announcement h2,
 +.dokuwiki div.wrap_announcement h3,
 +.dokuwiki div.wrap_announcement h4,
 +.dokuwiki div.wrap_announcement h5,
 +.dokuwiki div.wrap_announcement h6 {
 +    padding: 5px 10px 0px;
 +    margin: -10px -10px 10px;
 +    border: 0;
 +    color: #000000;
 +    background-color: #bbbbbb;
 +}
 +
 +/* ANNOUNCEMENT COLORS */
 +.dokuwiki div.wrap_green {
 +    background-color: #f6fff0;
 +    border: 2px solid #DEF2CF;
 +}
 +.dokuwiki div.wrap_blue { 
 +    background-color: #f0f8ff; 
 +    border: 2px solid #D9E5FD;
 +}
 +.dokuwiki div.wrap_orange { 
 +    background-color: #fff9f6;
 +    border: 2px solid #FEECBD;
 +}
 +.dokuwiki div.wrap_red {
 +    background-color: #FFF5F5;
 +    border: 2px solid #FED1CD;
 +}
 +.dokuwiki div.wrap_yellow {
 +    background-color: #fffff0;
 +    border: 2px solid #F8F8B4;
 +}
 +.dokuwiki div.wrap_purple {
 +    background-color: #fff0ff;
 +    border: 2px solid #FCD9F1;
 +}
 +.dokuwiki div.wrap_aqua {
 +    background-color: #f0fffa;
 +    border: 2px solid #CEE5EE;
 +}
 +
 +/* COLOUR MODS FOR HEADINGS IN ANNOUNCEMENTS. */
 +.dokuwiki div.wrap_green h2,
 +.dokuwiki div.wrap_green h3,
 +.dokuwiki div.wrap_green h4,
 +.dokuwiki div.wrap_green h5,
 +.dokuwiki div.wrap_green h6
 +{ background-color:    #DEF2CF; }
 +
 +.dokuwiki div.wrap_blue h2,
 +.dokuwiki div.wrap_blue h3,
 +.dokuwiki div.wrap_blue h4,
 +.dokuwiki div.wrap_blue h5,
 +.dokuwiki div.wrap_blue h6
 +{ background-color: #D9E5FD; }
 +
 +.dokuwiki div.wrap_orange h2,
 +.dokuwiki div.wrap_orange h3,
 +.dokuwiki div.wrap_orange h4,
 +.dokuwiki div.wrap_orange h5,
 +.dokuwiki div.wrap_orange h6
 +{ background-color: #FEECBD; }
 +
 +.dokuwiki div.wrap_red h2,
 +.dokuwiki div.wrap_red h3,
 +.dokuwiki div.wrap_red h4,
 +.dokuwiki div.wrap_red h5,
 +.dokuwiki div.wrap_red h6
 +{ background-color: #FED1CD; }
 +
 +.dokuwiki div.wrap_yellow h2,
 +.dokuwiki div.wrap_yellow h3,
 +.dokuwiki div.wrap_yellow h4,
 +.dokuwiki div.wrap_yellow h5,
 +.dokuwiki div.wrap_yellow h6
 +{ background-color: #F8F8B4; }
 +
 +.dokuwiki div.wrap_purple h2,
 +.dokuwiki div.wrap_purple h3,
 +.dokuwiki div.wrap_purple h4,
 +.dokuwiki div.wrap_purple h5,
 +.dokuwiki div.wrap_purple h6
 +{ background-color: #FCD9F1; }
 +
 +.dokuwiki div.wrap_aqua h2,
 +.dokuwiki div.wrap_aqua h3,
 +.dokuwiki div.wrap_aqua h4,
 +.dokuwiki div.wrap_aqua h5,
 +.dokuwiki div.wrap_aqua h6
 +{ background-color: #CEE5EE; }
 +
 +</file>
 +
 +--- [[user>florious|florious]] //2019-03-19 15:09//
  
 \\ \\
Viewing all 25280 articles
Browse latest View live