https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/

Is is possible to to do custom sorting?

More
13 years 7 months ago #730

I am interested to know if there is a way to do custom sorting...

For example:

A field in the database called PRIM_POSITION will contain the following data:

"R", "U", "HL", "LJ", "BJ"

and I would like to display it in that order.

Additionally, I am also wondering if I it is possible to create a new custom CardView.php file and if you can have separate custom layouts.


Grid 1 is standard CardView Layout
Grid 2 is custom CardView Layout
Grid 3 is a different custom CardView Layout.

Same question for

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #733

Hi,

1. custom sort: the easiest way is to add new column, e.g. Order (integer) and sort on that column.

2. You can see how Table JX is integrated in the code and use the same principle. In admin panel you will have another checkbox, e.g Card View Custom that will load your custom layout php file.

Best regards,
Viljem

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.168 seconds

Contact Us

Contact us on Discord

Contact us on Facebook