QUOTE (Kevin Aylward @ Apr 20 2008, 03:12 PM)

QUOTE (shenews @ Apr 17 2008, 07:54 PM)

I'm using multiblog to create an "all blogs" blog that aggregates entry listings, tags, comments, etc., on an install where "our" blogs are a subset, so I can't use 'include_blogs="all" '
I'd like to use instead
include_blogs="foo"
and define foo in one place, so when I create new blogs I only need to add the new ID in one place. Can I do that? How? And where should the string I update live? (As a template module?)
I'd be grateful for pointers from anyone more knowledgeable about this...
thanks
Set up an MT variable containing the comma separated lists of the blog ID's that you need in your main index template. That way you can "name" your include and exclude blog lists.
We do something similar on some sites we manage. In some central location, like the header, you can specify your blog list:
CODE
<mt:setvar name="blogsToInclude" value="1,2,3,4" />
And then you can do something like:
CODE
<mt:Entries include_blogs="$blogsToInclude">