[pmwiki-users] {$$vars}
Jiri Hladůvka / OBUTEX
admin at obutex.com
Wed May 2 03:57:47 CDT 2007
Patrick R. Michaud napsal(a):
> On Tue, May 01, 2007 at 06:29:28PM +0100, Hans wrote:
>
>> Tuesday, May 1, 2007, 5:19:45 PM, Martin Fick wrote:
>>
>>> Hmm, I guest this means that we already have
>>> templating built into pmwiki, just not with the
>>> include command!
>>>
>> To be precise:
>>
>> The (:include :) directive allows data display via a template, by
>> using this syntax:
>>
>> (:include <templatepage> basepage=<datapage>:)
>>
>> Any {$$var} on <templatepage> will be replaced by the corresponding
>> PTV on <datapage>.
>>
>
> Correction: Any {$:var} on <templatepage> will be replaced by the
> corresponding PTV of <datapage>.
>
> After I adjust (:include:), any {$$var} on template page will be
> replaced by the corresponding option value to (:include:) --
> i.e., in the above {$$basepage} in the template would end up
> with the value of <datapage> after the substitution.
>
> Pm
>
>
Does it mean that after you adjust (:include:) not any {$:var} on
<templatepage> will be replaced -- just only {$$var} on template page
will be replaced?
Jiri
More information about the pmwiki-users
mailing list