Calendar Event Thumbnail

  • mystifier
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #25032 by mystifier
Calendar Event Thumbnail was created by mystifier
It would be a great addition if the event thumbnail appeared on the calendar rather than the standard calendar_event.png

I would be extremely grateful if anyone could provide a patch.

With thanks.

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

More
11 years 2 months ago #25033 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Calendar Event Thumbnail
You wish for it and you have it :). Please get this file, unzip it, then upload to components/com_eventbooking/views/calendar/tmpl folder . After that, please check the page again and let me know the result.

If it works well, why don't you help me by giving my extension a 5 stars rating and a nice review to support my development ? If it doesn't work, simply let me know and I will check it .

Tuan
Attachments:

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

  • mystifier
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #25037 by mystifier
Replied by mystifier on topic Re: Calendar Event Thumbnail
Not quite Tuan,

The calendar_event.png still appears alongside a 'missing image' icon and the event title is no longer within the coloured box (I am not sure if attached image will show).

I already gave you a great review when I first looked at your extension and don't think that they allow multiple reviews from the same user :unsure:
Attachments:

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

More
11 years 2 months ago #25038 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Calendar Event Thumbnail
Sorry, there was a typing mistake in the code. Please get the updated file here and it will work well.

Thanks for gave my extension your rating and review :).

Tuan
Attachments:

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

  • mystifier
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #25041 by mystifier
Replied by mystifier on topic Re: Calendar Event Thumbnail
Thanks Tuan, this is much better :laugh:

The small difference, which is not obvious to see the reason, is that the event title now appears outside of the coloured div which may look confusing when there are two events on the same date.

It has the potential to make the calendar look much better though.

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

More
11 years 2 months ago #25042 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Calendar Event Thumbnail
Please try to find out it yourself. The code is components/com_eventbooking/views/calendar/tmpl/default.php. Save me some time. The new year holiday is coming and I am still too busy :(. en.wikipedia.org/wiki/Lunar_New_Year

Tuan

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

  • mystifier
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #25043 by mystifier
Replied by mystifier on topic Re: Calendar Event Thumbnail
Okay Tuan,

Happy New Year !!!

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

  • mystifier
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #25048 by mystifier
Replied by mystifier on topic Re: Calendar Event Thumbnail
For anyone else for whom this is useful, it was simply an additional unnecessaruy </a> at line 141

It has made a dramatic improvement to how the calendar looks.

Regards.

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

More
11 years 2 months ago #25049 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Calendar Event Thumbnail
@mystifier: Could you please update the modified file here ?

Tuan

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

  • mystifier
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago - 11 years 2 months ago #25051 by mystifier
Replied by mystifier on topic Re: Calendar Event Thumbnail
File attached.

Summary: If a thumbnail image is set for an event, it is used on the calendar, otherwise the default calendar_event.png is shown.
Attachments:
Last edit: 11 years 2 months ago by mystifier.

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

Moderators: Tuan Pham Ngoc