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

Siva Prasad sivaprasad.s at pitsolutions.com
Mon Dec 22 08:26:02 CET 2014


Quote: Siva Prasad (sivaprasad.s) wrote on Mon, 22 December 2014 08:24
----------------------------------------------------
> $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 ?? 
----------------------------------------------------

Instead of typoLink_URL simply use typoLink and try . Hope this time you will be successfull. 




More information about the TYPO3-english mailing list