Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Widgets

Discuss SilverStripe Widgets.

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

Widget displays twice on pages with submenu


Reply

3 Posts   1696 Views

Avatar
boogieg

19 September 2009 at 9:03pm (Last edited: 22 September 2009 3:06am), Community Member, 23 Posts

Whenever I add a widget to a page with a submenu, the widget displays twice (see http://djmedi4.com/downloads/ and http://djmedi4.com/gallery/) - once above the submenu and once below. I only want the widgets to appear below the submenu.

Any idea why this is happening or how to fix?

thanks,
gina

Avatar
joshy

30 September 2009 at 9:31pm (Last edited: 30 September 2009 9:32pm), Community Member, 57 Posts

http://pastie.org/ your template code.

The most obvious answer is that you have $WidgetArea or similar twice in your template...

Avatar
ulysses

24 November 2009 at 4:47pm Community Member, 57 Posts

Have a read of the section that talks about: But what if I have widgets on my blog currently??

In the link below.

[url]http://doc.silverstripe.org/doku.php?id=widgets[/url]

That might be of some help.