Listing Articles with switch
  • I have stupid problem but can't find any solution.
    All my article types have custom field "featured". I want to get all articles with "featured" checked. I use
    {{ list_articles length="5" ignore_issue="true" ignore_section="true" order="bydate desc" type="news, story" constraints="featured is on"  }}


    and it gives me nothing
  • 2 Comments sorted by
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    i tried this on Newscoop version 3.5.2 (in a short version) and it worked for me:

    {{ list_articles constraints="featured is on" }} 
    ON
    {{ /list_articles }}
    {{ list_articles constraints="featured is off" }} 
    OFF
    {{ /list_articles }}


    what system are you running on? possibly the version does not have this feature installed yet?
  • I have got this problem in 3.5.3. I think something else I did wrong