Show list of events in a category in "layout=events"

  • Bandola
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 5 months ago #138396 by Bandola
Hi!

I use the Event-booking view module to show a list of upcoming event, for example on a start page.

But I want to have one module per category.

So I want two modules:
  • Events Booking - View A = Show category A
  • Events Booking - View B = Show category B

I usually select View = Categories and Query string = layout=events (see file)

I guess I need to add something to the Query string? Like category-ID? I just don't make it work.

Ola

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

More
5 years 5 months ago #138401 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show list of events in a category in "layout=events"
Hi Ola

Try to set Query String to layout=events&id=100 (replace 100 with ID of the category you want to display) and it should work as you want

Regards,

Tuan

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

  • Bandola
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 5 months ago #138417 by Bandola
Hi Tuan!

Well, I thought so too... But only the title of the module shows up. No events. I have tried with different categories. If I remove "&id=3" events from all categories shows up.

When I change "View" from Categories to Category or Up-coming Events I get this big error.
0
LAYOUT PATH NOT FOUND

Kind regards
Ola

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

More
5 years 5 months ago #138418 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show list of events in a category in "layout=events"
It's because there is no layout=events in category or upcoming events view. If you use these views, you should change layout=table instead of layout=events

Tuan

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

Moderators: Tuan Pham Ngoc