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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

Page List

Go to End

2 Posts   1283 Views

Nathan Cox

Community Member, 99 Posts

24 January 2008 at 9:14pm

Hi, I was wondering if anyone had ideas about the best way to do this: I have a site where the homepage will have a list of 3 or 4 links to selected other pages. Basically what I want to do is have some kind of user-friendlyish form element on the homepage where you can select which internal pages will go in the link list and in what order.
My first plan was to adapt the WidgetAreaEditor to make a nice drag-drop-and-sort interface, but I thought I should ask here to see if there's a simpler way. Any ideas? Does that make sense?



Community Member, 167 Posts

24 January 2008 at 9:41pm

What I would do is make a custom page type for which you would have a relation table to manage the list of links, and make a .ss file in which you use

<% control Page(whateveryourpagename) %>

and then use that .ss file as an include in other pages.

(In the CMS, don't have the custom page show up in menus and search. Downside is that it would show up in a sitemap.)

Doe this help?