9 years ago
Topic

Hello,

How to display a multi-category content so that they are grouped by these?

Regards,

Rene

Get a Book for SEBLOD
9 years ago
4
Level 1

Add each category id you want to be listed to the live value of the Search Type's field "Article Category Id"

Then add this field under view "Ordering".

9 years ago
3
Level 2

Thank you, Viktor, for the answer.

But I be doing wrong. I created a field of type Select Dynamic to fetch in #__categories based on parent_id and the set as a multiple.

When I did what you recommended did not return any results and still got the error: htmlspecialchars () expects parameter 1 to be string, array Given in /var/www/develop3/libraries/cms/cck/plugin/field.php on line 827.

Any suggestions?

Regards,

4229 Posts
Kadministrator
9 years ago
2
Level 3

First uprgade to the latest Seblod version and resave configuration of your select. Set live value to the array.

9 years ago
1
Level 4

Klas, thanks for the response.

The error persisted. I noticed that only happens when I set as hidden field.

I need to group items into these categories, for example:

Items:

  • Dr. Diego - Specialty: General Surgery
  • Holy Family Hospital - Specialty Hospital, Maternity
  • João XXIII Hospital - Specialty Hospital

Display:

Specialty: General Surgery

  • Dr. Diego

Specialty: Hospital

  • Holy Family Hospital
  • Hospital João XXIII

Specialty: Maternity

  • Holy Family Hospital

Is it possible? Regards,

4229 Posts
Kadministrator
9 years ago
0
Level 5

Hi,

instead of setting as hidden field you should put it to hidden position, some fields don't work properly wheny they are set as hidden.

Get a Book for SEBLOD