[TYPO3-mvc] authentication with extbase
Elías Fernández
eliasfernandez at gmail.com
Tue Nov 10 11:00:56 CET 2009
Yes, it works ¡
Next time i´ll watch
ActionViewHelper.php<https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/fluid/trunk/Classes/ViewHelpers/Link/ActionViewHelper.php>
before
ask.
thank you
2009/11/10 Bastian Waidelich <bastian at typo3.org>
> Elías Fernández wrote:
>
> Hi Elías,
>
> let me give it a try:
>
>
> <f:if condition="{empresas}">
> <f:then>
> <p class="bodytext">Here is a list of empresas:</p>
> <ul>
> <f:for each="{empresas}" as="empresa">
> <li>
> <h3>
> <f:link.action action="index" controller="Empresa"
> arguments="{empresa: empresa}">{empresa.name}</f:link.action>
> </h3>
> <p>
> {empresa.description -> f:format.nl2br()}
> <f:link.action action="edit" controller="Empresa"
> arguments="{empresa:
> empresa}" pageUid="{settings.editPageUid}">Edit</f:link.action>
>
> <f:link.action action="delete" controller="Empresa"
> arguments="{empresa: empresa}">Delete</f:link.action>
> </p>
> <p>
> <strong><f:link.action action="add">Crear un nuevo
> blog</f:link.action></strong>
> </p>
> </li>
> </f:for>
> </ul>
> </f:then>
> <f:else>
> <p>
> <strong><f:link.action action="add">Crear un nuevo
> blog</f:link.action></strong>
> </p>
> </f:else>
> </f:if>
>
> (untested)
>
>
>
> and i don´t know how to link "edit" action to a different page id.
>>
>
> There are a lot of arguments for the action link/uri view helper (see
> https://svn.typo3.org/TYPO3v4/CoreProjects/MVC/fluid/trunk/Classes/ViewHelpers/Link/ActionViewHelper.php).
> One of those is "pageUid".
>
> Best regards,
> Bastian
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
--
Elías Fernández Velázquez
http://www.recetae.com
http://www.eliasfernandez.net
http://www.trevenque.es
More information about the TYPO3-project-typo3v4mvc
mailing list