summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-27 22:21:16 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-27 22:21:16 +0000
commitb8c034cb373a9e1f2df684f56e2cb1a42e413d1c (patch)
treec2500092421ed54907dbb92662541318c12e3637
parent26c9ec6d4ba2a563a53b74612af4a0083c7fa23e (diff)
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.
-rw-r--r--modules/slideshow/helpers/slideshow_block.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/slideshow/helpers/slideshow_block.php b/modules/slideshow/helpers/slideshow_block.php
index 8a415a67..4dca2470 100644
--- a/modules/slideshow/helpers/slideshow_block.php
+++ b/modules/slideshow/helpers/slideshow_block.php
@@ -32,6 +32,10 @@ class slideshow_block_Core {
}
public static function tag_top($theme) {
- return "<a href=\"javascript:PicLensLite.start()\" id=\"gSlideshowLink\" class=\"gButtonLink\">Slideshow</a>";
+ /*
+ * Bharat: @todo
+ * You can revert if you want, problem is there is no item, so we don't create the media_rrs feed
+ */
+ return "";
}
}