310 Posts in 82 Topics by 148 members
Migrating a Site to Silverstripe
SilverStripe Forums » Migrating a Site to Silverstripe » Search custom fields in Class which extends from SiteTree
What you need to know when migrating your existing site to SilverStripe.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 320 Views |
-
Search custom fields in Class which extends from SiteTree

4 December 2012 at 4:51am Last edited: 4 December 2012 4:51am
I've got a classes named 'Winkel', the class Winkel extends from Page, which extends from SiteTree.
The class 'Winkel' has a few custom fields like 'email address' and 'Winkel naam'. How can i make sure the silverstripe search engine also searches in my custom fields. I am clueless at the moment.
Thanks in advance.
(wrong forum, can anyone move it?)
-
Re: Search custom fields in Class which extends from SiteTree

4 December 2012 at 5:46pm
Hi,
maybe http://api.silverstripe.org/trunk/framework/model/DataObject.html#var$searchable_fields
SiteTree inherits from DataObject
| 320 Views | ||
|
Page:
1
|
Go to Top |

