additional data for locations

  • mucho69
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago - 9 years 8 months ago #84987 by mucho69
additional data for locations was created by mucho69
Hey,
I would like the locations to have more data included. Actually I would like to have a "Link", "Telephone" and "Description" column.

If I just add them in

administrator/components/com_eventbooking/view/location/tmpl/default.php

will that work?

sincerely
Last edit: 9 years 8 months ago by mucho69.

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

More
9 years 8 months ago - 9 years 8 months ago #84992 by James Riley
Replied by James Riley on topic additional data for locations
After your added the proper code to your admin tmpl file, you would also have to add code to every tmpl file in the front-end component where you want to show the additional location information.
Do a global search on every file in the [root]/com_eventbooking/view folder for "$item->location_name" to see where location info is displayed. On the template files you want the location detail to show up, add appropriate code to show "$item->your_location_detail_tag" for every field you've included (change "your_location_detail_tag" to the name of one of your new fields; repeat for every new field).
Save the edited files as template overrides in the appropriate folder structure in /template/html/com_eventbooking/appropriate_folder_name .

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 :.
Last edit: 9 years 8 months ago by James Riley.
The following user(s) said Thank You: Tuan Pham Ngoc

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

  • mucho69
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 8 months ago #84994 by mucho69
Replied by mucho69 on topic additional data for locations
wow, thank you for the fast answer!!:)
thats gonna be some hard work, since I'm kind of a noob, butI hope I get it

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

Moderators: Tuan Pham Ngoc