Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I’m not sure I understand the question, how you want to display all 12 months?

    Thread Starter cebab-pl

    (@cebab-pl)

    Sorry… i hope that help (screen): http://prntscr.com/ca9gmu

    Your inquiry requires changes in the code, which unfortunately we cannot help with as part of our support. We’ll keep this topic open for a few days for other user to chime in if possible. Thanks for your understanding.

    Ben

    Thread Starter cebab-pl

    (@cebab-pl)

    Thanks Ben. I modified the code and it works:
    In: app/view/calendar/view/month.php

    for( $x = 01; $x <= 12; $x++ ){
    					$local_date
    						->set_date(
    							$local_date->format( 'Y' ),
    							$local_date->format($x),
    							1
    						);
    					$args['exact_date'] = $local_date->format();
    					$href = $this->_registry->get( 'html.element.href', $args );
    					$links[] = array(
    						'enabled' => true,
    						'class'=> 'ai1ec-prev-month',
    						'text' => '<i class="ai1ec-fa ai1ec-fa-angle-left"></i> ' .
    						$local_date->format_i18n( 'M' ),
    						'href' => $href->generate_href(),
    					);
    
    			}

    but it can be removed after updating the plug

    I am glad that you found a way, and thanks for sharing your solution, will certainly help other users.

    Take care,
    Ben

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Display all months’ is closed to new replies.