"Jan Bednarik" <[email protected]> wrote in message 
news:[email protected]...
> Well, it doesn't matter whether it's dynamic or static.
>
> It look more like server issue. The prefix for anchors is created this 
> way:
>
> $scriptPath = $GLOBALS['TSFE']->absRefPrefix . 
> substr(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'),strlen(t3lib_div::getIndpEnv('TYPO3_SITE_URL')));
>
> For some reason, you're getting index.php?id...
>
> Anyway, this is not CoolUri issue, because CoolUri doesn't take part here.

Hm. Do u have some advice how to debug this?

I tried with this piece of code:

        if (!empty($params['pObj']->siteScript)) {
            $cond = $params['pObj']->siteScript && 
substr($params['pObj']->siteScript,0,9)!='index.php' && 
substr($params['pObj']->
            $paramsinurl = '/'.$params['pObj']->siteScript;
            t3lib_div::devLog('SITESCRIPT: '.$paramsinurl,'CoolUri');
        } else {
            $cond = t3lib_div::getIndpEnv('REQUEST_URI') && 
substr(t3lib_div::getIndpEnv('REQUEST_URI'),1,9)!='index.php' && substr
            $paramsinurl = t3lib_div::getIndpEnv('REQUEST_URI');
            t3lib_div::devLog('REQUEST_URI: '.$paramsinurl,'CoolUri');
        }

and the first condition is allways true. I removed if and put only this:

            $cond = t3lib_div::getIndpEnv('REQUEST_URI') && 
substr(t3lib_div::getIndpEnv('REQUEST_URI'),1,9)!='index.php' && substr
            $paramsinurl = t3lib_div::getIndpEnv('REQUEST_URI');
            t3lib_div::devLog('REQUEST_URI: '.$paramsinurl,'CoolUri');

but i get the same result :-(

Regards. 


_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to