Hi,
Interesting document - just got a few questions, comments and points to think about regarding it, basically just thinking out loud.
The placement seems fine and logical - no issues i can see with that.
If you allow a block to be displayed in multiple areas, is there a way for a block to say "only display in sidebar if im not displayed in content"? Or another might be display in both. If you create a module where a theme blocks a certain location, you may want an alternate location to be displayed? Would this logic be better handled in the module through code or through the admin UI?
Are blocks always square shaped by nature? (as in a full sized div). If you would like to place icons directly above an image for example, would you use a block or not? Just thinking in addition to this - maybe the creation of an "icon" block that is displayed directly above an image that other modules/blocks can add their icon to the list?
In terms of zones/views (home, album, photo, etc). Are you able to define custom zones? If i created a page for example that is called exif which is a full screen representation of the exif details of an image - how would i define a block to show on this page?
In terms of writing a block module, will there be data passed easily to this? Eg album/photos, is there easy access to both of those bits of data?
I guess also in the calling of a block module, the location will be passed through to it so it can display differently depending on location - will this be the case?
Just thought i'd post a few of my ideas after reading the wiki about this part.
Hopefully it'll allow good customisation by modules with minimum effort.
Also i'm guessing that for this bit a lot of the internal functionality in g3 can be exposed as block modules to allow turning this on/off, changing location and easy customisation by authors if the block doesnt exactly suit their needs.
Cheers,
Chris
Chad Kieffer wrote:
Hello,
I've posted a draft block administration UI spec on the codex and have
added a link to this spec in the related Trac ticket. The UI takes
queues from both Wordpress and Drupal block admin interfaces.
Feedback is welcome.
http://codex.gallery2.org/Gallery3:Block_Management_UXthanks,
Chad
------------------------------------------------------------------------------
__[ g a l l e r y - d e v e l ]_________________________
[ list info/archive -->
http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download -->
http://gallery.sf.net ]