Invisible on the listing page

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 22, 2008   (RSS)

By Moonworks - December 20, 2008 - edited: December 20, 2008

Is there a way to make something invisible on the listings page, but still visible to a search.

I am using the basic search command:


<form method="POST" action="/jobs/employerlist.php">
<input type="text" name="title_keyword" value="JobSearch" size="10">
<input type="submit" name="submit" value="Search">
</form>


What I'd like to do is have keywords that would be included in a search, but would not show up as text on the page.

Is there a simple way to do this (for a new php person).

Also, is there a way to search an entire site, adding all of the listings pages to one search.

Finally, is there a way to do it, so that a user can select the section they want, using something like I have below:

<form method="POST" action="/SOMETHING_HERE.php">
<input type="text" name="title_keyword" size="10">
<select size="1" name="Selection">
<option>Jobs</option>
<option>Events</option>
<option>Pubs</option>
</select>
<input type="submit" name="submit" value="Search">
</form>


Thanks,

Joe
High quality residential training for writers, actors &amp; Film Making - Click Here for further information

Re: [Moonworks] Invisible on the listing page

Well, I figured out the way to do the keywords and be invisible on the site - after trying various complicated ways.

Was pretty simple, just it in the search, and don't show it (I was thinking it would only find what was shown).

If you are in the same position as me, then just use the following code, and change it to fit what you want:

<form method="POST" action="/jobs/employerlist.php">
<input type="text" name="keywords,job_summary,title_keyword" value="JobSearch" size="10">
<input type="submit" name="submit" value="Search">
</form>


Just note that my keywords are the first mention, the bit that says _keywords should come at the end (that is actually title, followed by _keyword).

Joe
High quality residential training for writers, actors &amp; Film Making - Click Here for further information