Formigo Containers non-searchable?

Permalink Browser Info Environment
Hi, on different pages of my Morph-themed concrete 5 site I have chosen to use Formigo Containers in different blocks as content they look so attractive - however, the content doesn't appear in search results. I'd like to add this functionality, and I tried adding:

public function getSearchableContent() {
return $this->content;
}

to ...\packages\morph\blocks\formigo_containers\controller.php but this had no effect. Can you help point me in the right direction here?

Type: Discussion
Status: New
d0ugal
View Replies: View Best Answer
formigo replied on at Permalink Best Answer Reply
formigo
Try return $this->description

Or if you want to include the title and description do this:

public function getSearchableContent() {
$search = $this->title . ' ' . $this->description . ' ';
return $search;
}


Don't forget to reindex your content.

We should probably add that ourselves so will in the next release.
d0ugal replied on at Permalink Reply
d0ugal
Thanks formigo :) I used the title and description... search results returned fine after reindex :)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.