[TYPO3-english] extension with two tables and realurl

Morten Hagh morten at hagh.dk
Thu Jan 26 15:45:00 CET 2012


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


More information about the TYPO3-english mailing list