[TYPO3-mvc] website url in fluid?

Stefano Cecere scecere at krur.com
Mon Sep 12 11:22:46 CEST 2011


Thank you, Pankaj and Bastian!!

i was just exploring all Fluid possibilities (especially with the FED  
extension companion)
(and i could not find all Fluid details/docs..

  from http://api.typo3.org/fluid/current/ it's difficult
my only source is http://www.typovision.de/cheatsheet/ ! :)

s



On Mon, 12 Sep 2011 11:06:22 +0200, Bastian Waidelich <bastian at typo3.org>  
wrote:

> Pankaj Lele wrote:
>
> Hi Pankaj, Stefano
>
>> f:cObject can be used smartly.
>
> That's right.
> Alternatively you could set the variable via PHP like this:
>
>
> protected function initializeView(Tx_Extbase_MVC_View_ViewInterface  
> $view) {
>      $view->assign('typo3RequestUrl',  
> t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'));
> }
>
> Best
> Bastian


-- 
____    ___   __  _ ______________________

   Stefano Cecere
   Krur multimedia studio


More information about the TYPO3-project-typo3v4mvc mailing list