JPhMaat / Availcal

A Calendar to show your day-to-day availability
1 stars 5 forks source link

publish vs unpublish ? #5

Closed AlainRnet closed 8 years ago

AlainRnet commented 8 years ago

Hi! I discover your simple and excellent component. Great work, thank you very much.

Is it possible - and easy to develop - to add the possibility to publish and unpublish the Darkperiods ?

Thank you in advance for your answer. Best regards, AlainR

JPhMaat commented 8 years ago

Hi,

In case you only use the full busy status you may use the party status as unpublished. In the plugin and/or module settings you must add on the tab Custom CSS- Enter CSS rules the following text: .cal_part { background-color:#fff;}

With this setting the darkperiods with the busy status “partly” are not shown.

Regards,

Jan

AlainRnet commented 8 years ago

Thank you for your answer. But I cannot do that because I have 2 differents objects to display on calendar, so I use full for one and party for the second. Any other idea ? Many thanks again. Best regards, AlainR

AlainRnet commented 8 years ago

Sorry, I think you're right, I can do as you suggest. Many thanks. AlainR

AlainRnet commented 8 years ago

Thank you again. Finally the following CSS code is required: .cal_part{background-color:transparent} .cal_part.display_part, .display_part{display:none}