[TYPO3] real url - multiple domains
info at bednarik.org
Tue Jul 10 18:07:57 CEST 2007
> Then YOU must be the ultimative teacher! Beside given configurations, I
> never got it to 100%, even that I have difficulties to fix what is
> pre/post/whatever Var in the URI. Not to talk to apadt it to get-params
> used by extensions.
I agree. Although I'm the author of CoolURI, I still need to use RealURL
on hostings that don't support PHP5 or MySQL 4.1+. That has happend
today and I had to study RealURL manual.
I've got parameter course_id=X and I'd like to translate it to a name.
I've figured out this conf:
'postVarSets' => array(
'_DEFAULT' => array(
'GETvar' => 'course_id',
'lookUpTable' => array(
'table' => 'tx_jbcourses_course',
'id_field' => 'uid',
'alias_field' => 'title',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
that generates URLs like .../course/leadership/. Is there a way how to
get rid of the "/course"?
I didn't figure it out.
In CoolURI this would be really simple, like:
<to>SELECT title FROM tx_jbcourses_course WHERE uid=$1</to>
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english