[TYPO3] (no subject)
rupali.ffm at googlemail.com
rupali.ffm at googlemail.com
Wed Sep 17 10:19:25 CEST 2008
try this:
page.config.index_enable = 1
lib.suche < plugin.tx_macinasearchbox_pi1
lib.suche{
pidSearchpage = (name of the serach page where it jumps to show results and
where this indexed search box will be added)
templateFile = fileadmin/templates/searchbox.tmpl
}
plugin.tx_indexedsearch {
templateFile = EXT:indexed_search/pi/indexed_search.tmpl
show {
rules = 0
advancedSearchLink = 1
}
blind {
type = 0
defOp = 0
sections = 0
media = 1
order = 0
group = 0
lang = 1
desc = 0
results = 1
}
result_link_target = _blank
}
and this comes in searchbox.tmpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Template file for the"macina_searchbox"extension.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<script>
</head>
<body>
<h3>Template file for the "macina_searchbox" extension.</h3>
<p><b>Available Markers:</b></p>
<ul>
<li>###HEADLINE### Displays the Headline</li>
<li>###ADVANCED### Advanced Search Link</li>
<li>###SUBMIT### Alttext for the submit button</li>
<li>###ACTLANG### UID of the actual language</li>
<li>###SEARCHPID### PID of the Searchpage</li>
</ul>
<!-- ###TEMPLATE### begin -->
<form action="###SEARCHPID###" method="post" name="searchform"
id="searchform" style="margin:0px; padding-top:10px; ">
<input name="tx_indexedsearch[sword]" type="text" value
="Suche" id="searchbox" onfocus="this.value = (this.value=='Suche')? '' :
this.value;" style="height:12px; width:150px; font-size:9px;
background:#cccccc;padding-left:3px;border:1px solid #e6e8e9;
color:#666666;padding-bottom:1px;" />
<input class = "go" name="tx_indexedsearch[submit_button]"
type="submit" style ="height:17px; width:17px;" value="" />
<input type="hidden" name="tx_indexedsearch[_sections]"
value="0" />
<input type="hidden" name="tx_indexedsearch[pointer]"
value="0" />
<input type="hidden" name="tx_indexedsearch[ext]" value="0"
/>
<input type="hidden" name="tx_indexedsearch[lang]"
value="###ACTLANG###" />
</form>
<!-- ###TEMPLATE### end -->
</body>
</html>
On Wed, Sep 17, 2008 at 7:42 AM, Diana Christian <
diana.christian at drcsystems.com> wrote:
> Hello all,
>
>
>
> I want to integrate the indexed search functionality in my website. So I
> have imported the Macina_searchbox from the Extension Repository. I have
> installed it into my website using the Extension Manager in my backend.
>
> Thereafter I selected the plugin of searchbox & also selected the static
> template. The searchbox is displayed on the frontend but the problem is
> that
> when I enter the search text & click on Submit, no results are displayed.
> Also advanced search is also not working.
>
>
>
> Has anyone worked on this extension? If yes then please tell me what I have
> missed.
>
>
>
>
>
> Thanks & Regards,
>
> Diana Christian
>
>
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list