[TYPO3-english] Re: typoLink_URL, forceAbsoluteUrl, and SEO friendly URLs

Siva Prasad sivaprasad.s at pitsolutions.com
Mon Dec 22 08:24:55 CET 2014


$this->cObj = $this->configurationManager->getContentObject();
$conf = array( 'parameter' => $GLOBALS['TSFE']->id,
'additionalParams' => '', // Set additional parameters if any
'useCashHash' => true, // We must add cHash
'returnLast' => 'url', // If you wish to get url as your output
'forceAbsoluteUrl' => true // Forces links to be absolute.
);
$link = $this->cObj->typoLink('text_to_Create_link', $confArray)


OK !! Can you try the above code ?? 


More information about the TYPO3-english mailing list