You should be able to do this by overloading the template
_list_td_actions.php (
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_templates_customization
).

Just copy the generated one (it's in the cache folder) in your module
directory, and add your code.

-- 
Pierre-Yves


2010/10/26 Mariano Sola <[email protected]>

> Hi all!
>
> Does anybody know how can I make variable an action in the backend?
>
> In my case I have a backend of Comments some of them are in State
> 'Visible' and the rest in 'Not visible', I'd like to have an Action
> 'Make visible' just for Comments in State 'Not visible' and viceversa.
>
> Could you help me with it?
>
> thanks in advance!
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to