[TYPO3-mvc] Skip rendering of the view

Sebastian Schreiber me at schreibersebastian.de
Thu Dec 22 10:03:07 CET 2011


Am 22.12.2011 09:51, schrieb Henjo Hoeksma:
> Hi list,
>
> I am wondering if it is possible to skip the rendering of the view for some
> actions.
>
> Context:
> I did an implementation of the vcard class from troywolf.com.
> Since it is static stuff, I used the controller to fill the data.
> Downloading the vcf works fine, and it seems to work fine at first sight.
> Opening the vcf in a texteditor I see not only the rendered vcf text, but
> the whole html of the page underneath it, with the note that no template
> could be found. (Which I don't need in this case).
>
> I am aware putting this in my controller might not have been the best
> solution, but writing the syntax of a vcf card wasn't that either ;-)
>
> I tried using the format="vcf" option and create an empty Vcard.vcf
> template. To no avail.
>
> Any suggestions on how to approach this nicely? Thanks in advance!
>
> Kind regards,
>
> Henjo
>
> Problems are small because we learned how to deal with them.
> Problems are big because we need to learn how to deal with them.
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
Just put it a return or return NULL (it´s actually the same) in your 
action and you should be fine.



-- 
Sebastian Schreiber
(Medieninformatiker B.Sc.)
(TYPO3 Certified Integrator)

Schanzenstraße 27, Schlosserei 4
D-51063 Köln

T  0221 677 88 541
M  0176 431 05 790

Skype schreibersebastian.de

me at schreibersebastian.de
www.schreibersebastian.de

Steuernummer: 217 / 5269 / 4675



More information about the TYPO3-project-typo3v4mvc mailing list