Search function

Permalink
Hi all,

Is there a straightforward way to incorporate a 'search' of the site into say the header...

How does setting up a search of the site work?

A design template I pulled that had been converted to concrete5 has a search field - but nothing happens when I do a search - as I guess Concrete5 isn't set up for this to work

The template in question directs the URL to this
**DIRECTORY**/?s=query

i.e. if concrete5.org/?s=test

with test being the keyword we are searching.

Any ideas?

myFullFlavour
 
Tony replied on at Permalink Reply
Tony
myFullFlavour replied on at Permalink Reply 1 Attachment
myFullFlavour
Using the search block obviously seems like the right way to go... how to I make the top right hand corner of my page (where the existing templates search is) into a editable content area.

I've attached a screenshot so you can see what I'm trying to do.
Mnkras replied on at Permalink Reply
Mnkras
By lookin in the default theme foler you can find this
http://svn.concrete5.org/svn/concrete5/branches/releases/5.3.3/conc...

if you know html this is extremely simple, you just add some code where you want it like so:

<div id="Search">
<?php

$a = new Area('Search');
$a->display($c);

?>
</div>
myFullFlavour replied on at Permalink Reply
myFullFlavour
Cool, this will help a lot!