[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] Hint Variables



Cook, Garry wrote:
>
> When using Hint Variables, such as {node:this:name}, what options are
> available in addition to ‘this’?
>
> I’m looking for something like {node:last:name}, so that I can refer
> to the name of the last seen node in a config file.
>
>  
>
There's isn't such a thing at the moment. You have 'this', 'parent'
(which is the node this node is positioned relative to, if it's
relatively positioned), and any node name in the map.

There was a brief discussion the other week about having a 'last
non-relative node', to allow templates to be defined for status
sub-nodes more easily, and also a way to refer to the 'A' and 'B' nodes
for a given link, but neither of those exists yet. I should really
decide on a standard for these, so they don't just clash with real nodes
- like _ prefixes in C for internal stuff.

Howie

Copyright 1994-2005, by Howard Jones. howie@thingy.com