[TYPO3] Search in two extensions

Søren Vedel sv at workhouse.com.br
Fri Jan 6 16:24:45 CET 2006


Hi everybody,

I have made two extensions:

1) my_shops (fields): shop,city,town,phone,email

and with this form I can search my shops:

<form action="/index.php?id=45&amp;no_cache=1" method="post">
   <input type="text" name="tx_myshops_pi1[sword]" value="" />
   <input type="hidden" name="no_cache" value="1" />
   <input type="hidden" name="tx_myshops_pi1[pointer]" value="" />
</form>


2) my_staff (fields): title,name,shortcut

and with this form I can search my staff:

<form action="/index.php?id=5&amp;no_cache=1" method="post">
   <input type="text" name="tx_mystaff_pi1[sword]" value="" />
   <input type="hidden" name="no_cache" value="1" />
   <input type="hidden" name="tx_mystaff_pi1[pointer]" value="" />
</form>


Question:

Can I somehow mix these two forms to ONE, so I am able to search both 
tables from a single form?


Regards
Søren Vedel



More information about the TYPO3-english mailing list