5098 Posts in 1518 Topics by 1115 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 471 Views |
-
Show ID in Files&Images

9 October 2010 at 11:45pm
Hi,
I wanted to show the ID of each File under the files&images tab.
A single line in cms/code/AssetTableField.php helped:function __construct($controller, $name, $sourceClass, $fieldList, $detailFormFields, $sourceFilter = "", $sourceSort = "", $sourceJoin = "") {
// adds an ID column
$fieldList = array_merge(array("ID" => "ID"), $fieldList);parent::__construct($controller, $name, $sourceClass, $fieldList, $detailFormFields, $sourceFilter, $sourceSort, $sourceJoin);
...But this isnt a very good solution because it makes changes within the cms/ -folder.
Does anyone know a way, without changing systemcode?thanks
| 471 Views | ||
|
Page:
1
|
Go to Top |

