On Tue, Sep 02, 2008 at 08:17:08AM -0400, Owen Winkler wrote:
> 
> Michael C. Harris wrote:
> > 
> > If both plugins use a template the theme can just
> > $theme->display('blogroll') and it will display whichever one is
> > activated, no editing required. Also, if the theme supports it but
> > there is no plugin activated, there will be no output.
> 
> This works, of course, but isn't a long-term solution.
> 
> Instead, what we should do is allow themes to advertise (via their xml 
> definition) what places they allow custom content to appear.  In the 
> past I've called these "hardpoints" - in aeronautical terms, "A 
> hardpoint is any part of an airframe designed to carry an external 
> load."  (Wikipedia)

This all sounds great. Perhaps we could start to write this up on the
wiki ?

An implementation question (or four); what would themes advertise in
their XML ?  A variable to fill ? A selector of some kind, like a CSS
ID ? What advantage would having them in the XML give us, as opposed
to a standard function call to, for example, hardpoints() ?

-- 
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari

--~--~---------~--~----~------------~-------~--~----~
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/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to