Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-07-06 13:21:31
- vanderkerkoff
- Member
- Registered: 2005-05-26
- Posts: 45
Exclude password protected articles from search results?
Hello everyone
I’m using a search form on our textpattern site.
<form class=“search” id=“searchglamlife” action=”/search/” method=“get”>
<p><label for=“searchbox” accesskey=“4” ></label><br />
<input title=“searchbox” type=“text” maxlength=”“ size=”“ name=“q” id=“searchbox” value=“Search Glamlife” onfocus = “value=’‘” />
<input type=“submit” class=“button” value=“Search” /></p>
</form>
If I search for a particular term, in this case webcam, then before the results are displayed I get an Authorisation Required box pop up.
We have a static folder outside of textpattern in the webroot that holds our flashcom video chat application. That folder has a .htaccess file in it limiting access to it, but I don’t think that is causing the problem.
Some of the results of the search are textpattern articles that have limited access to them using this code.
<txp:password_protect login=“Webcams” pass=“password” />
<txp:shemail />
I can’t seem to find anywhere in the article to tell it not to be searched or indexed. I can see how you would do that in a section
Include in site search? no yes ?
but not an article.
Any help would be greatly appreciated.
(Edit: updated discussion topic. -Mary)
Last edited by Mary (2007-07-09 00:28:00)
Offline