Bootstrap3 Template


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

The landing page is a special page without a sidebar (left and right) and the panel around the content. The landing page is enabled when the current page matches with the doku pages stored in the config landingPages. The default value is (intro) but if you want enable other pages, insert the name with regex syntax. For example:

  • (intro|start), enable the landing pages for all “intro” and “start” pages of every namespaces

Is there a way to add H3, H4 and even H5 to the TOC? Currently only H1 and H2 is viewable in the TOC.

The H3~H5 tags are collapsed in TOC and are displayed only during the scroll of the page. This behavior save much space in TOC especially with page with more sections (eg. :wiki:syntax).

Can I remove the filename ''*.txt'' from pages but keep the last edit date and name? I can only comment out ''tpl_pageinfo()'' in the main.php file.

The function tpl_pageinfo() does not provide options to remove the name of the page or other customization.

The correct way to remove the page info, is change value to displayPageInfo in Configuration Manager (see: Others configuration).

Is there an easy way to use Google CSE ( with your template? I would like to display the search box on one page and the search results on another page.

To implement the Google CSE see this steps (adapted from Google CSE - Implementing search box):

Copy and paste in your meta.html hook this code:

  (function() {
    var cx = 'YOUR_ENGINE_ID';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
        '//' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);

Select and save the two-page layout in the Google CSE Control Panel. On one page, implement a stand-alone search box, changing the resultsUrl attribute to point to the url where you want to display the results (eg.

Copy and paste this code in the sidebar (or in one of many hooks or in your preferred location):

<gcse:searchbox-only resultsUrl="YOUR_RESULTS_PAGE_URL"></gcse:searchbox-only>

To implement a stand-alone search results page, create a new DokuWiki page (eg. search) and paste the results code snippet into your results page:


Now you can trigger search results on this page by passing a q argument in the url:

If you use the <html> tag, enable the config:htmlok option.

How to add text in the cookies banner as : "this site is using cookies, ... you have to accept...". Thanks for your job.

Add text in the cookie banner is simple:

  • Enable the flag showCookieLawBanner in Configuration Manager
  • Create a new DokuWiki page with a text “this site is using cookies, … you have to accept…”. The default DokuWiki page is :cookie:banner
  • Optional, create a policy page (the default DokuWiki page is :cookie:policy)
  • wiki/template/bootstrap3/faq.txt
  • Last modified: 3 years ago
  • by Giuseppe Di Terlizzi