Need to find the file that generates the detailed

  • Tim Stöhr
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 4 months ago #90834 by Tim Stöhr
Hi Tuan
I need to find the file that generates the detailed view of the events. I need to include the CB API in there as well as the trigger for implementing the calling of the stream so that I can add a commenting feature to the event.
Thanks
Tim

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

More
9 years 4 months ago - 9 years 4 months ago #90838 by James Riley
Replied by James Riley on topic Need to find the file that generates the detailed
The file you're looking for should be /components/com_eventbooking/view/event/tmpl/default.php

I find that the best way to find the file you're looking for is:
1) go to the view you want on your site
2) right-click on the page heading (eg Event Title) and INSPECT ELEMENT
3) look just above the page heading in the code to find the div with an id="eb-........" element. Copy the ID name.


4) using the software of your choice (I use Adobe DreamWeaver; file search apps will work too as long as they can scan the content of php files) do a search on the whole view/ folder for that ID

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 4 months ago by James Riley.

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

  • Tim Stöhr
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 4 months ago #90839 by Tim Stöhr
Replied by Tim Stöhr on topic Need to find the file that generates the detailed
Thanks mate.... How can I find it out though? I tried over the console but I failed. Googled and didnt find anything. Any help in that regard? Or do you have to work your way through the code?

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

More
9 years 4 months ago #90841 by James Riley
Replied by James Riley on topic Need to find the file that generates the detailed
I keep a copy of my website and all installed components on my local machine so that I can search through the files easily.

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.

Moderators: Tuan Pham Ngoc