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.

Customising the CMS /

Alternative to the Page Content widget - for user editable content boxes/widgets


Reply


440 Views

Avatar
vwd

Community Member, 160 Posts

18 July 2012 at 2:48pm

Edited: 18/07/2012 3:05pm

Hi,

I've been using the [url=http://www.silverstripe.org/page-content-widget/]Page Content[/url] widget to implement widget like user editable content boxes (eg. left side "Legal Services" and "Service Areas" panels on the [url=http://www.jslaw.com.au]Juliana Smith Lawyer Bendigo[/url] website; and the 4 boxes/widgets below the content panel of the [url=http://www.vitessewebdesign.com.au]Vitesse Web Design Bendigo[/url] website. I've modified the widget so it can parse shortcodes so it's flexible.

My goal was to make it easy for content editors to modify the content in those boxes should they wish, and yet maintain a sound semantic structure.

How do you go achieving this type of functionality? Do you use the Page Content widget, or something else like it? Or do you add HTML fields in SiteConfig (given a fixed number of these content boxes)? Has your approach changed for SS3?

Interested in hearing about how you go about this.

Thank you.
VWD.