yearly calendar?

  • rodolphe aoustin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #111659 by rodolphe aoustin
yearly calendar? was created by rodolphe aoustin
Hi

I can configure a weekly or monthly calendar; but I need a yearly one.
one line per month.
any option to do that?

thanks,
Rod

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

More
7 years 1 month ago #111671 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic yearly calendar?
Hi Rod

Unfortunately, we don't support that option. And to be honest, it's something could not be implemented. We just cannot have enough space to display 30 days in a row

Regards,

Tuan

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

  • rodolphe aoustin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago - 7 years 1 month ago #111811 by rodolphe aoustin
Replied by rodolphe aoustin on topic yearly calendar?
one of our competitor did it:
www.lapenseesauvage.com/cures-detox/infos-reservation.html

I know they use your module, you can see when you click on a week.
But based on what you said, I guess they had to build the calendar by themselves.
Hopefully you will add to your roadmap as there is a real need.

thanks,
Rod
Last edit: 7 years 1 month ago by rodolphe aoustin.

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

More
7 years 1 month ago - 7 years 1 month ago #111825 by James Riley
Replied by James Riley on topic yearly calendar?
It is a neat calendar layout that they use that is really nice for back-to-back event display.

Inspecting their code, they are using RegularLabs "Modules Anywhere" extension (a wonderful extension, IMHO) to display their calendar module.

What I don't see when Inspecting their calendar code specifically is any reference to EventBooking usual class or style names (no "eb" in any of the class names) or EB's CSS files (all of their CSS is defined in /cures-detox/templates/lps/css/template_infos.css and not EB's CSS files... their template could combine all CSS files into one however). The registration button(s) that display when you click a date block on the calendar link to EventBooking though, so yes they are using EB for booking clients into the events.

I do see a possible mention of OpenCal in one of the class names and in their Javascript. Maybe OpenCal this is what they are using instead.

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 :.
Attachments:
Last edit: 7 years 1 month ago by James Riley.

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

  • rodolphe aoustin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #111828 by rodolphe aoustin
Replied by rodolphe aoustin on topic yearly calendar?
I think i will use the sourcerer plugin to build this calendar in php.
I will only need to understand how to retreive the list of events (ideally child events of a parent event since I only have recurrent events).
I didn't find such API in the documentation, some helpers here:
eventbookingdoc.joomservices.com/develop...stomization-override
but nothing like getEvents() or getChildEvents(parentEventId)
I will look more

thanks,
Rod

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

More
7 years 1 month ago - 7 years 1 month ago #111833 by James Riley
Replied by James Riley on topic yearly calendar?
You could query the DB directly if the helpers don't already exist. The table(s) you'd have to consult would be __eb_events, and possibly __eb_event_categories and/or __eb_event_group_prices {edit: and/or __eb_categories}. You might be able to use an existing class or object as well by modifying an existing EB plugin or module rather than using sourcer (which is another great extension by RegularLabs!) Looking at the existing Upcoming Events module or Calendar modules might give you some insight, too.
When I need to hack code and see what an object contains, I'll do something like:
Code:
< div style="display:none; white-space: pre;"> < ? php print_r($theObject) ? > < / div > *** remove the spaces -- included them so that my code would display in the forum ***
... and then use the Inspector to set display -> block so that it show up for me (but not my users).

You might also want to check out CustomHTML Advanced as an alternative to Sourcer -- it works a little like Sourcer but requires less insertion of bracketed syntax as it allows standard html / php / js / etc. right in a text box. (As a disclaimer, this *could* pose a security risk to your site if someone hacked you and inserted new code into your site via CustHTMLa.... but if they've hacked you, they would probably hide their code in your template or a core Joomla file anyway rather than looking to see if you happen to have the extension installed).

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: 7 years 1 month ago by James Riley. Reason: typos and formatting, and as noted

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

Moderators: Tuan Pham Ngoc