Commit Graph

12 Commits

Author SHA1 Message Date
Tim Almdal
b8c034cb37 Reverted r18930. This is because in the media_rss module we don't generate a media rss feed link if we don't have an item. So if we go an throw a slideshow on there, it doesn't do anything because piclens can't find the feed to produce a slideshow.
You can put it back if you really want to.  It will probably make more sense when we have an alternative slide show taht can work with the children collection.
2008-11-27 22:21:16 +00:00
Bharat Mediratta
bb388af21a Add tag_top() button 2008-11-27 22:08:17 +00:00
Bharat Mediratta
c95c17b133 Centralize logging around installing/uninstalling modules. 2008-11-27 09:45:26 +00:00
Bharat Mediratta
c6f0cc036d Move all block callbacks from View::block_type() to
$theme->block_type() so that the themer has a consistent interface.
Also added a bunch more callbacks and normalized the names so that the
module author has plenty of options for where stuff gets put on the
page.  Especially renamed album/photo/sidebar to be album_blocks()
photo_blocks() and sidebar_blocks() to make it clear that those are
going to be larger content sections and not just basic insertion
points.

Used __call() to collapse all functions in the theme, which
incidentally makes it trivially easy to add a new insertion point.
2008-11-22 21:46:34 +00:00
Tim Almdal
60191f1d2c Be consistent in naming the album_top block 2008-11-21 23:36:41 +00:00
Tim Almdal
6ec266faa6 2nd attempt at inserting html by modules. 2008-11-21 20:13:28 +00:00
Tim Almdal
992cf22c79 Revert module block approach 2008-11-21 07:06:11 +00:00
Tim Almdal
b78cee6395 A look at away to allow modules to define html head contents (links and js) and also allow modules to contribute blocks to the layout. 2008-11-20 17:32:58 +00:00
Tim Almdal
223449fcbd slideshow::link() returns the entire anchor element 2008-11-19 23:46:40 +00:00
Tim Almdal
c25f21accb Change the album and photo templates to call the slideshow helper to get the slideshow link and button text. The slideshow link will only show up if the slideshow module is installed. 2008-11-19 23:18:41 +00:00
Tim Almdal
ad7ace9b72 The continuing evolution of the slideshow...
1) added a mime_type property to the item module(no database change)
2) created a media_rss module
3) moved most of the functionality for the downloading the images to the media_rss module
2008-11-19 02:31:20 +00:00
Tim Almdal
4bf486955c The start of the slideshow module. Mostly framework stuff, no real implementation yet 2008-11-18 19:09:24 +00:00