Hi Nick,
Can you not add the column to the Sortables box - I thought that still worked in a Custom listing?
Bob
Hi Bob
Lord I left that a long time to reply. It would appear not. I have added the name="fltr[mdlListMbrReceipts][paidBy]" to the header but am looking for an equivalent sort version.
Nick
Anyone able to help here?
Hi Nick,
Have you tried the entry in the Sortables box?
Bob
Hi Bob
I didn't make that clear did I? Yes - I have a column in the sortables box but no good. I have the same situation with two different connections.
Nick
Hi Nick,
If you have Model.field in the columns list, and Model.field in the sortable box, then {Model.field} in the header code would display a sortable link
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Brilliant! Thanks Max. Works a treat.
Nick
Hi Nick,
The HTML box will override the output of all boxes, so if you set your field there then its useless to have it in any other box.
Also, the binary field should have either 0 or 1, nothing else.
What you can do is to use the HTML box but build the links to the "toggle" action yourself, the toggle action accepts a "val" parameter which specifies the new value to be set when the action is executed, just test this with a binary field and you can find out how it works!
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks Max
Got it. I will give it a go.
Nick
Your link has a missing part:
gcb={mdlListCourseReceipts.}
You didn't add the pkey here, please check the final link and if it has all the required parameters.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max
A sudden brain wave. I was using a view rather than using the underlying table. I was doing that to derive local dates with mySQL rather than PHP. It struck me that the view would probably not then know of the primary key value. So I switched from the view to the table and Eureka! all sorted. An easy fix to one of those 50 50 choices that is always wrong!
:mrgreen: :mrgreen:
Nick
Great news!🙂
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Now all I have to do is to derive the local date field via PHP box. working on that.
Nick