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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Widgets /

Discuss SilverStripe Widgets.

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

Widget displays twice on pages with submenu


Go to End


3 Posts   2747 Views

Avatar
boogieg

Community Member, 23 Posts

19 September 2009 at 9:03pm

Edited: 22/09/2009 3:06am

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

Community Member, 57 Posts

30 September 2009 at 9:31pm

Edited: 30/09/2009 9:32pm

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

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

Avatar
ulysses

Community Member, 57 Posts

24 November 2009 at 4:47pm

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

In the link below.

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

That might be of some help.