Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Fix TagCloudWidget.php to use Requirements::themedCSS

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1559 Views
  • volker
    Community Member
    4 Posts

    Fix TagCloudWidget.php to use Requirements::themedCSS Link to this post


    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,

    Attached Files
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.