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.

How to show the last edit date of multiple weblogs

January 15, 2010 5:39am

Subscribe [3]
  • #1 / Jan 15, 2010 5:39am

    barthoub

    63 posts

    Hi,

    On an EE site I made years ago I had this code to show when the last update was made on a specific weblog.

    {exp:weblog:entries weblog="blog_fiches" show_future_entries="yes" limit="1"  dynamic="off" orderby="edit_date"}
              Laatste actualisering van de website: {edit_date format='%d-%m-%Y'}
    {/exp:weblog:entries}

    Recently I added another weblog to the site and now I want to show when the last update was made in ANY weblog or at least in those two weblog.

    Does anyone have an idea on how to do this?

    Thanks in advance,

    Bart Houben

  • #2 / Jan 15, 2010 11:34am

    Sue Crocker

    26054 posts

    Bart, what happens if you just add the other weblog name like this:

    weblog="blog_fiches|news"

    Does that help?

  • #3 / Jan 15, 2010 11:36am

    Ingmar

    29245 posts

    Just specify the other weblogs in the weblog= parameter as well (or leave off entirely).

  • #4 / Jan 15, 2010 11:40am

    barthoub

    63 posts

    Ok, thanks a lot. That does it.
    Never knew this was valid and that simple.

  • #5 / Jan 15, 2010 11:42am

    Ingmar

    29245 posts

    Glad to see it was that easy 😉 Post again as needed, please.

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

ExpressionEngine News!

#eecms, #events, #releases