Table friendly name
Posted: Mon Oct 25, 2010 6:54 am
In the details tab when viewing or editing a single record, the header shows:
Found x or x records in table xxx_xxxxx
BTW, note that it says "or", not "of" above. This appears to be a typo in lang/en.ini.
I am wondering if it is possible to display the "friendly name" for the table at the end of the above line, instead of the actual name in the database. For example, each table name is defined in the conf.ini file with a name that is used in the table tabs, but this is not used in the details controller. Likewise, it would be nice to use this name at the beginning of the bread crumbs, etc. Is there an option I can set somewhere or some other simple method to make this happen? If not the value from conf.ini, then I am thinking something similar to the field__display function in the delegate class.
Thanks,
Alan
Found x or x records in table xxx_xxxxx
BTW, note that it says "or", not "of" above. This appears to be a typo in lang/en.ini.
I am wondering if it is possible to display the "friendly name" for the table at the end of the above line, instead of the actual name in the database. For example, each table name is defined in the conf.ini file with a name that is used in the table tabs, but this is not used in the details controller. Likewise, it would be nice to use this name at the beginning of the bread crumbs, etc. Is there an option I can set somewhere or some other simple method to make this happen? If not the value from conf.ini, then I am thinking something similar to the field__display function in the delegate class.
Thanks,
Alan