that is getting be closer... thanks.

On Thu, Oct 15, 2009 at 11:30 AM, The Editor <[email protected]> wrote:

>
> Templates don't in any way call functions, they load markup from one
> of several potential sources and iterate the pages found through that
> array. If no source is found it takes the literal content of your
> value, in this case 'kevin'.
>
> In your case, you probably could get something with
>
> [(search group=tnet.solutions.*  template={kevin})]
>
> But only the output from the current page, eight times. In other
> words, (unlike PmWiki) variables are not generate dynamically on the
> fly, but once at the time of initialization.
>
> What you could do is this:
>
> [(search group=tnet.solutions.* template='<(kevin {+p})>')]
>
> function BOLTFkevin($args) {
>       $p = explode('.', $args[1]);
>      foreach($p as $key) {
>           $out .= "\nValue = " . $key;
>           }
>      return $out;
>      }
>
> Not tested, but I think you get the idea. Generally it's easiest to
> use functions for any kind of dynamic display. Variables for static
> displays.
>
> Cheers,
> Dan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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