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.

Archive

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

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

Featuring and promoting content manually


Reply

595 Views

Avatar
jfluid

25 July 2008 at 10:31pm Community Member, 1 Post

Hey All,
I'm new to silverstripe and quite excited by what I've learned so far. If anyone can help I'm in need of a little advice!

I have a new project which will be a food & beverage listings site. There is a particular feature I am not sure how to implement - It will be a common feature across the site where on any given page (such as the homepage), the editors would like to feature a set of restaurants. The restaurants that are featured need to be different for each page, eg, if I have a content page named 'Chinese Food', I'd like a different set of restaurants to show than when on a page named 'Japanese Food', but I don't want the set to be dynamically created.

I have followed tutorial 2 (to get news articles listed on the homepage), it is close to what I need but I need the editors to manually specify which articles should show up on a page rather than in the tutorials' case, where it is determined by date.

I would prefer if the mechanism to feature an article was handled from within the content pages, so having a tab with something layed out like the ManyManyComplexTableField would be great.

The stage I am currently at is I have a page type of 'Venue' for my restaurants with a few db fields (cuisine, pricing etc) and the pages containing the features will use the default page type 'Page'. I suspect what I need to do is extremely simple, but I have been stuck for hours! If anyone has any suggestions at all or can point me in the right direction that would be brilliant...

Thanks in advance!