Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Layout course editing: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Cap resum de modificació
Línia 11: Línia 11:


todo: package in standard manner and upload in standard spot on moodle server, and include appropriate credits and licence notice
todo: package in standard manner and upload in standard spot on moodle server, and include appropriate credits and licence notice
==Layout Editor Version 1.6a==
* Created by Audun Hauge, modified by Timothy Takemoto and packaged by Bruno Vernier (c) GPL 2005-2006
** note: there are at least 2 minor forks of the original version for moodle 1.5
** Bruno attempted to merge them for moodle 1.6 into this package
** please let him have any new patches at bruno.vernier@gmail.com
==Installation==
# Unzip this file at the root folder of moodle source code
# You will next need to MANUALLY add a link within your existing course formats to allow for the layout editor to be enabled. For this example we have added it to the weeks format. Look for the commented line '''/// Start main column''' and adjust it to appear as shown below.
    Change:
    /// Start main column
    echo '<td id="middle-column">';
    print_heading_block(get_string('weeklyoutline'), 'outline');
    To:
    /// Start main column
    echo '<td id="middle-column">';
    $extra = '';
    if (isediting($course->id)) {
        href="'.$CFG->wwwroot.'/course/layout/layout.php?id='.$course->id.'">'.
        get_string('layout','layout').'</a>';
    }
    print_heading_block(get_string('weeklyoutline').$extra, 'outline');
==Using this Feature==
* A link to the course layout editor will appear once editing has been turned on.
* The editor provides a simple to use click and drag interface to allow for a quick and simple adjustment of moodle course design and flow.

Revisió del 19:39, 11 set 2006

Course Layout Editor

  • download layout2.zip (add url here) Tim posted it on sept 11 in the moodle forums
  • make a backup copy of the course/format/... that you wish to patch
  • unzip layout2.zip in that format folder
  • copy back the format.php from the backup'd folder
  • make the suggested patch in the README provided
  • a new link should appear when in "course edit" mode pointing to layout.php
  • Timothy Takemoto reports that it works fine in moodle 1.6 (although it is unchanged from moodle 1.5)


todo: package in standard manner and upload in standard spot on moodle server, and include appropriate credits and licence notice

Layout Editor Version 1.6a

  • Created by Audun Hauge, modified by Timothy Takemoto and packaged by Bruno Vernier (c) GPL 2005-2006
    • note: there are at least 2 minor forks of the original version for moodle 1.5
    • Bruno attempted to merge them for moodle 1.6 into this package
    • please let him have any new patches at bruno.vernier@gmail.com

Installation

  1. Unzip this file at the root folder of moodle source code
  2. You will next need to MANUALLY add a link within your existing course formats to allow for the layout editor to be enabled. For this example we have added it to the weeks format. Look for the commented line /// Start main column and adjust it to appear as shown below.
   Change:
   /// Start main column

echo '';

   print_heading_block(get_string('weeklyoutline'), 'outline');


   To:
   /// Start main column

echo '';

   $extra = ;
   if (isediting($course->id)) {
       href="'.$CFG->wwwroot.'/course/layout/layout.php?id='.$course->id.'">'.
       get_string('layout','layout').'</a>';
   }
   print_heading_block(get_string('weeklyoutline').$extra, 'outline');

Using this Feature

  • A link to the course layout editor will appear once editing has been turned on.
  • The editor provides a simple to use click and drag interface to allow for a quick and simple adjustment of moodle course design and flow.