Re: upgrading to PHP 8.2
Gregor Klarič <[email protected]>
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <CA+whS2J-Reg=tNc_xv9jtC9W5o6m=gS74-tRvi13Ragqn5nQqQ@mail.gmail.com> |
Yes, you are right, there is an error in the triad.php file, you could also
replace
"SetTmplDisplay('PageHeaderFmt', 0)");
with
SetTmplDisplay('PageHeaderFmt', 0));
and
"SetTmplDisplay('PageTitleFmt', 0)");
with
SetTmplDisplay('PageTitleFmt', 0));
Am Mo., 3. Juli 2023 um 09:49 Uhr schrieb Piotr Dybczyński <
[email protected]>:
> Hi,
>
> it is (:noheader:) directive, that seems not to work.
>
> I had to replace
>
> Markup('noheader','directives','/\\(:noheader:\\)/',
> "SetTmplDisplay('PageHeaderFmt', 0)");
>
> with
>
> function TriadNoHeader() { SetTmplDisplay('PageHeaderFmt', 0); }
> Markup('noheader','directives','/\\(:noheader:\\)/', "TriadNoHeader");
>
>
> Similar with (:notitle:)
>
> Regards,
> Piotr
>
> --
> /************************************************************************
> dr Piotr A. Dybczyński
> homepage: https://www.dybczynski.pl/Piotr e-mail: [email protected]
> ******************************************************************PAD***/
>
> W dniu 2.07.2023 o 21:22, Gregor Klarič pisze:
> > When I take the latest pmiki version, the sample config file and set
> > triad as the skin to use, I get a normal page with the triad skin as
> > seen at https://www.pmwiki.org/wiki/Skins/Triad
> > <https://www.pmwiki.org/wiki/Skins/Triad>
> > Perhaps there are some other modifications loaded or there are some
> > settings in the config.php which cause this?
> >
> > Kind Regards,
> > Gregor
> >
> > Am So., 2. Juli 2023 um 14:25 Uhr schrieb Piotr Dybczyński
> > <[email protected] <mailto:[email protected]>>:
> >
> > Hi,
> >
> > I am working in upgrading all my numerous PmWiki instalations to work
> > under Debian 12 with PHP 8.2 and found several problems.
> >
> >
> >
> > When I start editing a page using PmWiki 2.3.24 and the Triad skin
> > Version = 2023-02-24 without any cookbook allowed:
> >
> > instead of header and title section being removed I see over the
> > editing
> > area:
> >
> > SetTmplDisplay('PageHeaderFmt', 0)SetTmplDisplay('PageTitleFmt', 0)
> >
> > Could you help in correcting this?
> >
> > All the best,
> > Piotr
> > --
> >
> /************************************************************************
> > dr Piotr A. Dybczyński
> > homepage: https://www.dybczynski.pl/Piotr
> > <https://www.dybczynski.pl/Piotr> e-mail: [email protected]
> > <mailto:[email protected]>
> >
> ******************************************************************PAD***/
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > [email protected] <mailto:[email protected]>
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> > <http://www.pmichaud.com/mailman/listinfo/pmwiki-users>
> >
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users