layout editor for version 1.5

layout editor for version 1.5

Audun Hauge -
回帖数:7
I've updated the layout editor to work with the new block-system for version 1.5. This version will also handle greater number of external resources. Instead of making a div for each external resource/mod, this version makes 4 divs max per type of resource/mod. The rest are available from combo-boxes. Selecting a resource from a combo will change the topmost draggable div to this resource. The combo-boxes will only show up if there are more than 4 resources of a given type.
Everything seems to work on my test moodle, but I expect bugs and limitations will show up, give it a try! (on your test system).
Capabilities:
  • rearange sideblocks, add and remove
  • add external resources
  • move resources
  • move sections
  • delete resources
  • adjust dates for lessons, assignment etc

回复Audun Hauge

Re: layout editor for version 1.5

Timothy Takemoto -

Dear Audun

I tried your layout block in my 1.5 but alas it said

Fatal error: Class courseblock_layout: Cannot inherit from undefined class moodleblock in /home/at2/eigo/public_html/moodle/blocks/layout/block_layout.php on line 4

Somewhere else on the forums that you would not be releasing your block till 1.5 is released.  I look forward to it.

Timothy

回复Audun Hauge

Re: layout editor for version 1.5

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Audun, thanks!

I think you've uploaded the old 1.4 version from December by accident.

I'm thinking of putting this into the main CVS tree ... would you like to keep working on it there?
回复Martin Dougiamas

Re: layout editor for version 1.5

Audun Hauge -
This was made under an early 1.5, before the great divide for blocks. I've got an updated version that works for a recent download of 1.5 (Moodle 1.5 UNSTABLE DEVELOPMENT (2005022400))
The main problem with keeping it working is tracking changes in MOODLE_PAGE_VIEW --> PAGE_COURSE_VIEW and other things that seem to be in a fluid state for the moment.
I thought I'd wait till this had settled down before posting a new version, but here is the latest version.

Working in the cvs tree sounds interesting, although it's been some time since I last used cvs ... hope I remember how smile
回复Audun Hauge

Re: layout editor for version 1.5

Karrie V -

Is there a place this can be tested prior to downloading???  It sounds like a GREAT feature!  Thanks

回复Karrie V

Re: layout editor for version 1.5

Karrie V -
Anyone have a place where this can be tested?
回复Karrie V

Re: layout editor for version 1.5

Audun Hauge -
See this link.
Julian Ridden has set up a test/demo course with lots of new mods and sideblocks. Very nice design and a easy way to test new mods.