ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


a weid error


  • 2004-10-20 12:54:52

    a weid error

    after using the drop down bar to select a course I received this error message

    [ Variable: error]
    [AT_ERROR_NO_SUCH_COURSE]

    besides the menu changed to this 'buttons'

    [ Variable: home] [ Variable: register] [ Variable: browse_courses] [ Variable: login] [ Variable: password_reminder

    i can send you a screenshot if you want

    and the log in box switched to
    [ Variable: logged_in_as]: [ Variable: guest]
    [ Variable: login]

  • 2004-10-20 12:56:19

    i forgot the

    http://elearning.med.unifi.it/atutor/info.php

  • 2004-10-20 18:51:10

    Template bug

    There is a bug in the default theme template for 1.4. Upgrade to the 1.4.2 theme.

    or replace the following block in themes/default/header.tmpl/php

    ----
    <!-- course select drop down -->
    <td align="right" valign="middle" class="navmenu"><form method="post" action="<?php echo $tmpl_base_path; ?>bounce.php" target="_top"><label for="jumpmenu" accesskey="j"></label>
    <select name="course" id="jumpmenu" title="<?php echo _AT('jump'); ?>: ALT-j">
    <option value="0"><?php echo _AT('my_courses'); ?></option>
    <optgroup label="<?php echo _AT('courses_below'); ?>">
    <?php foreach ($tmpl_nav_courses as $course): ?>
    <?php if ($course['course_id'] == $_SESSION['course_id']): ?>
    <option value="<?php echo $course['course_id']; ?>" selected="selected"><?php echo $course['title']; ?></option>
    <?php else: ?>
    <option value="<?php echo $course['course_id']; ?>"><?php echo $course['title']; ?></option>
    <?php endif; ?>
    <?php endforeach; ?>
    </optgroup>
    </select> <input type="submit" name="jump" value="<?php echo _AT('jump'); ?>" id="jump-button" /><input type="hidden" name="g" value="22" /></form></td>
    <!-- end course select drop down -->

    ----

    with

    ----
    <!-- course select drop down -->
    <td align="right" valign="middle" class="navmenu"><form method="post" action="<?php echo $tmpl_base_path; ?>bounce.php" target="_top"><label for="jumpmenu" accesskey="j"></label>
    <select name="course" id="jumpmenu" title="<?php echo _AT('jump'); ?>: ALT-j">
    <option value="0"><?php echo _AT('my_courses'); ?></option>
    <optgroup label="<?php echo _AT('courses_below'); ?>">
    <?php foreach ($tmpl_nav_courses as $this_course_id => $this_course_title): ?>
    <?php if ($this_course_id == $_SESSION['course_id']): ?>
    <option value="<?php echo $this_course_id; ?>" selected="selected"><?php echo $this_course_title; ?></option>
    <?php else: ?>
    <option value="<?php echo $this_course_id; ?>"><?php echo $this_course_title; ?></option>
    <?php endif; ?>
    <?php endforeach; ?>
    </optgroup>
    </select> <input type="submit" name="jump" value="<?php echo _AT('jump'); ?>" id="jump-button" /><input type="hidden" name="g" value="22" /></form></td>
    <!-- end course select drop down -->