×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Remove Free Event text

Remove Free Event text 8 years 6 months ago #32449

  • Pat Vanden Bosche
  • Pat Vanden Bosche's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 52
  • Thank you received: 1
I am working my way through the component, how my client wants events to display. Since they are a tourism board and not the event holder, they do not want to have "free event" show when you mouse over an event shown on the calendar. How can I remove that?

Here is the page where the calendar is shown:
patdevelopment.com/index.php/eventlist

Thanks,
Pat

Remove Free Event text 8 years 6 months ago #32464

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Pat,
The "Free event" text is automatically added when the event is free. (no price entered in the description).
If you don't want to enter a price and just want to hide the "free event" text everywhere on the page, maybe the easist way would be to make a language override for the string
COM_MATUKIO_FREE

This way wherever we output this string it would be empty. Would this work for you?

There is a more complicated way which would involve creating template overrides etc.

Regards,
Daniel

Remove Free Event text 8 years 6 months ago #32478

  • Pat Vanden Bosche
  • Pat Vanden Bosche's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 52
  • Thank you received: 1
Thank you, Daniel. I've made the change in the language file. But how do I keep it from being overwritten when there is an update? Will I just have to keep up with it manually?

Pat

Remove Free Event text 8 years 6 months ago #32482

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hä, why did you change it in the language file. Joomla has a feature calles language override. Go to extension manager -> languages -> override. Create a new override for the "COM_MATUKIO_FREE" string and this shouldn't be overridden anymore.

Regards,
Daniel

Remove Free Event text 8 years 6 months ago #32487

  • Pat Vanden Bosche
  • Pat Vanden Bosche's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 52
  • Thank you received: 1
Wow, I didn't know this. I'll do just that.

Thanks,
Pat
  • Page:
  • 1
Time to create page: 0.137 seconds