- Posts: 30
- Thank you received: 4
Ebview module category - configure number of rows and ordering of events
- Sascha Buchda
- Topic Author
- Offline
- Junior Member
Less
More
5 years 7 months ago #117175
by Sascha Buchda
Ebview module category - configure number of rows and ordering of events was created by Sascha Buchda
Hello Tuan,
I am using the ebview module in order to display events from categories in a joomla module (see eventbookingdoc.joomservices.com/advance...tures/eb-view-module ).
Unfortunately I did not find a way to configure the number of columns, i.e. the number of events that is displayed on a row in each category. The number of events seems to be hard coded and is two. I would like to have 3 or more events per column. Futher, the order of the events cannot be configured.
Do you see a way to configure the ebview module correspondingly. Either (possibly) as undocumented parameter in the eb view module or as code adjustement i ncase this is hard-coded?
Thanks in advance,
Sascha
I am using the ebview module in order to display events from categories in a joomla module (see eventbookingdoc.joomservices.com/advance...tures/eb-view-module ).
Unfortunately I did not find a way to configure the number of columns, i.e. the number of events that is displayed on a row in each category. The number of events seems to be hard coded and is two. I would like to have 3 or more events per column. Futher, the order of the events cannot be configured.
Do you see a way to configure the ebview module correspondingly. Either (possibly) as undocumented parameter in the eb view module or as code adjustement i ncase this is hard-coded?
Thanks in advance,
Sascha
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 7 months ago #117179
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Ebview module category - configure number of rows and ordering of events
Hi Sascha
In case you create menu item to display events from a category, then the number of events is configurable
However, in case you use eb view module, the number is hardcoded and you will need to customize the code to change it.
Look at the file components/com_eventbooking/themes/default/common/events_columns.php , you will see this line of code:
Change 2 to number you want, then check it again. It should work fine
Tuan
In case you create menu item to display events from a category, then the number of events is configurable
However, in case you use eb view module, the number is hardcoded and you will need to customize the code to change it.
Look at the file components/com_eventbooking/themes/default/common/events_columns.php , you will see this line of code:
Code:
$numberColumns = JFactory::getApplication()->getParams()->get('number_columns', 2);
Change 2 to number you want, then check it again. It should work fine
Tuan
Please Log in or Create an account to join the conversation.
- Bettin
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 0
5 years 4 months ago #120035
by Bettin
Replied by Bettin on topic Ebview module category - configure number of rows and ordering of events
Hello,
I miss the answer to the second part of the question
In my case, the events should be arranged by start date.
Best regards
bettin
I miss the answer to the second part of the question
the order of the events cannot be configured
In my case, the events should be arranged by start date.
Best regards
bettin
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 4 months ago #120054
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Ebview module category - configure number of rows and ordering of events
Hi Bettin
In Query String parameter, try to add filter_order=event_date , then check it to see whether it's working as expected?
Tuan
In Query String parameter, try to add filter_order=event_date , then check it to see whether it's working as expected?
Tuan
Please Log in or Create an account to join the conversation.
- Bettin
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 0
5 years 4 months ago - 5 years 4 months ago #120086
by Bettin
Replied by Bettin on topic Ebview module category - configure number of rows and ordering of events
Last edit: 5 years 4 months ago by Bettin.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 4 months ago #120104
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Ebview module category - configure number of rows and ordering of events
Hello Bettin
In this case, I would need to check it directly on your site to see what's wrong and get it sorted. Please submit a support ticket sending us super admin account of your site and link to the page which the module is being displayed so that we can check and correct the issue for you
Tuan
In this case, I would need to check it directly on your site to see what's wrong and get it sorted. Please submit a support ticket sending us super admin account of your site and link to the page which the module is being displayed so that we can check and correct the issue for you
Tuan
The following user(s) said Thank You: Bettin
Please Log in or Create an account to join the conversation.
- Bettin
- Offline
- Senior Member
Less
More
- Posts: 52
- Thank you received: 0
5 years 4 months ago #120139
by Bettin
Replied by Bettin on topic Ebview module category - configure number of rows and ordering of events
Hello Tuan,
I found the mistake myself ::huh:
Configuration -> Themes -> Events -> Order direction
The wrong value was given there DESC instead of ASC
Thank you for your kindness.
Best Regards
bettin
I found the mistake myself ::huh:
Configuration -> Themes -> Events -> Order direction
The wrong value was given there DESC instead of ASC
Thank you for your kindness.
Best Regards
bettin
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 4 months ago #120143
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Ebview module category - configure number of rows and ordering of events
Actually, the value entered in Query String should override the value configured in Configuration
However, I guess you have it works as how you want now, so we will leave it as how it's for now
Regards,
Tuan
However, I guess you have it works as how you want now, so we will leave it as how it's for now
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.