I'm trying to solve the problem with related articles based on MetaKeywords in v2.4, but without success.
For example, the page SilverStripe Tips and Tricks (class BlogPostPage) has related articles below the content but they're manually added. What I want is to display automatically related articles that contain tags (i.e. MetaKeywords) as this particular page (e.g. silverstripe, cms, framework, tips tricks...). MetaKeywords are displayed as Tags section in the right column.
I enabled the fulltext search feature and tried with the following code but it returns ALL articles on the site no metter whether they contain similar keywords or not:
DataObject::get( "BlogPostPage", "MATCH (MetaKeywords) AGAINST ('$this->MetaKeywords' IN BOOLEAN MODE)" );
as well as
DataObject::get( "BlogPostPage", "MATCH (Title, MenuTitle, Content, MetaTitle, MetaDescription, MetaKeywords) AGAINST ('$this->MetaKeywords')" );
Does anybode have any idea?