Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Page List

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

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

Page: 1
Go to End
Author Topic: 1038 Views
  • Nathan Cox
    Community Member
    99 Posts

    Page List Link to this post

    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?


  • SilverRay
    Community Member
    167 Posts

    Re: Page List Link to this post

    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.