Re: [phplib] Template-problem upgrading from php3 -> php4.0.5 From: Roger Ramirez (c0admin <email protected>)
Date: 07/11/01

Whoops I said third parameter should be the second parameter.

On Wed, 11 Jul 2001, Thomas Schneider wrote:

> hi,
>
> thanks all for the quick advice.
> i changed the template.inc from: $str = preg_replace($reg, "{$name}", $str);
> in: $str = preg_replace($reg, "{".$name."}", $str);
>
> to fix it directly in the template.inc, but it still didnt work, so does the
> 7.2c for me too, dont know why. maybe there are
> different versions of 7.2c, and i got an unstable...but when i fix it
> directly in the template.inc it should work....
>
> anyway, no im running the dirty solution, which works for me:
> $sma_tpl->set_block("schablone","landblock","{doitagain}");
>
> thanks
> thomas
>
>
> --
> Abbestellen mit Mail an: phplib-unsubscribe <email protected>
> Kommandoliste mit Mail an: phplib-help <email protected>
>

-- 
Abbestellen mit Mail an:   phplib-unsubscribe <email protected>
Kommandoliste mit Mail an: phplib-help <email protected>