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.

Show all weblogs only filter those that you don't want.

July 13, 2007 1:55pm

Subscribe [1]
  • #1 / Jul 13, 2007 1:55pm

    michaelTSCPL

    105 posts

    I have not found where I can include all weblogs initially and then filter out those that I do not want. Example: Front page I will be pulling in all updated and new content from multiple weblogs into an area. I don’t want to have to list out each weblog such as this:

    {assign_variable:my_weblog="default_site|Main|research|programs"}

    What I want to do is this:

    {assign_variable:my_weblog="all"}

    This is probably easy but I just can’t seem to locate this.

  • #2 / Jul 13, 2007 2:01pm

    Lisa Wess

    20502 posts

    Assigned variables are just *creating* variables, they don’t do anything until they’re called. What you actually want is the weblog parameter =)

  • #3 / Jul 13, 2007 2:14pm

    michaelTSCPL

    105 posts

    So if I do not specify a weblog then (according to the weblog parameter) it will show all. So is weblog=”” necessary or can it be removed entirely?


    {exp:weblog:entries orderby="date" sort="desc" limit="15" weblog="" dynamic="off"}
    <li>{title}</li>
    {/exp:weblog:entries}

    I answered my question on this…it works either way. Thanks for link.

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

ExpressionEngine News!

#eecms, #events, #releases