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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

How to add a list of related pages at the bottom of a page.


Reply


3 Posts   689 Views

Avatar
gervel

Community Member, 4 Posts

21 May 2011 at 11:12pm

Hi!, I'm new to silverstripe, I don't know how to add a list of related pages at the bottom of a page.
I have attached an image below showing how it should look like, I want it to generate a list that is related to the topic automatically. Thanks ^^

Attached Files
Avatar
martimiz

Forum Moderator, 1106 Posts

23 May 2011 at 12:35am

You could use some sort of keywords field on each page, where you add a list of keywords, then create a method RelatedPages() in your Page_Controller that looks for similar keywords to the ones attached to the current page?

Avatar
gervel

Community Member, 4 Posts

24 May 2011 at 5:57pm

Hi,
Thanks for the reply, can you give an example?