Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
'section toggle' plugin does not work with 'bootstrap3' template.
Avatar
lattekun #1
Member since Dec 2013 · 62 posts
Group memberships: Members
Show profile · Link to this post
Subject: 'section toggle' plugin does not work with 'bootstrap3' template.
I want to use 'section toggle' plugin when I access with mobile phone,
but that plugin does not work with 'bootstrap3' template.
I try to this(https://www.dokuwiki.org/plugin:sectiontoggle#example).

Insert class and 'page'? or ...?!
please, help me.
This post was edited on 2018-09-17, 16:46 by lattekun.
Avatar
lattekun #2
Member since Dec 2013 · 62 posts
Group memberships: Members
Show profile · Link to this post
I want to use this plugin so much.
Avatar
turnermm (Moderator) #3
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I'll look at it when I have some time.  But have you checked the html out put of bootstrap 3?
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
turnermm (Moderator) #4
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I took a quick look but haven't tested.  Try setting type to class and name to dw-content
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
turnermm (Moderator) #5
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
In reply to post #3
I tested and see that it doesn't work.  The html of the page does not follow the expected html for dokuwiki.  Instead, however, you can use the override branch, which you can install from the manual tab using this url:
   https://github.com/turnermm/sectiontoggle/archive/override.zip
Unfortunately, you will have to include the open an close toggle macros on any page that you want to have toggles.  See the description of this method on the section toggle plugin page:
    https://www.dokuwiki.org/plugin:sectiontoggle#override
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
lattekun #6
Member since Dec 2013 · 62 posts
Group memberships: Members
Show profile · Link to this post
Thank you but it doesn't work...uuu
Thank you for your explain.
Avatar
turnermm (Moderator) #7
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I have fixed this.  You can now use the extension manager to download the standard (i.e. master) version:
https://github.com/turnermm/sectiontoggle/archive/master.zip
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
lattekun #8
Member since Dec 2013 · 62 posts
Group memberships: Members
Show profile · Link to this post
Thank you turnermm! It work.
I want to buy you a beer kk
Avatar
turnermm (Moderator) #9
Member since Oct 2009 · 4399 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Glad it is working!
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
The author has attached one file to this post:
wink_smile.png 1,114 Bytes
You have no permission to open this file.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-14, 22:52:41 (UTC +01:00)