- Posts: 36
- Thank you received: 0
Column View As Module
- Mary Kinirons
-
Topic Author
- Offline
- Junior Member
-
In a fashion similar to the current sample 'upcoming events' layout.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
If you want to display the module to show the content exactly as it does on your homesfl.org/2017site/index.php/program-event/upcoming-events page, you could create a module using Custom HTML Advanced, and within it setup an iFrame set to display homesfl.org/2017site/index.php/program-e...vents?tmpl=component (adding the tmpl=component to any Joomla URL prevents the template from displaying).
You would have to force some heavy changes via CSS to resize elements (and I've found that there are elements in EB that don't have classes applied, which will make it a little harder to tweak things). Just make sure that you apply a unique ID or module class to the Custom HTML Advanced module so that you can target the module contents and not accidently affect your main event display.
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
1. Set View parameter to Upcoming Events
2. For Query String parameter, set it to layout=columns&id=ID_OF_CATEGORY_YOU_WANT
Then check it, it should work
Tuan
Please Log in or Create an account to join the conversation.
- Mary Kinirons
-
Topic Author
- Offline
- Junior Member
-
- Posts: 36
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Mary Kinirons
-
Topic Author
- Offline
- Junior Member
-
- Posts: 36
- Thank you received: 0
Also, is there a way to make 3 column and limit how many events show at once? As we add events beyond the column limit, it seems to push the page down and make a new row.Tuan Pham Ngoc wrote: Actually, I think you can try to create a module, type Events Booking - View:
1. Set View parameter to Upcoming Events
2. For Query String parameter, set it to layout=columns&id=ID_OF_CATEGORY_YOU_WANT
Then check it, it should work
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
1. To limit number of event, add limit=NUMBER into query string above. For example layout=columns&id=1&limit=9
2. For making it 3 columns, unfortunately, you will have to edit the code for now. Try to look at the file components/com_eventbooking/view/common/tmpl/events_columns.php, you will see the code in line 26 and 30 which has this set to 2. Change 2 to 3 should solve the issue
Tuan
Please Log in or Create an account to join the conversation.
- Mary Kinirons
-
Topic Author
- Offline
- Junior Member
-
- Posts: 36
- Thank you received: 0
That worked great! Thanks!Tuan Pham Ngoc wrote: Hello Bill
1. To limit number of event, add limit=NUMBER into query string above. For example layout=columns&id=1&limit=9
2. For making it 3 columns, unfortunately, you will have to edit the code for now. Try to look at the file components/com_eventbooking/view/common/tmpl/events_columns.php, you will see the code in line 26 and 30 which has this set to 2. Change 2 to 3 should solve the issue
Tuan
Last question. Is there a way to turn off pagination for this view? When it moves beyond the three events a pagination area appears and to click to 'page 2' and refreshes the whole pages and makes them scroll down again to view the next set.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
Tuan
Please Log in or Create an account to join the conversation.
- Mary Kinirons
-
Topic Author
- Offline
- Junior Member
-
- Posts: 36
- Thank you received: 0
Tuan Pham Ngoc wrote: Turn of pagination? Then how many events should be displayed in that page?
Tuan
For the homepage we only want to preview the next three events. They can just view the rest on the actual upcoming events page.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
If it works, then you should move that file to your site template PATH_TO_TEMPLATE/html/com_eventbooking/upcomingevents folder so that the change won't be lost when you update to future releases of Events Booking. This is called Template Override in Joomla
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
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.