Habari Search

0 views
Skip to first unread message

Paul

unread,
Aug 27, 2010, 3:54:01 AM8/27/10
to habari-dev
Hi

Me again :)

Is it possible to display pictures here:

http://localhost/search?criteria=some_words


Thanks.

Colin

unread,
Aug 27, 2010, 4:51:30 AM8/27/10
to habar...@googlegroups.com
Hi Paul

Can you please elaborate further.  You can modify the behaviour and output of the search page in the search.php file within the theme.

Cheers,
Colin



--
To post to this group, send email to habar...@googlegroups.com
To unsubscribe from this group, send email to habari-dev-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/habari-dev



--
Colin Seymour
Blog: http://colinseymour.co.uk
Tech Stuff: http://lildude.co.uk
Barefoot Running: http://barefootrunner.co.uk
IRC: lildude #habari

Paul

unread,
Aug 27, 2010, 6:31:15 PM8/27/10
to habari-dev
Yep, sorry for poor explanations.

I meant if I do a search request I'll see results as text only, all
pictures and other media will be cut-off.

Colin

unread,
Aug 28, 2010, 5:15:03 AM8/28/10
to habar...@googlegroups.com
That's definitely going to be your theme. 

 Your theme's search.php file probably displays the posts using $post->content_excerpt; (like the charcoal theme) .  Just change this to $post->content_out; (like the K2 theme) and you should get the desired results. 

HTH
Colin

Paul

unread,
Aug 28, 2010, 2:21:37 PM8/28/10
to habari-dev
Oh! I already should know it. :-)

Sorry for the trouble and again zillion thanks.
Reply all
Reply to author
Forward
0 new messages