[pmwiki-users] Feature I want, multi-select PTVs l like page includes

ccox at endlessnow.com ccox at endlessnow.com
Thu Oct 2 14:01:28 CDT 2014

> On 10/02/2014 07:18 PM, ccox at endlessnow.com wrote:
>> With the include directive you can do things like:
>> (:include SomeGroup/Name OtherGroup/Name:)
>> Where the first available is included.
>> I'd love to see a standard markup for PTV inclusion with something
>> similar, either based on existence of the PTV for a page (where multiple
>> pages could be specified) and optional maybe if the PTV has a value (but
>> I
>> can live without that since empty value is a value).
>> for example
>> {SomeGroup/Name OtherGroup/Name$:Summary}
>> And you'd get back first found like the include directive.
> Of course you can already use
> (:if ! equal "{SomeGroup/Name$:Summary}"
> "":){SomeGroup/Name$:Summary}(:else:){OtherGroup/Name$:Summary}(:ifend:)
> Which is more complicated of course. Plus, this whould yield
> {OtherGroup/Name$:Summary} if {SomeGroup/Name$:Summary} existed, but was
> empty.
> --StefCT

Yes... I wanted something simpler because all that conditional stuff if
there are lots of places to search and you're building a table via a
pagelist format... well... it's sort of a nightmare to look at. :-)

More information about the pmwiki-users mailing list