[pmwiki-users] Toggle not hiding
nzskiwi at gmail.com
Tue Oct 31 03:45:34 CDT 2017
In config.php I only have
## StarterPack: Activate the Toggle recipe.
$EnablePrintHiddenDivs = 0; # do not print hidden divs
(no showhide or other toggle version).
A full text search of my cookbook folder shows to toggle (other than
thanks, investigation confinues
On 31 October 2017 at 20:38, Chuck Goldstein <cgpmw13 at codingmaniac.com>
> On 10/30/2017 04:46, Simon wrote:
>> I'm seeing different behaviour from Toggle.
>> Specifically I have
>> (:toggle id="searchhelp" init=hide button=1 show="Show search help"
>> hide="Hide search help" set=1:)
>> but the initial state is not hidden, and neither does the state stay
>> I'm using version 2017-08-24
> You are not running the PmWiki Cookbook version of Toggle on that page.
> Instead, you are running a very basic Toggle.
> Perhaps something in your config.php file or another recipe included
> before toggle.php is setting the (:toggle ...:) markup.
> You can try rearranging your recipe includes, or you could add the Toggle
> markup under a different name and use that name in your page. To do that,
> add to your config.php file:
> Markup('togpmw', 'directives', '/\\(:togpmw\\s*(.*?):\\)/i',
> and change the page's toggle call to
> (:togpmw id="searchhelp" . . . etc. :)
> Chuck G.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users