new (constraints) for {{ list_articles }}
  • Vote Up0Vote Down MarinaMarina
    Posts: 296Member
    Would be nice to add for {{ list_articles }} one more (constraints) by url_name's section. It would be useful in case if a user change sections order and can loose some content.

    for example,

    {{ list_articles constraints="section_url_name is sport" ignore_issue="true" order="bypublishdate desc" }}
  • 1 Comment sorted by
  • Dear Marina,

    "It would be useful in case if a user change sections order and can loose
    some content."
    I'm sorry, I don't understand how one could lose content by rearranging
    sections and how would this extra parameter help.

    Mugur Rus
    Senior Software Developer, Sourcefabric
    mugur.rus@sourcefabric.org

    Cluj-Napoca, Romania
    +40 (0)720 528408
    Skype: mugur_rus

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric



    On Fri, Mar 11, 2011 at 11:24 AM, Marina <
    newscoop-dev@lists.sourcefabric.org> wrote:

    > Would be nice to add for {{ list_articles }} one more (constraints) by
    > url_name's section. It would be useful in case if a user change sections
    > order and can loose some content.
    >
    > for example,
    >
    > {{ list_articles constraints="section_url_name is sport"
    > ignore_issue="true" order="bypublishdate desc" }}
    >