ViewHelper Documentation


View helper which returns button with icon Note: This view helper is experimental!

= Examples =

<f:be.buttons.icon uri="{f:uri.action()}" /> An icon button as known from the TYPO3 backend, skinned and linked with the default action of the current controller. Note: By default the "close" icon is used as image

<f:be.buttons.icon uri="{f:uri.action(action:'new')}" icon="actions-document-new" title="Create new Foo" /> This time the "actions-document-new" icon is returned, the button has the title attribute set and links to the "new" action of the current controller.


uri string

the target URI for the link. If you want to execute JavaScript here, prefix the URI with "javascript:

icon string

Icon to be used. See self::allowedIcons for a list of allowed icon names

title string

Title attribte of the resulting link

ViewHelper Resources

Schema Resources