[pmwiki-users] Toggle not hiding
Chuck Goldstein
cgpmw13 at codingmaniac.com
Wed Nov 8 06:23:57 CST 2017
On 11/01/2017 05:08, Hans wrote:
> Hello Simon,
>
> Wednesday, November 1, 2017, 9:19:47 AM, you wrote:
>
>> I've dug into this further, the skin doesn't seem to matter,
>> and you are right, HTMLStylesFmt and HTMLFooterFmt aren't getting
>> set, even though the recipe itself runs
>
> Have you, or could you, run some tests excluding any other recipes,
> one by one, with the aim of identifying a recipe, or some other code,
> which may be in conflict with Toggle? Perhaps comment out all other
> recipe inclusions, test to see if init=hide works in Toggle, adding
> one recipe script after the other, and testing.
>
> cheers,
> Hans
>
>
>
The offending recipe is:
http://www.pmwiki.org/wiki/Cookbook/PageTableOfContents
You can force the Toggle recipe ahead of it by adding
the following after the include of toggle.php:
+ Markup( 'toggle2', '<toggle',
+ '/\\(:toggle\\s+(.*?):\\)/i',
+ 'ToggleMarkup'
+ );
Chuck G.
More information about the pmwiki-users
mailing list