Ebview module category - configure number of rows and ordering of events

  • Sascha Buchda
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 1 week ago #117175 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

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

More
2 months 1 week ago #117179 by Tuan Pham Ngoc
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:
$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.

Moderators: Tuan Pham Ngoc