Chuck,

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.

JR


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.

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.


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to