[TYPO3-english] How do i add parameters to an url ? Combining two extensions on one page with URL paramters ?
Christoph Stadler
christophe at stadler.com
Tue Jan 11 18:14:36 CET 2011
Hello,
i am working with two extensions i want to combine on one page. The
problem is that the url for the page of each record from the first
extension (realty) is dynamically generated from the extensions list
view, what i would like to do is to add an additional parameter to the
url so that the second extension (flatmanager) can also display the info
from a specific record.
So i have two pages this applies to:
List View: generated by the realty extension this provides a list of the
records with a link to single view of each record
Single View: this page displays the details of one record. the url for
one of these is:
http://mydomain.com/index.php?id=26&tx_realty_pi1[showUid]=54&tx_realty_pi1[listViewLimitation]=YToxOntzOjM6InVpZCI7aTowO30%3D&tx_realty_pi1[listUid]=47&tx_realty_pi1[listViewType]=realty_list&tx_realty_pi1[recordPosition]=0&cHash=183ebe1bcdb88a405260160a1131108e
I've added the extension for the second extension to this page and by
using the parameter:
&tx_flatmgr_pi1[flat]=myflatmanagerID at the end of the previous url the
page works and displays the record i want on the same page.
How can i get the URL of the single view append the paramaeter for my
second extension ? Do i need to hack the source of the realty extension
? Or can it be done with typoscript in the template ? Or can this be
done with realurl ?
I really don't know how to approach this, would be thankfull fro any
tips or help ...
More information about the TYPO3-english
mailing list