On Sun, Jan 30, 2011 at 4:02 PM, Owen Winkler <[email protected]> wrote:
> On 1/30/2011 12:16 PM, Michael Bishop wrote: > >> I'm working on adding support for blocks to Mzingi, and am wondering >> if the asides/recent posts and recent comments should be removed, or, >> if not already in the wild, made into blocks. >> > > It seems like a good idea to have a plugin that supplies these blocks, > since they can then be used in other themes, too. > > > Do blocks support ones created by a theme? Meaning, can you include >> your own blocks that are active by default with a theme, or do they >> have to be done via plugins? >> > > Themes can include the plugin hooks to supply blocks, and so they can > produce blocks that are theme-specific. There isn't an easy way I can think > of to activate them when the theme becomes active, but it's probably easy > enough to create and insert a new one into an area upon theme activation if > one of that type in that area doesn't already exist. > That makes sense. My thinking was that since these were initially included for as much as examples as for functionality, would having them somehow included in Mzingi be beneficial for the same purpose. Is there any plan on bundling/including some default blocks in core? If so, there might not be the need for any bundling. ~miklb > > Owen > > > -- > 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-dev > -- 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-dev
