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.

All other Modules /

Discuss all other Modules here.

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

Need Help to Render Widgets in the frontEnd


Go to End


2 Posts   795 Views

Avatar
Praveen

Community Member, 49 Posts

13 October 2014 at 4:33pm

Edited: 13/10/2014 4:35pm

I have installed the widgets module on Silverstripe3.1

Created the flickerWidget and the widget is added to Default Sidebar widgetArea.

Flicker fields like PhotSet, UserID is set.
On the template Page made following changes to show the Widgets
page.ss

<% include SideBar %>
<div class="content-container unit size3of4 lastUnit">
<article>
<h1>$Title</h1>
<div class="content">$Content</div>
</article>
$Form
$PageComments
<% loop $WidgetArea("Sidebar") %>
$WidgetHolder
<% end_loop %>
</div>

it is not showing the Flicker widget.

Avatar
thomas.paulson

Community Member, 107 Posts

17 October 2014 at 2:10am

Hello Praveen

the place holder is $SideBarView

Go through https://github.com/silverstripe/silverstripe-widgets for more details