Excellent, works like a charm.
On Oct 26, 2:48 pm, The Editor <[email protected]> wrote:
> You can of course show the source by doing source instead of include.
Can do either, but different results. 'include' shows formatted
output; 'source' shows not formatted of course.
[(include pagename)] vs [(source pagename)]
> P.S. Actually, try this: [(display mypage... template=)] or fmt= with
> this code in config.php
>
> function BOLTFdisplay($args, $zone='') {
> return BOLTdisplay(Array($args[1]), $args, $zone);
> }
This works wonderfully!! By using this function I can now use
template without the search command, and I can use the same template
with search command.
So these two command can use the same template (as long as you put the
display function in your config.php):
[(search group={p1}.id* if='equal "{+p3}" "{?id}" '
template=template.showme)]
[(display {p1}.id.{?id} template=template.showme)]
Thankx 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
-~----------~----~----~----~------~----~------~--~---