[TYPO3] real url - multiple domains
Dmitry Dulepov
dmitry at typo3.org
Wed Jul 11 12:19:24 CEST 2007
Hi!
Jan Bednarik wrote:
> that generates URLs like .../course/leadership/. Is there a way how to
> get rid of the "/course"?
>
> I didn't figure it out.
No, because you may have other postVarSets and realurl need to identify
which set you use. For example:
'postVarSets' => array(
'_DEFAULT' => array(
'course'=>array(
array(
'GETvar' => 'course_id',
...
)
),
'news' => array(
array(
'GETvar' => 'tx_ttnews_whatever[var1]',
...
)
array(
'GETvar' => 'tx_ttnews_whatever[var2]',
...
)
),
)
and so on. Thus realurl knows how to decode /news/1/2 and /course/5.
Should be more clear now :)
Not sure how it is solved in cooluri though.
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-english
mailing list