We also might need to put quote marks around the second instring
parameter (at least if we are using spaces: (Maybe not with lists,
which probably would clean it all... Still, good practice)
[(info report if="inlist '{p2}' '{info.tags::{+p}}'" target=info.tags
fmt='* [[{+p}|+]]')]
And then lastly, once we settle on what to do, and get something work
right, we need to update the solution page. If someone would be
willing to do that...
Cheers,
Dan
On Wed, Mar 25, 2009 at 4:36 PM, The Editor <[email protected]> wrote:
>> Getting info tags to use commas rather than spaces might be the best
>> approach, as it allows us to use all of BoltWire's list handling
>> capabilities. But to be honest, I'm not up to it at the moment. Will
>> the option above work?
>
> If anyone cares to tinker a bit, it's probably not that hard at all, actually.
>
> In infotags.php, just change explode(' ', $v)) to explode(',', $v))
> (the space to a comma).
>
> And to display the tag, get rid of the delimiter paramter
>
> Tags: [(list '{info.tags::{p}}' join=' | ' fmt='[[?tag.{+p}|+]]')] [
> [[{p}&action=tags|Edit]] ]
>
> I dunno, maybe a couple other changes. But we it shouldn't be too
> hard. Just need someone to champion it and do the testing, etc.
>
> 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
-~----------~----~----~----~------~----~------~--~---