[TYPO3-english] RealURL postVarSet questions

helge preuss regnans at gmail.com
Mon Nov 3 14:45:48 CET 2008


there are two things I would like to do with RealURL that I'm not sure
are possible after parsing the RealURL Manual.

First, I'd like to have a speaking path segment assembled from TWO
fields of a lookup table. Ideally, I'd just like to specify

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['postVarSets']['_DEFAULT']['mykey'] =
// ...
	'lookUpTable' => array(
		'alias_field' => 'field_1, field_2',
// ...

I suppose that's not possible, so the second best would be if I could
call a userFunc in a postVarSet, just as in pagePath. Is that possible?

Second, I would like to implement a scheme similar to tinyURL: To access
a certain record, the user would only need to type
http://mysite.de/12345, and then they would be redirected to the page
with the record 12345 on it. Normally, RealURL needs a key to find out
which GET variable has the value 12345, but I can take care of that with
an apache RewriteRule. But, assuming I have
http://mysite.de/mykey/12345, I still need a userFunc to find out which
page actually contains record 12345. So, is it possible to implement
this scheme somehow?

Greets & thanks,


More information about the TYPO3-english mailing list