[pmwiki-users] Toggle not hiding
john.rankin at affinity.co.nz
Wed Nov 8 13:14:43 CST 2017
Simon drew this problem with pagetoc to my attention off-list.
Try downloading the latest version and *above* the line in
local/config.php that includes pagetoc.php, add the following line:
$ToggleMarkup = false;
This turns off the (:toggle ... :) markup rule defined in pagetoc. It
also avoids calls to Markup_e so should be compatible with php 7.
Let me know if you encounter any problems.
On 09/11/17 01:23, Chuck Goldstein wrote:
> 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.
> The offending recipe is:
> 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.
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users