hide Event Properties

  • tonnick
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #65012 by tonnick
hide Event Properties was created by tonnick
Hello

I just would like to hide the Event Properties tab. is there any other way than CSS to do that ? I did not see any option in theme to do that ?

thx for your help !

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 9 months ago #65021 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic hide Event Properties
Hi

There is no option to hide it. So you will have to modify code to remove it. Please send me the link to the page you want to remove so that I can look at it and tell you what file you need to modify

Regards,

Tuan

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

  • tonnick
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #65027 by tonnick
Replied by tonnick on topic hide Event Properties
hum I would not like to modify core files, because it will be overwrite by next update. moreover, how can I manage it if I do not want it for this event, and need it for the next one ?

for now, the only solution I can see would be to hide it using CSS, but i'ts quite crap to do that :(

#eb-event-info {display:none}

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 9 months ago #65031 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic hide Event Properties
You can use template override to override the layout so that it won't be lost when you upgrade to new version of Events Booking

Please see docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core to understand how to create layout override

Tuan

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

More
8 years 9 months ago #65045 by James Riley
Replied by James Riley on topic hide Event Properties
@Tonnick -- nearly all my site's customizations to EB are done via template overrides, the method that Tuan suggested.

Note: when upgrading, you'll want to do a quick compare between your override and the new file that the upgrade installed, just to make sure that there are not important core code changes in the new version.
I would also recommend tagging the modifications in your override so that you can find them again (eg, I usually add something like /* ********* JAMES MODIFIED 6/26/16 *********** */ to php code when I change it).

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.

  • tonnick
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #65107 by tonnick
Replied by tonnick on topic hide Event Properties
humm yes you're right, so could you please indicate which file I would need to overwrite ?

thx !

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 9 months ago #65174 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic hide Event Properties
Depends on the page you are talking about. Usually, the two following files must be modified/overrided:

components/com_eventbooking/views/common/events_default.php
components/com_eventbooking/views/event/default.php

Regards,

Tuan

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

More
4 years 11 months ago - 4 years 11 months ago #124741 by Michael Corleone
Replied by Michael Corleone on topic hide Event Properties
Dear All,
I am also trying to hide Event Properties but only if specific category is active.
I am trying to source files that I should modify.Since this is originally old topic, can you please let me know which files should I modify to hide Event properties. Also, if there is other way to do it, please let me know.

Edit - found solution in editing of file in themes/default/common/default.php
Last edit: 4 years 11 months ago by Michael Corleone.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
4 years 11 months ago #124747 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic hide Event Properties
Great. Thanks for sharing your finding

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc