Sorry, I have to run right at the moment but the critical code looks
like it is engine.php 1961

        if (strpos($var, '*:') !== false) {
                $BOLTstampsDir = BOLTconfig('BOLTstampsDir', 'stamps');
                BOLTvarCache(substr($var, strpos($var, '*:') + 1), substr($var, 
0,
strpos($var, '*:')), "$BOLTstampsDir/", 'test');
                                                  :datafield
                          page
directory
                $out = $BOLTvar[substr($var, 0, strpos($var, 
'*:'))][substr($var,
strpos($var, '*:') + 1)];
                if ($out != '' || $var != '*:title') return
BOLTescape(str_replace("\n", "<br />", $out));
                }

It should probably be if substr($var, 0, 1) == '*'....

Or looking at the code...   You might try

{{+prev}*:diff}

Not sure I like that, but that's what it looks like it is supposed to be...

Cheers,
Dan



On Fri, Feb 27, 2009 at 1:37 PM, Hans <[email protected]> wrote:
>
> 2009/2/27 The Editor <[email protected]>:
>>
>> Stamps are timestamped versions of the current page in the stamps
>> directory.  The * just means look in the stamps folder rather than the
>> pages directory. :diff is the data variable diff, which is saved on
>> each page edit, just before the stamp is made...
>>
>> You could try (no promises):
>>
>> {*{+prev}:diff}.   Or perhaps it would be {+next} given the order of
>> the pages there.
>
> thanks.
> This  {*{+prev}:diff} syntax does not work. It just returns something like
>
> {*test7.1235757995:diff}
>
> The {+prev} and {+next} are rendered as correct page names. But the
> data variable extraction fails.
>
> ~Hans
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to