Override Layout for Upcoming Events

  • kraymitchell
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 3 weeks ago #61051 by kraymitchell
Override Layout for Upcoming Events was created by kraymitchell
Trying to figure out which file is for the menu item layout 'upcomingevents'. I want to modify the table with pricing information.

Which file is this?

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

More
10 years 3 weeks ago #61060 by James Riley
Replied by James Riley on topic Override Layout for Upcoming Events
I think if might Depend on exactly which style of upcoming event you are are...
Take a look in /components/com_eventbooking/views/upcomingevents/tmpl/ and try editing (or template overriding) default.php. Or, if you are in table or timeline style, try table.php or timeline.php instead,

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 :.
The following user(s) said Thank You: Tuan Pham Ngoc

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 3 weeks ago #61062 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override Layout for Upcoming Events
Many thanks James :)

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

  • kraymitchell
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 3 weeks ago - 10 years 3 weeks ago #61289 by kraymitchell
Replied by kraymitchell on topic Override Layout for Upcoming Events
I tried that folder, but that file has NO layout in it at all. The header is there, the table and the buttons are not! Both of which are what I need to modify.

This is all I see in pretty much any of the layout files in that folder!

*EDIT*
When I tried to submit yesterday I included the code tag with the code from the file in it, but got a Forbidden message. I thought the forum was broken so I tried submitting a ticket and got the same error. So I've attached a screenshot instead.

Seems the code tag is not working properly?
Attachments:
Last edit: 10 years 3 weeks ago by kraymitchell.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 3 weeks ago #61293 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override Layout for Upcoming Events
Infact, the actual place where the code for the layout stored is components/com_eventbooking/views/common/events_default.php . Look at that file and you will be able to modify the code to meet your need

Tuan
The following user(s) said Thank You: kraymitchell

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

  • kraymitchell
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 3 weeks ago #61297 by kraymitchell
Replied by kraymitchell on topic Override Layout for Upcoming Events
YAY! Exactly what I needed, thank you!

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

Moderators: Tuan Pham Ngoc