[TYPO3-english] Realurl and pages with same path/title

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Oct 22 12:02:33 CEST 2008


Dmitry Dulepov wrote: on 22.10.2008 10:56:

> Бойчук Петро wrote:
>> There is something unique - page is accessible for certain usergroup,
>> and only one page, not 3.
> 
> Is it unique in the *url*? RealURL receives only URL and must return
> unique page id. User does not exist at that moment in TYPO3, it is
> created later.
> 
> How can RealURL return unique page id from the URL if URL is the
> same for two or more pages? There are two pages:
> - My page
> - My page
> And there is one URL:
> - http://domain.tld/my-page/
> 
> Which page does this URL refer to? Remember: there is no user yet.
> There is only URL, which must be converted to an unique page id.

Not really true, the FE-user is already initialized initFEuser() when
checkAlternativeIdMethods() is called. See index_ts.php.

So it should be possible to add this check to realurl.

Or not?

Cheers,
Ernesto


More information about the TYPO3-english mailing list