[TYPO3-project-formidable] Use SEARCHFORM with a IMAGE Submit
Luc Muller
l.mul-nospam-ler at ameos.com
Thu Jan 22 14:32:56 CET 2009
by the way, the css way seems to be easier to maintain in the future.
but this is the css guy who's talking.
Thanks Jerome for your evolutions ;)
Luc =:0)
Carlos Meyer a écrit :
> Thanks for your support.
>
> -----Ursprüngliche Nachricht-----
> Von: typo3-project-formidable-bounces at lists.netfielders.de
> [mailto:typo3-project-formidable-bounces at lists.netfielders.de] Im Auftrag
> von Jerome Schneider
> Gesendet: Donnerstag, 22. Januar 2009 14:18
> An: typo3-project-formidable at lists.netfielders.de
> Betreff: Re: [TYPO3-project-formidable] Use SEARCHFORM with a IMAGE Submit
>
> Hi Carlos,
>
> I just added the possibility in the framework, starting with revision
> 2.0.300 (fresh from this afternoon)
>
> To use it, you have to define a renderlet submit, giving a file path
> under the /path property
>
> Like this:
>
> <renderlet:SEARCHFORM name="search-pages">
> <datasource use="ds-pages" />
> <childs>
> <renderlet:TEXT name="title" label="title" />
> <renderlet:SUBMIT
> name="imgSubmit"
> mode="search"
> path="http://www.google.com/intl/en_ALL/images/logo.gif"
> />
> </childs>
> </renderlet:SEARCHFORM>
>
> And don't forget to also define /mode=search on the renderlet, as we're
> submitting for a searchform.
>
> The last version can be downloaded here, either as T3X or ZIP file:
> http://formidable.typo3.ug/svn/changelog/revision-300.html
>
> Best regards,
> Jerome Schneider
>
> Carlos Meyer a écrit :
>
>> Hi everyone,
>>
>> I want to use the renderlet SEARCHFORM with an IMAGE SUBMIT. I use this
>>
> XML
>
>> code:
>>
>> <renderlet:SEARCHFORM name="search_companies"
>> renderonly="true">
>> <datasource use="ds-tx_txschoolcompanies_objects_list" />
>> <childs>
>>
>> <renderlet:TEXT>
>> <search onfields="name_of_company" />
>> </renderlet:TEXT>
>>
>> <renderlet:IMAGE name="btnsubmit" label="Submit">
>>
>>
>> <path>/typo3conf/ext/tx_school_companies/pi1/res/search_submit.gif</path>
>>
>> <onclick>
>>
>> <submit/>
>>
>> </onclick>
>>
>>
>> <custom>style="cursor:pointer;"</custom>
>>
>> </renderlet:IMAGE>
>>
>> </childs>
>> </renderlet:SEARCHFORM>
>>
>> But this doesn't work. I get an error, that formidable want to insert into
>> db. I just want to search.
>>
>> Thanks for help
>>
>> Carlos
>>
>>
>>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidabl
> e
>
>
--
*Luc Muller*
/Web Developper/
/Formidable - Rapid Application Developpement Framework for Typo3
<http://formidable.typo3.ug>/
/Typo3 Ameos <http://www.ameos.com>/
More information about the TYPO3-project-formidable
mailing list