10 years ago
1
Topic

Hello you can change the templates "seb_blog" and "seb_table" so they group together the results of a search for the sort field?

Example:

I have a content type that save in three categories, cat_1, cat_2 cat_3 and in my research I put the sort field "Article Category id" and the result would divs or tables agurapando the result cat_1, cat_2 and cat_3.

It is possible, someone would have an idea d like to change these templates or even create one from scratch.

Thank you.

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

probably the easiest would be to modify list template, you would first need to loop trough all items to sort and reindex them according to the certain field value, then in another loop print header with this field value and a subloop to print out all items with this value. If you need help with coding this you can try one of our support packages http://www.seblod.com/enterprise/support

Get a VIP membership