[pmwiki-users] Fixing an abandoned Cookbook recipe (SlimTableOfContents)

Peter Kay pkay42 at gmail.com
Sat Sep 3 18:21:03 CDT 2016


If you haven't figured it out by early next week, I'll see what I can
do - it's a recipe I used some time ago and liked, and am planning to
make use of again.

I've already gotten a little practice with the old syntax no longer
allowed in php and updating things.

--Peter


On Fri, Sep 2, 2016 at 5:18 PM, Peter Bowers <pbowers at pobox.com> wrote:
>
> On Thu, Sep 1, 2016 at 10:29 PM, Alexander Cherry <lxndr at asu.edu> wrote:
>>
>> As it is written, it is giving that preg_replace_callback error and a
>> diagnostic (action ruleset) gave me this:
>>
>> toc >nl1 B>><>> ! file: /home/public/confessional/cookbook/slimtoc.php,
>> line: 167, pat: /\(:([#\*])?toc:\)(.*)$/se
>>
>> checking line 167 showed me a function using Markup changing Markup to
>> Markup_e gave me yet another error
>
>
>
> Changing Markup(...) to Markup_e(...) is not enough. You have to work
> through the contents of the "...". Please see this page/section:
>
> http://www.pmwiki.org/wiki/PmWiki/CustomMarkup#php55
>
> -Peter
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



More information about the pmwiki-users mailing list