ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

limit entries for current year only

February 13, 2013 8:52am

Subscribe [1]
  • #1 / Feb 13, 2013 8:52am

    Marco Angeli

    34 posts

    Hi everybody,

    I’d like to show posts for the current year only.

    Do you think it’s the right parameter?

    year= "{current_time format ="%Y"}"

    Thanks!

  • #2 / Feb 13, 2013 1:04pm

    Bhashkar Yadav

    727 posts

    Yes, it would work. In the case of not working, you can try with having the parameter parse=“inward”.


    Best Regards,

  • #3 / Feb 18, 2013 8:45am

    Marco Angeli

    34 posts

    Thanks Bhashkar,

    it works!

    Marco

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases