wiki:template:bootstrap3:faq

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:template:bootstrap3:faq [2015/10/10 15:55] Giuseppe Di Terlizziwiki:template:bootstrap3:faq [2016/03/18 11:21] (current) – [Is there an easy way to use Google CSE (google.com/cse) with your template? I would like to display the search box on one page and the search results on another page.] Giuseppe Di Terlizzi
Line 1: Line 1:
 ====== FAQ ====== ====== FAQ ======
  
-===== 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 =====+~~NOTOC~~ 
 + 
 +==== 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:  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: 
Line 9: Line 11:
 ----  ---- 
  
-===== Is there a way to add H3, H4 and even H5 to the TOC? Currently only H1 and H2 is viewable in the TOC. =====+==== 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). 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).
Line 15: Line 17:
 ---- ----
  
-===== 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. =====+==== 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 function ''tpl_pageinfo()'' does not provide options to remove the name of the page or other customization.
Line 23: Line 25:
 ---- ----
  
-===== Is there an easy way to use Google CSE (google.com/cse) with your template? I would like to display the search box on one page and the search results on another page. =====+==== Is there an easy way to use Google CSE (google.com/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 [[https://developers.google.com/custom-search/docs/tutorial/implementingsearchbox|Google CSE - Implementing search box]]): To implement the Google CSE see this steps (adapted from [[https://developers.google.com/custom-search/docs/tutorial/implementingsearchbox|Google CSE - Implementing search box]]):
Line 63: Line 65:
 http://example.org/dokuwiki/search?q=myQuery http://example.org/dokuwiki/search?q=myQuery
  
-<callout type="warning"> +<callout type="tip" icon="true">
-=== NOTE ===+
 If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option. If you use the ''<html>'' tag, enable the [[doku>config:htmlok]] option.
 </callout> </callout>
Line 70: Line 71:
 ---- ----
  
-===== How to add text in the cookies banner as : "this site is using cookies, ... you have to accept...". Thanks for your job. =====+==== 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: Add text in the cookie banner is simple:
  • wiki/template/bootstrap3/faq.1444485308.txt.gz
  • Last modified: 9 years ago
  • by Giuseppe Di Terlizzi