[TYPO3-english] extension with two tables and realurl
Kay Strobach
typo3 at kay-strobach.de
Thu Jan 26 17:09:00 CET 2012
Hi,
either look into the realurl manual, or take in look into tt_news or
cal, they use the autoconf feature of realurl ...
Regards
Kay
Am 26.01.2012 15:45, schrieb Morten Hagh:
> Hi list,
>
> I have a question regarding an extension with two tables and realurl.
>
> My extension have the two tables which contain two different producttypes
>
> tx_saerpartier_mursten (bricks)
> tx_saerpartier_tagsten (rooftiles)
>
> where the date to be displayed are set with a unique number eg. 203 with
>
> &tx_saerpartier_pi1[unique_no]='.$row['unique_no']
>
> and two functions, one to display mursten (bricks) and one to display
> tagsten (rooftiles).
>
> How can I setup my realurl config to find the correct table? Should I set
> an extra param whether the product is a brick or a rooftile and then find
> the correct table that way? Like:
>
> &tx_saerpartier_pi1[unique_no]='.$row['unique_no']&tx_saerpartier_pi1[type]=brick
>
>
>
> /Morten Hagh
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answere was usefull: https://flattr.com/profile/kaystrobach
More information about the TYPO3-english
mailing list