Commit graph

158 commits

Author SHA1 Message Date
defacer
4153708fd9 If a block forgets to set the footer, we won't get a warning in debug mode. 2004-05-25 10:01:41 +00:00
defacer
c5507e52f4 Small addition for the future: blocks will be able to define their own
HTML attributes.
2004-05-21 10:59:40 +00:00
defacer
d4950608dd Update, better and simpler handling. 2004-05-12 07:33:06 +00:00
defacer
828c4e095a Preparation for Nuke blocks integration, and relaxing of requirements for
block db upgrade scripts. We 're getting to a point where you can really
have a directory with just a single 20-line file for your block and Moodle
will do all the rest. Much like Nuke does now. That is A Good Thing! :-)
2004-05-11 16:08:03 +00:00
moodler
56e29ea0f4 Added a CVS version number 2004-05-10 13:27:09 +00:00
defacer
d7baeddac5 Grand Bugslayer Eloy at work again: Hiding the blocks if they have no content
should mean "if they have no content AND no footer".
2004-04-20 08:38:56 +00:00
defacer
ca319818fc Don't display blocks that have no content at all. I 'm not sure if this
could cause any confusion, but it solves the problem with the admin block
being displayed to guests.

The thought about a "display only to X and Y kinds of users" feature came
to mind, but maybe that would be more confusing than useful.
2004-04-20 07:43:26 +00:00
stronk7
0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00