Searchable Custom Blocks

Permalink
Hi, I've designed some custom blocks using the brilliant Designer Content add-on. The blocks form special offer deals. Users need to be able to search the site for these deals under terms such as subject or seller. Is there any way to do this without custom programming? Ideally the results would show all blocks tagged with a company name or a subject. Is this possible?

Any help greatly appreciated.
Thanks,
Dan.

 
WebcentricLtd replied on at Permalink Reply
Hi,
Concrete5 'should' index all of the content in your site based on the area that the block is contained in.

The exception to this is content that is contained in stacks - this does not get picked up by the search indexer.

So, if your block containing the text you want to search on is not in a stack and is in an area that is either indexing whitelisted or not blacklisted then when you run the search indexer it should pick up the text content in that block and be able to search on it.

That all became more long-winded than I expected - does that make sense?
DanK replied on at Permalink Reply
Thanks Andy. The block I have designed has an area for a logo, one for an H2 headline, an H3 and some additional text. I don't see anywhere in Designer Content to add any tags. Would the c5 search facility pick up that the offer was from Joe Bloggs and Co if that text appeared anywhere on the block?

Likewise if the block contained the word 'motoring' would all blocks containing that word show up on the search results page if the user searched for 'motoring'?

Sorry for the longwinded answer and thanks for getting back to me so quickly.
WebcentricLtd replied on at Permalink Best Answer Reply
Hi,
if the text appears in the block - then it should be available after you've redone the search index job.

Try it out and see. I'm assuming that you've likely create a text field for h2 with an html wrapper, a text field for h3 with an html wrapper and a wysiwyg input for your text - whichever way all of the text should be searchable.
DanK replied on at Permalink Reply
That's great, thanks again for your info. I wasn't sure how this all worked, I'll give it a go.

Cheers!