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.