All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Yearly Achives and EE Calendar Tag

Kippi 4 Dec 2012 22:20 problem, rejected

Hi,

Im using Yearly archives to display articles by month:

{exp:low_yearly_archives channel="news" start_month="1" status="not closed" sort="desc" show_future_entries="no" start_year="" end_year=""}
{months}
{if num_entries > 0}
{month} / {num_entries}
{/if}
{/months}
{/exp:low_yearly_archives}

I also have the EE mini calendar tag in my template.

Im trying to get the calendar tag to display the current month regardless of the url created by yearly archive tag.

For example, I want December to show in the calendar tag but if I click on month links created by Yearly archive such as January and the url becomes: news/month/2012/1/ the calendar changes to January and doesnt say on December.
Ive tried playing about with Dynamic="no" to no avail.

The beginning of my calendar tag looks like this:

{exp:channel:calendar channel="events" switch="calendarToday|calendarCell" start_day="monday" leading_zeroes="yes" show_future_entries="yes" show_expired="no" dynamic="no"}

{date format="%F %Y"}

Any ideas. Thanks

Replies

  1. Low 4 Dec 2012 23:29

    This is standard behaviour for EE's native Calendar tag and is not related to the workings of Low Yearly Archives, so that's nothing I can help you with, I'm afraid. I suggest you ask EllisLab support about this or post your question on the EE Stack Exchange site: http://expressionengine.stackexchange...