1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Fix TagCloudWidget.php to use Requirements::themedCSS
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1440 Views |
-
Fix TagCloudWidget.php to use Requirements::themedCSS

7 January 2009 at 2:00am
Hi,
is there any special reason, that TagCloudWidget.php to uses 'Requirements::css("blog/css/tagcloud.css")' instead of 'Requirements::themedCSS("tagcloud")'. As far as I saw, this is the only place in the blog module where 'Requirements::css()' is used (in blog-0.2.0-rc1). I think for the sake of configurability this should be changed to 'Requirements::themedCSS()'.
I've attached the trivial one-line patch which does this.
Thank you and regards,
Volker
| 1440 Views | ||
|
Page:
1
|
Go to Top |

