0

Is it Possible to exclude weekends from the {exp:low_events:calendar} tag? Weekends is not needed.

1 Answer 1

0

Not with the current version (v1.4.1). Will make a note of adding something like a {is_weekend} variable to the tag, so you can use that in a conditional.

3
  • I did this if statement for now.. {if {day_url format="%w"} == "0" OR {day_url format="%w"} == "6"}{/if} but that tag would be great! Commented Aug 1, 2015 at 9:24
  • That'd work. However, if you're on EE 2.9 or up, I'd be careful with that syntax, as that might throw an error due to EE's new conditional parser.
    – Low
    Commented Aug 1, 2015 at 15:17
  • Yes, I am using 2.9. I'm not getting an error though, should i be? Is there a better way i could get the same result? Cheers. Commented Aug 1, 2015 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.