ATutor

Learning Management Tools







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


Jump menu problem following upgrade to 142


  • 2004-09-22 16:48:59

    Jump menu problem following upgrade to 142

    I've just completed an upgrade from 1.4 to 1.4.2. Everything appeared to work perfectly with one exception...the Jump Menu.

    Instead of displaying the names of the various courses, it now simply displays a list of numbers. These numbers seem to reflect the [b]orgina[/b]l alphabetical order of the six courses currently available. The course were renamed (using the format 'Number: Course Name') shortly before the upgrade to ensure a specific display order. As a result, the numbers within the Jump Menu no longer bear any relationship to the current display order.

    Any suggestions? Is this an upgrade issue/bug?

  • 2004-09-22 17:19:22

    Jump menu problem following upgrade to 1.4.2

    which theme are you using?
    if you are using a theme other than the Default one, you will have to download and reinstall the themes for 1.4.2.

    ATutor 1.4.2 cannot successfully use themes made for ATutor 1.4.1 or 1.4.0

  • 2004-09-23 14:10:19

    Same problem

    Be sure to provide enough information about your system, and the circumstances of any problems you are experiencing. Support requests lacking complete information may not get a reply. [DELETE THIS NOTICE BEFORE SENDING YOUR SUPPORT REQUEST] I just completed the same upgrade 1.4.0 --> 1.4.2 and I have a similar experrience.

    In my case, it is giving me the first letter of my course name:
    A
    F
    C
    M

    instead of
    Art 10
    Chemistry 12,
    etc.

    i would assume that is why blackwidow is getting the numbers ...first character only showing up

    I\'m using a custom theme that stripped out much of the menu options.

  • 2004-09-23 15:01:17

    apply the fix

    the old block looked like:
    62 <?php foreach ($tmpl_nav_courses as $course): ?>
    63 <?php if ($course['course_id'] == $_SESSION['course_id']): ?>
    64 <option value="<?php echo $course['course_id']; ?>" selected="selected"><?php echo $course['title']; ?></option>
    65 <?php else: ?>
    66 <option value="<?php echo $course['course_id']; ?>"><?php echo $course['title']; ?></option>
    67 <?php endif; ?>
    68 <?php endforeach; ?>

    replace with:


    62 <?php foreach ($tmpl_nav_courses as $this_course_id => $this_course_title): ?>
    63 <?php if ($this_course_id == $_SESSION['course_id']): ?>
    64 <option value="<?php echo $this_course_id; ?>" selected="selected"><?php echo $this_course_title; ?></option>
    65 <?php else: ?>
    66 <option value="<?php echo $this_course_id; ?>"><?php echo $this_course_title; ?></option>
    67 <?php endif; ?>
    68 <?php endforeach; ?>

  • 2004-09-23 16:13:10

    Which script

    Which script is this fix supposed to be applied to? There's an awful lot to look through to try and find the matching block.

    Incidentally, I am using some custom themes but realised that there had been changes in theme application between 1.4 and 1.4.2 so I re-created my themes from the 1.4.2 default one. I've actually only made changes to the CSS sheet. However, it might be worth adding a warning about this incompatibility in the themes readme.

  • 2004-09-23 16:49:05

    header.tmpl.php

    it's in the header template

    themes/theme_name/header.tmpl.php

  • 2004-09-23 17:32:12

    Older files

    With this change, is a working modded version of the older
    header.tmpl.php and theme.config.php
    safe to use within a copy of the new default theme?

    I realize that the theme has to be added in the config file

    thanks
    larry

  • 2004-09-23 18:12:26

    Should be ok

    Differences are the jump menu fix above, and the addition of the search tab, two tabs left of the jump menu in the Default theme. Download one of the new themes and paste the code changes into your template, if needed.

    Themes is still being perfected. Hopefully there won't too many more changes.

  • 2004-09-23 18:18:26

    TNX

    Thanks Greg

    larry

  • 2004-09-23 18:43:29

    Problem solved

    Cheers!

  • 2004-09-30 18:34:45

    "What we did?"

    Larry et.al

    Would you care to make an addition to the new Community Discussions forum, that talks about your experiences with ATutor and Postnuke. You could help us get the new forum going.

    http://atutor.ca/forum/16/1.html