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.

excluding weblogs from archives

October 24, 2007 8:05pm

Subscribe [2]
  • #1 / Oct 24, 2007 8:05pm

    llorax

    6 posts

    Right now my code pulls entries from half of my weblogs into the archives.

    {exp:weblog:entries weblog="fall|default" orderby="date" sort="desc" limit="100" disable="pagination|custom_fields|categories|member_data|trackbacks"}

    I will have a new weblog every month so I am wondering if I can say “find all except for the two weblogs I don’t want to show?  Thanks!

  • #2 / Oct 25, 2007 2:13pm

    e-man

    1816 posts

    You can exclude weblogs from the weblog tag. From the docs:

    you can add the word “not” (with a space after it) to exclude weblogs:
    weblog=“not weblog1|weblog2|weblog3”

    But why a new weblog every month?

  • #3 / Oct 25, 2007 2:54pm

    llorax

    6 posts

    I add a new weblog every month because its an online magazine updated by dozens of people.  It’s the easiest way I’ve found to have the site display only articles in that one issue and make sure people post in the right spots.  If there is a better way, feel free to suggest something and thanks for the code!

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

ExpressionEngine News!

#eecms, #events, #releases