[Fusionforge-general] Add a search in firefox

Julien Heyman julien.heyman at atosorigin.com
Thu Mar 12 08:56:09 CET 2009


ok,

But, if I use a hook (cssfile), the hook can only call plugin. Is it 
possible to call a script with the hook if the script is not a plugin?

Julien


christian.bayle at orange-ftgroup.com a écrit :
> Re,
>
> Look in the code in the various theme, but I think there is already a hook 
> available in all theme to add <link ... 
> If it's for all theme without using the hook i don't see other solution than adding this in all themes.
> and the place of the search_plugin.php would be www/include like Layout.class if it's www code generator 
> if not common/include 
>
> Christian 
>
>   
>> -----Message d'origine-----
>> De : Julien Heyman [mailto:julien.heyman at atosorigin.com] 
>> Envoyé : mercredi 11 mars 2009 17:33
>> À : BAYLE Christian RD-SG-GRE
>> Cc : fusionforge-general at lists.fusionforge.org
>> Objet : Re: [Fusionforge-general] Add a search in firefox
>>
>> Ok.
>>
>> It was related to a plugin, but I think you can provide this 
>> by default. 
>> And in this case, where put the script?
>>
>> And if I add this in Layout.class.php, it's not appear in the 
>> other theme, because each theme rewrite headers... So, i must 
>> add for each theme. How can do that without add this in each theme?
>>
>> Julien
>>
>> christian.bayle at orange-ftgroup.com a écrit :
>>     
>>> Hi,
>>>
>>> I didn't say to create a plugin, but to use a hook if it's 
>>>       
>> something related to search plugin.
>>     
>>>  
>>> Christian
>>>
>>>   
>>>       
>>>> -----Message d'origine-----
>>>> De : Julien Heyman [mailto:julien.heyman at atosorigin.com]
>>>> Envoyé : mercredi 11 mars 2009 15:12
>>>> À : BAYLE Christian RD-SG-GRE
>>>> Cc : fusionforge-general at lists.fusionforge.org
>>>> Objet : Re: [Fusionforge-general] Add a search in firefox
>>>>
>>>> But, why not add this features by default?
>>>>
>>>> Make a plugin only for that, and create a new package only to add 
>>>> firefox search... it's not excessive?
>>>>
>>>> Julien.
>>>>
>>>> christian.bayle at orange-ftgroup.com a écrit :
>>>>     
>>>>         
>>>>> Hi,
>>>>>
>>>>> You should probably use a hook in the plugin to do this
>>>>>  
>>>>> Christian
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>>>> -----Message d'origine-----
>>>>>> De : fusionforge-general-bounces at lists.fusionforge.org
>>>>>> [mailto:fusionforge-general-bounces at lists.fusionforge.org]
>>>>>>         
>>>>>>             
>>>> De la part
>>>>     
>>>>         
>>>>>> de Julien Heyman Envoyé : mercredi 11 mars 2009 14:13 À : 
>>>>>> fusionforge-general at lists.fusionforge.org
>>>>>> Objet : [Fusionforge-general] Add a search in firefox
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I want to add this in Layout.class.php.
>>>>>>
>>>>>> <link rel="search"  title="<?php echo $GLOBALS['sys_name']; ?>" 
>>>>>> href="<?php echo util_make_url
>>>>>> ('????????/search_plugin.php');
>>>>>> ?>"type="application/opensearchdescription+xml"/>
>>>>>>
>>>>>> But where put the script search_plugin? in export? in plugin?
>>>>>>
>>>>>> Julien.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Fusionforge-general mailing list
>>>>>> Fusionforge-general at lists.fusionforge.org
>>>>>> http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionfo
>>>>>> rge-general
>>>>>>
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>> --
>>>> Julien HEYMAN
>>>> Open Source Center - Atos Origin
>>>> www.portaildulibre.fr
>>>>
>>>> Les Miroirs - 18 avenue d'Alsace
>>>> 92926 Paris La Défense CEDEX
>>>> Tél : +33 01 55 91 20 00
>>>> www.atosorigin.com
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>
>
>   

-- 
Julien HEYMAN
Open Source Center - Atos Origin
www.portaildulibre.fr

Les Miroirs - 18 avenue d'Alsace
92926 Paris La Défense CEDEX
Tél : +33 01 55 91 20 00
www.atosorigin.com





More information about the Fusionforge-general mailing list