Fork me on GitHub

"On this day in history" or daily-changing block?  Bottom

  • Hey guys
    was wondering if anyone knew where I could get a block basically for a history site which would be able to each day pick one of a selection of lines of texts detailing particular historical events (which I'd enter) and display it.

    I'd settle for one which just displayed a sentence a day (i.e. didn't pick from a selection, and I'd just enter one for each day)

    Any info gratefully received! :D
  • It's there already, it's called Ephermids or something along those lines.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Hmmm okay well I'm using that now, but the standard text in the box begins "On a day like today..." with a couple of line breaks, which I'd rather leave out. Is this possible?
  • Easiest way would be to edit the lang file at /includes/language/blocks/{language}/ephem.php.

    change...

    Code

    define('_ONEDAY','On a day like today...');


    to...

    Code

    define('_ONEDAY','');


    or to whatever you want it to say.

    --
    cyber_wolf
    www.bkbsolutions.com - My Zikula module development site.
  • That's excellent cheers!

This list is based on users active over the last 60 minutes.