Can I display all events at once

  • Antfantastic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago - 13 years 7 months ago #11258 by Antfantastic
Can I display all events at once was created by Antfantastic
Hi there,

Hugely impressed with event booking! Have been asked if I can display all events from multiple categories on a single page?

many thanks
Last edit: 13 years 7 months ago by Antfantastic.

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

More
13 years 7 months ago #11273 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Can I display all events at once
Hi

The solution is that you create a menu item to link to category view of Event Booking and in the menu parametter of that menu item, don't choose any category from category from dropdown . After that, when users access to this menu item, it will display all events .

Regards,

Tuan

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

More
13 years 6 months ago #11862 by Stevv
Replied by Stevv on topic Re: Can I display all events at once
Hi Tuan, that works fine for me, too, but ;)

I modified the php-file via tmpl-override to get a column called "category". (Customer wishes a List-view by date, but won´t miss the category).

I came up with this code
Code:
<?php echo $this->category->name;?>

but its only shown in frontend, if I choose one of the categories in menu-manager.

there must be some "if"-statement in the php-code, but I cannot find it - due to the fact i´m not a programmer, but a webber ;-)

maybe some hint for me?

thanx a lot and keep up your good work!
Stevv

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

More
13 years 6 months ago #11890 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Can I display all events at once
Hi Steve

I am sorry, I don't really understand your questions. You are using Table layout and want to add a column to display category of the event ?

Tuan

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

More
13 years 6 months ago #11896 by Stevv
Replied by Stevv on topic Re: Can I display all events at once
Hi Tuan,

You are using Table layout and want to add a column to display category of the event ?


correct!

this is my table layout, where events of 4 different categories are listed by date:


| date | eventname | venue | city | category | price | register |


so, I can´t get the category-column work properly. category-name will only be displayed if I choose one of the categories in menu-manager. that will me loose my list of ALL events in ALL categories ... :S

any idea or hot fix?

thanx a lot,
Stevv

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

More
13 years 6 months ago #11936 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Can I display all events at once
Unfortunately, that require some modification to category view of the extension (you need to modify sql command to get category title for each event....) . If you know Joomla , PHP programming, you can modify category model (components/com_eventbooking/models/category.php) to do that. If not, maybe you can consider hiring us to do the modification for you. The price for the modification is 30$ .

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc