Okay
  Public Ticket #1862187
Shrink day cell size
Closed

Comments

  • Brian started the conversation

    Hello,

    Is there an easy CSS code for shrinking the day cell size (height at least) in month view? For ex: if the overall calendar dimensions were originally 10" wide X 10" high, each of the 6 rows would be shrunk producing a view that was 10" wide X 6" high. 

    Is there a way to show a 90 day calendar? Or possibly 3 calendars side by side (prev month, current month, future month) where the dates of the 3 calendars stayed in order?

    Thanks for any help,

    -B

  •  894
    Zhivko replied

    Hi,

    1) Unfortunately, there's no easy way at the moment to adjust cell sizes.

     

    2) Replace file stachethemes_event_calendar\front\js\stec.js with the one I've attached. 

    Then you can display 3 calendars for previous this and next month like following:

    [stachethemes_ec start_date=prev_month min_date=prev_month max_date=prev_month]
    
    [stachethemes_ec start_date=this_month min_date=this_month max_date=this_month]
    [stachethemes_ec start_date=next_month min_date=next_month max_date=next_month]

    The extra code in stec.js file will be included in the next update.


    Stachethemes Developer

  •   Brian replied privately
  •  894
    Zhivko replied

    I've added additional parameter to stec.js file. (file attached). 

    You can now specify number of months from "now".

    Example:

    [stachethemes_ec start_date=-2M min_date=-2M max_date=-2M]
    [stachethemes_ec start_date=this_month min_date=-6M max_date=+6M]

    -2M means 2 months ago 

    +6M means 6 months in the future from current month.





    Stachethemes Developer

  • Brian replied

    Thanks! It looks great. I definitely appreciate all your help.