Re: [Phplib-users] Regex and Templates
Brought to you by:
nhruby,
richardarcher
|
From: S. <bj...@ba...> - 2002-10-31 19:43:22
|
* Rob Hutton wrote:
> The regex {6,32} expression to match 6 to 32 times gets eaten by the
> templates when remove_unknowns is on.
That's because it preg_replace()s all between { and }.
Solution: set remove_unknowns to off, this should be
sufficient (and, if there are any keywords that won't
get replaced, manually set_var() them with "KEYWORD" => ""
in order to remove it).
Same for stylesheets you have in your template (of
course one should define them via <link rel ...>
so that browsers can cache them).
HTH, Björn.
--
35 Kundenportale mit mehreren tausend Nutzern erstellen.
Bei geringen Kosten und einer großen Anzahl an Modulen
(DMS, CMS, CRM, Community-Funktionen). Wie das geht?
=> http://testthesystem.com/ * te...@th...
|