How to have image thumbnail on search results page?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

How to have image thumbnail on search results page?

Post by RyanC »

Hi, I am not using an image gallery but I would like a specific thumbnail image to be associated with each individual page in my site, so when someone searches for a term, the specific page that has that term shows up with an image next to it.

Is this possible?

Thanks
uniqu3

Re: How to have image thumbnail on search results page?

Post by uniqu3 »

Yes with a workaround, you will need CGSimpleSmarty module.
Following this post http://blog.arvixe.com/how-to-add-conte ... h-results/ could give you an idea how to do it.

If you create a content block for your thumbnails then you can use CGSimpleSmarty's {$cgsimple->get_page_content()} to get the content of it in your Search result template.
RyanC
Forum Members
Forum Members
Posts: 97
Joined: Fri Aug 05, 2011 9:02 pm

Re: How to have image thumbnail on search results page?

Post by RyanC »

thanks for that info uniqu3, I hope to give it a try sometime today.
Post Reply

Return to “CMSMS Core”