[TYPO3] RealURL skips one page segment when generating speaking URLs
Volker Graubaum
vg_typo3 at e-netconsulting.de
Thu May 18 07:38:45 CEST 2006
Chi Hoang schrieb:
> This is a hardcoded behaviour of realURL. You cannot change this. I'm
> sorry.
Hi Chi,
it's openSource, of course you can change it :-)
Have a look in class.tx_realurl_advanced.php, function rootLineToPath
Just uncomment the second line:
array_shift($rl); // Ignore the first path, as this is the root of the
website
Greetings Volker
BTW. you can also add this line a second time, to make you're URLs
shorter, which is a nice thing when you've something like
all -> site1->firstrealsite...
--
Volker Graubaum || e-netconsulting
Max-Brauer-Allee 34 || 22765 Hamburg
Tel. +49 40 1 8888 99 0 || Fax +49 40 1 8888 99 800
vg at e-netconsulting.de || http://www.e-netconsulting.com
http://www.reisepix.com || http://www.dinner-4-18.de
More information about the TYPO3-english
mailing list