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.

Order By Weblog within Weblog Entries Tag

October 09, 2010 4:42pm

Subscribe [3]
  • #1 / Oct 09, 2010 4:42pm

    PixelGrinch

    48 posts

    Scenario: I have 5 Weblogs I would like to include in a report. The output should be sorted by weblog. What am I missing?
    There are soo manay parameters I can set but what about orderby=“blog_title”, weblog_id, etc ???
    I am not looking for a query alternative ...
    Or do I have to run a separate Weblog Entries Tag for every weblog? An overkill I try to avoid.

    exp:weblog:entries weblog="fashionring|pendant|earring|bracelet|fashionother" sort="asc" 
    disable="categories|member_data|pagination|trackbacks" status="open" limit="9999"

    I only get outputs organized by date, obviously, or with parameters allowed for the orderby option. Am I missing anything. I can’t find anything in the forums, but then it could be one of those days. I just can’t believe I am the only one needing this function 😊

    thanks
    PixelGrinch

  • #2 / Oct 10, 2010 11:26am

    Ingmar

    29245 posts

    I am afraid there’s not built-in way to sort by weblog. Unless you are using multiple exp:weblog:entries tags using a query would indeed be the best way to accomplish that.

  • #3 / Oct 25, 2010 7:45pm

    PixelGrinch

    48 posts

    Hi Ingmar,

    sorry I must have missed your reply ...
    I thought this would be a common use 😊 ... I just went ahead creating a weblog:entries tag for each weblog separately. It got the job done but it was a bunch of finger work. In this particular case I just needed to avoid the use of queries.

    Again thanks for the quick response, Ingmar.

  • #4 / Oct 25, 2010 8:07pm

    Sue Crocker

    26054 posts

    Glad Ingmar was able to help. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases