[TYPO3-mvc] link.action doesnt work
Fernando Arconada
falcifer2001 at yahoo.es
Sun Jan 30 20:34:27 CET 2011
Thanks Thanks thanks thanks thanks
It works
Three ours smashing my head against the keyboard, THANKS
El Sun, 30 Jan 2011 16:09:50 +0100, Franz Koch escribió:
> Hey,
>
>> I have coded an extension
>> https://github.com/farconada/f2microagenda_psv/ tree/develop (I should
>> be renamed as f2microagendapsv ). I have configured the plugin with:
>> Tx_Extbase_Utility_Extension::configurePlugin(
>> $_EXTKEY,
>> 'Pi1',
>> array(
>> 'Event' => 'archive,list,listHome',
>> ),
>> array(
>> 'Event' => 'archive,list,listHome',
>> )
>> );
>>
>> but i cant link in fluid templates with<f:link.action
>> action="archive">Ver todos los eventos</f:link.action>
>>
>> Controller configuration looks:
> ...
>> any idea? I'm totally lost, please help
>
> yepp - check your flexforms. In your flexform you only allowed
> "Event->list" for the first option, thus only the "list" action and
> nothing else can be viewed. You're not defining the default action here,
> but the allowed actions for this plugin instance. That's why your
> controller configuration only shows the list action. So if the archive
> (or listAll, or whatever else action) should be displayed on the same
> page as the list, you also have to allow/set it in your flexforms
> "switchableControllerActions". You can do this by either select multiple
> options at once, or by adding more actions to your select options key
> (separated by semicolon: Event->list;Event->archive)
More information about the TYPO3-project-typo3v4mvc
mailing list