[pmwiki-users] RFC: Ratings Redux
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 27 12:38:35 CDT 2006
On Wed, Sep 27, 2006 at 12:33:01PM -0500, Patrick R. Michaud wrote:
> But in thinking about it more, I still think the [[!Unsupported]]
> approach may be superior. Instead of trying to substitute an
> include at the point of a markup flag, we could have the include
> be handled automatically by the Category.GroupHeader:
>
> (:if target Category.Unsupported:)
> (:include Cookbook.Unsupported:)
> (:if:)
Ooooops, I meant that the above markup could go in the
*Cookbook*'s GroupHeader, not Category.GroupHeader.
> The "target" condition would ask "is there a link from this page
> to Category.Unsupported", and if true then we'd include the contents
> of the Cookbook.Unsupported page. This has the advantage of
> always putting the "unsupported" notice (as well as any others we
> may dream up) at the top of each recipe page, regardless of where
> the [[!Unsupported]] category markup appears in the recipe text.
>
> Pm
More information about the pmwiki-users
mailing list