[TYPO3] Searchbox on all pages

Kenneth Bo Larsen kennethbo at stofanet.dk
Wed Aug 16 23:58:38 CEST 2006


Problem solved :-)

I edited the *ext_typoscript_setup.txt *so that it was:

pidSearchpage = 2

And that did the trick...

Thanks Carla for leading me on the way :-)

Kenneth Bo Larsen


Kenneth Bo Larsen skrev:

>And in the Template analyzer when choosing Macina Searchbox i see this:
>
>
>      SETUP:
>
>	*macina_searchbox*
>	
>
>[GLOBAL]
>plugin.tx_macinasearchbox_pi1 {
>	pidSearchpage = 
>	templateFile = EXT:macina_searchbox/pi1/template.htm
>}
>
>
>I guess it is supposed to be: pidSearchpage = 2    ( PID 2 beeing my 
>resultpage with indexed search plugin )
>It seems to me that no matter what i put in my Typoscript setup field, 
>the value is not updated here.
>
>
>Kenneth Bo Larsen skrev:
>
>  
>
>>Nope...its empty :-(
>>
>>From source:
>>
>>*<form action=""* method="post" name="searchform" id="searchform" 
>>style="margin:0px; padding:0px; ">
>> <table height="14" border="0" cellpadding="0" cellspacing="0">
>>   <tr>
>>     <td width="130" align="left"><input name="tx_indexedsearch[sword]" 
>>type="text" style="height:18; width:130; font-size:11" /></td>
>>     <td width="142"><input name="tx_indexedsearch[submit_button]" 
>>type="submit" style="border:0" value="S&oslash;g" />
>>       <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="0" />
>>     </td>
>>   </tr>
>> </table>
>></form>
>>
>>Carla Froitzheim skrev:
>>
>> 
>>
>>    
>>
>>>Kenneth Bo Larsen wrote:
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>>>Code from my searchform template:
>>>>
>>>>*<form action="###SEARCHPID###"* method="post" name="searchform" 
>>>>id="searchform" style="margin:0px; padding:0px; ">
>>>><table height="14" border="0" cellpadding="0" cellspacing="0">
>>>> <tr>
>>>>   <td width="130" align="left"><input name="tx_indexedsearch[sword]" 
>>>>type="text" style="height:18; width:130; font-size:11" /></td>
>>>>   <td width="142"><input name="tx_indexedsearch[submit_button]" 
>>>>type="submit" style="border:0" value="S&oslash;g" />
>>>>     <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###" />
>>>>
>>>>
>>>>
>>>>
>>>>  
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>And if you look at the source of your search result page and the other 
>>>pages is ###SEARCHPID### replaced by anything? What is the value of 
>>>action on these pages?
>>>
>>>Carla
>>>
>>>_______________________________________________
>>>TYPO3-english mailing list
>>>TYPO3-english at lists.netfielders.de
>>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>_______________________________________________
>>TYPO3-english mailing list
>>TYPO3-english at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>> 
>>
>>    
>>
>_______________________________________________
>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