Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Block by Day
  • Posted: 05.12.2002, 01:08
     
    astiskala
    rank:
    Freshman Freshman
    registered:
     August 2002
    Status:
    offline
    last visit:
    14.09.03
    Posts:
    44
    I am working on porting my school site (www.hurlstone.com.au) into PostNuke (www.hurlstone.com.au/postnuke) and would like to know if there is any way that I can make the Emerphids module only display on weekdays. I currently display cycle days and this has no use on weekends. What would be even better is if I could specify when I could show it (ie. so I could turn it off during holidays). If that can't be done, I can turn it off in holidays manually, however the weekend thing is really needed.
  • Posted: 05.12.2002, 02:00
     
    dberansky
    rank:
    Professional Professional
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.04.03
    Posts:
    746
    I don't think there is an existing solution for this. You'd have to get dirty with some coding. I wouldn't recommend modifying Emerphids' code, though, as it will hamper your future ability to upgrade. Instead, make a hidden block that can hide/show a block based on a condition.

    This should be easily doable, but let me know if you need furthure help.
  • Posted: 05.12.2002, 10:40
     
    astiskala
    rank:
    Freshman Freshman
    registered:
     August 2002
    Status:
    offline
    last visit:
    14.09.03
    Posts:
    44
    Well, I wouldn't know where to start. I am by no means a PHP coder, I just know enough to get by. (Tweaking modules, etc)

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula