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

Support archive

path problems

martin allman 21 Jul 2012 16:59 question, complete

My blog/archive template looks like this:

{exp:channel:entries channel="blog" year= "{segment_3}" month="{segment_4}"}

{title}


{blog}
{/exp:channel:entries}

My blog/index template looks like:


{exp:low_yearly_archives channel="blog" start_month="1" status="not closed" sort="desc"}
{if year_count == 1}
    {/if}


  • {year}

    {months}

  • {if num_entries != 0}
    {month_short}
    {if:else}
    {month_short}
    {/if}

  • {/months}


    {if year_count == total_years}{/if}
    {/exp:low_yearly_archives}



    I had to introduce a "/" between {path=blog/archive} and {year} to make this work this is contrary to the example included within the

    plugin example am I making a mistake here?

    Replies

    1. Low 22 Jul 2012 08:14

      The example comes from a time where EE still added a trailing slash to their paths. Currently they don't anymore. Adding a slash is just fine.

    2. martin allman 22 Jul 2012 08:16

      Thank you Low