[TYPO3-v4] About commit/resolves : Change I4199cb8c: [FEATURE] Redirect to Shortcut target page

Antoine Ardilouze a.ardilouze at alienor.net
Wed Nov 23 16:18:32 CET 2011


Hello,

I would like to inform you that i got a problem with this commit :
https://review.typo3.org/#change,3398

I use the extension "cooluri" (realurl's like).

In my case, and maybe on others case, i got in my tree like this :

- Root Page (siteroot => redirect to Home)
-+ Home
-++ Page 1
-++ Page 2
-++ Page 3

When i go on my website, with your new modification (4.6.0 and 4.6.1), 
there is a redirection from "/" to "/home.html".
I propose to you if it is possible to not redirect if whe are on a 
siteroot page. (To keep "/" as home page)

On new function code checkPageForShortcutRedirect() :

REPLACE :
if (!empty($this->originalShortcutPage) && 
$this->originalShortcutPage['doktype'] == 
t3lib_pageSelect::DOKTYPE_SHORTCUT) {

BY :
if (!empty($this->originalShortcutPage) && 
$this->originalShortcutPage['doktype'] == 
t3lib_pageSelect::DOKTYPE_SHORTCUT && 
$this->originalShortcutPage['is_siteroot'] <> 1) {

Maybe can you propose this for 4.6.2 ?

Cordly,

-- 
Antoine Ardilouze
a.ardilouze at alienor.net
ALIENOR.NET



More information about the TYPO3-project-v4 mailing list