help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Feature requests for JEM 2.0 - initial public release

Alternate Event List Layout

Re: Alternate Event List Layout

8 years 10 months ago
#20876
Yes!!!!

How can I implement that?

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

Re: Alternate Event List Layout

8 years 10 months ago - 8 years 10 months ago
#20877
For this i made i quick sample by:
- going into backend of Joomla
- then go to templates (extensions->templates)
- click templates
- click the template
- create override of the eventlist by clicking at components->com_jem->eventslist

by doing so there will a file within the following location:
/templates/protostar/html/com_jem/eventslist/

it will have a default.php but it's loading the table file from the "common" folder. Most likely you only want to change the eventslist-table and not all the view so you need to adjust the default.php file.

instead of
Code:
<?php echo $this->loadTemplate('events_table'); ?>

you might want to rename it to
Code:
<?php echo $this->loadTemplate('events_table2'); ?>
and create a default_events_table2.php

Attached you will find a sample of the files i had in /templates/protostar/html/com_jem/eventslist/
Be aware it's just a sample and things need to be modified more.

By creating an override the template for all eventslist-view (if you have others) will also be modified so if you only want to have 1 menu-item with a different eventslist-view you have to create an option for the menu-item where the layout can be selected.
--> Can take a look at that too.

Attachments:

Last edit: 8 years 10 months ago by Bluefox.
The following user(s) said Thank You: jojo12

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

Re: Alternate Event List Layout

8 years 5 months ago
#22051
All,

I followed the above directions, but it didn't work. I really need this functionality within two months or so.

Any chance someone can create an appropriate component/module that does this?

Will consider some payment, but this is a not-for-profit effort. Thanks.

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

Re: Alternate Event List Layout

8 years 4 months ago
#22208
Third time's a charm. Got it to work. Thanks!

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

Time to create page: 0.440 seconds