[TYPO3-english] fluidtemplate error when choosing file with condition:

Riccardo De Contardi erredeco at gmail.com
Fri Feb 1 21:34:47 CET 2013


sorry guys... a typo in the secondary page template was the source of 
the error.

Problem solved.


--------------------------------------------
Riccardo De Contardi – TYPO3 Certified Integrator
B Human Srl - www.bhuman.it <http://www.bhuman.it>
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------

Il 01/02/13 16.19, De Contardi Riccardo ha scritto:
> Hello everybody... a strange problem: I want to set up a TYPO3 site
> (4.7.7) using the fluidtemplate object:
>
>
>
>
>
> page.10 = FLUIDTEMPLATE
>
> page.10{
>
> file = EXT:myplugin/Resources/Private/Templates/template_page.html
>
> partialRootPath = EXT:myplugin/Resources/Private/Partials/
>
> layoutRootPath = EXT:myplugin/Resources/Private/Layouts/
>
> extbase.controllerExtensionName = myplugin
>
> }
>
>
>
> If I set a condition like:
>
>
>
> [month=2]
>
> page.10{
>
>                  file =
> EXT:myplugin/Resources/Private/Templates/template_page_alt.html
>
> }
>
> [global]
>
> I obtain a completely blank page or, sometimes, an error page:
> "Oops...an error occurred" (not very useful)
>
>
>
> Funny enough, this happens only in the home page: if I visit a  subpage,
> it works :S
>
>
>
> Thank you for your assistance and best regards
>
>
>
>
>
> --------------------------------------------
> Riccardo De Contardi - Web Developer
> B Human Srl - www.bhuman.it <http://www.bhuman.it>
> Via Canzio, 15 - 20131 Milano
> TEL +39-02-20.23.271 - FAX +39-02-20.240.561
> --------------------------------------------
>
>
>
>
> **************************************************
>
> Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.
>
> The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.
>
>


More information about the TYPO3-english mailing list