Jump to:

794 Posts in 409 Topics by 304 members


SilverStripe Forums » Widgets » can't get widgets to work in 2.4

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 1388 Views
  • DsX
    Community Member
    178 Posts

    can't get widgets to work in 2.4 Link to this post

    OK, I don't get it, I have followed the instructions here: http://doc.silverstripe.org/widgets#installing_a_widget
    I have the widgets showing in my CMS, I have added them to my page.
    I even installed the newest widget added to the extensions/widgets list (punycode) just incase others weren't good for 2.4.
    I have added the code to my template (I still think this is were my mistake is).
    - I have added both the '$Sidebar' and '<% include SideBar %>' to page.ss
    - and '$Sidebar' to themes/blackcandy/templates/Includes

    as you can see I am simply using blackcandy at the moment.
    The include places the sidebarBox but with out widget content.

    any help is greatly appreciated???

  • DsX
    Community Member
    178 Posts

    Re: can't get widgets to work in 2.4 Link to this post


    I have only ever used widgets in the blog before...

    I do have ecom (trunk installed) and notice that the product links appear in my widgets sidebar box for this section of my dev site.
    So does this mean I have the template correct and the widget is just not working?
    Do any widgets available currently work in 2.4?

    When I add to debugging to my $Sidebar tag in my templates I find that the tag os outputting nothing but a few lines of whitespaces.

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.