[pmwiki-users] upgrading to PHP 8.2

Piotr Dybczyński piotr at dybczynski.pl
Mon Jul 3 00:49:14 PDT 2023


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: piotr at dybczynski.pl
******************************************************************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 
> <piotr at dybczynski.pl <mailto:piotr at dybczynski.pl>>:
> 
>     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: piotr at dybczynski.pl
>     <mailto:piotr at dybczynski.pl>
>     ******************************************************************PAD***/
> 
>     _______________________________________________
>     pmwiki-users mailing list
>     pmwiki-users at pmichaud.com <mailto:pmwiki-users at pmichaud.com>
>     http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>     <http://www.pmichaud.com/mailman/listinfo/pmwiki-users>
> 



More information about the pmwiki-users mailing list