Add direct table text to sort column header.

NickOg 31 May, 2017
In the FAQ 'Build a basic listing' it describes, in part 2, how to replace a column name with a sorter link. Works fine. How do I impose my own name on a sortable column.

For example
mdlmembershiphistory.feeYear:{view:feeYear_sorter}


That makes the text in that column read 'feeYear' - the name of the field in the database table. I want to make that read just 'Year'

Something like
mdlmembershiphistory.feeYear:{view:feeYear_sorter}:Year


How do I do that?

Regards

Nick
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger