Editing list view to make 'title' go to edit view not detail view

Hi,
I want to make the main field of any record i.e. the ‘title’ field link to edit view not detail in list view.
Which files do I have to edit?
Thanks

Hi there,

You would have to edit the listviewdefs.php file in the module you require to edit, and then write a custom code array.

Thanks,

Will.

I have tried that and it almost works, when I use {$NAME} however, it just adds the name of the record and the link, but i want to use something like:
{$field.name.value}

That way I can generate my own links but use the record names as the title.