diff --git a/core/libraries/Theme.php b/core/libraries/Theme.php
index 4bd8237a..66d0d640 100644
--- a/core/libraries/Theme.php
+++ b/core/libraries/Theme.php
@@ -60,7 +60,6 @@ class Theme_Core {
public function blocks() {
/** @todo: make this data driven */
$blocks = array(
- 'carousel' => carousel::block($this),
'tag' => tag::block($this),
'info' => info::block($this),
'gmaps' => gmaps::block($this),
diff --git a/modules/carousel/helpers/carousel.php b/modules/carousel/helpers/carousel_block.php
similarity index 91%
rename from modules/carousel/helpers/carousel.php
rename to modules/carousel/helpers/carousel_block.php
index 31b513c7..f83a48da 100644
--- a/modules/carousel/helpers/carousel.php
+++ b/modules/carousel/helpers/carousel_block.php
@@ -18,14 +18,14 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class Carousel_Core {
- public static function block($theme) {
+class carousel_block_Core {
+ public static function sidebar($theme) {
$block = new Block();
$block->id = "gCarousel";
$block->title = "Album: {$theme->item()->title_edit}";
$block->content = '
__toString();
}
}
\ No newline at end of file
diff --git a/modules/carousel/helpers/carousel_installer.php b/modules/carousel/helpers/carousel_installer.php
new file mode 100644
index 00000000..3f4d55b5
--- /dev/null
+++ b/modules/carousel/helpers/carousel_installer.php
@@ -0,0 +1,33 @@
+
+= View::sidebar($theme) ?>
foreach ($theme->blocks() as $block): ?>
= $block ?>
endforeach ?>