Historical And Feature Requests


Table of Contents

Hide 'updated_at' in edit 
Hide 'updated_at' in edit 
Hide 'updated_at' in edit 

Hide 'updated_at' in edit 

http://www.symfony-project.org/forum/index.php?t=msg&goto=20856&#msg_20856

In almost all tables, I add this "updated_at" at the end of the fields so as to track when the record was last changed.

Is there a generic way to hide this "updated_at" field when editing, but show it in list view — the only way I know is to go into each table's generator.yml file and list every field except this one in edit:

Hide 'updated_at' in edit 

I guess there is a way to do it, but it would require overwritting some core classes of symfony or propel generator (AFAIK)

Much easier is to just edit the generator.yml file

documented on: 02 February 2007, pezetgee

Hide 'updated_at' in edit 

Yes u must specify the fields in generator.yml list and edit sections, that's the right way to do it.

documented on: 02 February 2007, COil