Skip to content
This repository was archived by the owner on Dec 28, 2020. It is now read-only.

Theme Custom Functions

Chris Carlevato edited this page Mar 27, 2017 · 1 revision

Helios Calendar provides a number of functions that can be used within themes to customize public calendar functionality. These functions can be used uniquely within each theme you create and each theme can utilize them to customize the public calendar in different ways.

Note: Only a supported value will be accepted. If any other value is used it will be ignored and the default setting will be applied.

Category Output

set_cat_cols()

Controls the number of columns used for category list output within event forms. This setting can be adjusted to allow the category list to fit within narrower (or wider) theme designs to avoid lost space or overruns.

  • Accepted: Numeric value greater than 0.
  • Default: 3
  • Support: 2.0+

set_cat_links()

Controls the display of Select/Deselect All links within the category list.

  • Accepted: 0 - Hide Links, 1 - Show Links
  • Default: 1
  • Support: 2.0+

Form CAPTCHA

set_captcha()

Override admin console CAPTCHA settings.

  • Accepted: 0 - Turn CAPTCHA Off, 1 - Use Helios Native CAPTCHA, 2 - Use reCAPTCHA
  • Default: Current admin console setting value.
  • Support: 2.0+

Note If reCAPTCHA credentials (including public/private keys) are not saved within the admin console reCAPTCHA will not work.

WYSIWYG Editor

set_editor()

Override admin console CAPTCHA settings.

  • Accepted: 0 - Disable Editor (Use Plain Textarea), 1 - Activate TinyMCE
  • Default: Current admin console setting value.
  • Support: 2.0+

Event Submission Form

set_RSVP()

Turn RSVP (Event Registration) inputs on/off within the public event submission form.

  • Accepted: 0 - Disabled (Hide Form Inputs), 1 - Active (Registration Options Visible)
  • Default: 1
  • Support: 2.0.2+

Clone this wiki locally