<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Chuck,<br>
    </p>
    <p>Simon drew this problem with pagetoc to my attention off-list.</p>
    <p>Try downloading the latest version and *above* the line in
      local/config.php that includes pagetoc.php, add the following
      line:</p>
    <blockquote>
      <p>$ToggleMarkup = false;<br>
      </p>
    </blockquote>
    <p>This turns off the (:toggle ... :) markup rule defined in
      pagetoc. It also avoids calls to Markup_e so should be compatible
      with php 7.</p>
    <p>Let me know if you encounter any problems.<br>
    </p>
    <p>JR<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 09/11/17 01:23, Chuck Goldstein
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:5A02F75D.6060309@codingmaniac.com">On
      11/01/2017 05:08, Hans wrote:
      <br>
      <blockquote type="cite">Hello Simon,
        <br>
        <br>
        Wednesday, November 1, 2017, 9:19:47 AM, you wrote:
        <br>
        <br>
        <blockquote type="cite">I've dug into this further, the skin
          doesn't seem to matter,
          <br>
          and you are right, HTMLStylesFmt and HTMLFooterFmt aren't
          getting
          <br>
          set, even though the recipe itself runs
          <br>
        </blockquote>
        <br>
        Have you, or could you, run some tests excluding any other
        recipes,
        <br>
        one by one, with the aim of identifying a recipe, or some other
        code,
        <br>
        which may be in conflict with Toggle? Perhaps comment out all
        other
        <br>
        recipe inclusions, test to see if init=hide works in Toggle,
        adding
        <br>
        one recipe script after the other, and testing.
        <br>
        <br>
        cheers,
        <br>
        Hans
        <br>
        <br>
        <br>
        <br>
      </blockquote>
      <br>
      The offending recipe is:
      <br>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/PageTableOfContents">http://www.pmwiki.org/wiki/Cookbook/PageTableOfContents</a>
      <br>
      <br>
      You can force the Toggle recipe ahead of it by adding
      <br>
      the following after the include of toggle.php:
      <br>
      <br>
      +    Markup( 'toggle2', '<toggle',
      <br>
      +            '/\\(:toggle\\s+(.*?):\\)/i',
      <br>
      +            'ToggleMarkup'
      <br>
      +    );
      <br>
      <br>
      Chuck G.
      <br>
      <br>
      <br>
      _______________________________________________
      <br>
      pmwiki-users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
      <br>
    </blockquote>
    <br>
  </body>
</html>