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

Restricting a search to a subset of pages


Reply

3 Posts   576 Views

Avatar
smert

21 July 2011 at 10:32pm Community Member, 6 Posts

Hi,

I need to create a set of pages that have their own search (it's going to be a knowledgebase).

I am quite happy to use the built in search function, but how do I restrict the results to only pages within the knowledgebase?

Thanks,

Iain

Avatar
swaiba

22 July 2011 at 12:46am (Last edited: 22 July 2011 12:46am), Forum Moderator, 1796 Posts

Hi,

Not sure I can help totally with this, but these posts might help you out a little...

http://www.silverstripe.org/customising-the-cms/show/14067#post288644
http://www.silverstripe.org/all-other-modules/show/6641?start=24#post290089

Avatar
smert

23 July 2011 at 12:44am Community Member, 6 Posts

Thanks for these!

I had looked at the second option before but discarded it. However I have now gone back to it and I think there is something here that I can work with, but I'm struggling to get it running at the moment!