ATutor

Learning Management Tools







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


Breadcrumbs as student


  • 2011-10-06 12:54:01

    Breadcrumbs as student

    Hello,

    As root (instructor) the breadcrumbs are right, but as student, jump from "index" label to the current page.

    The error is here:

    $parent_page = $_pages[$current_page]['parent'];

    This variable is not correct, but I don't know where the variable $_pages is initialized.

    Help please :)

  • 2011-10-06 13:01:50

    Re: Breadcrumbs as student

    You probably want to look in include/lib/menu_pages.php

  • 2011-10-07 08:54:32

    Re: Breadcrumbs as student

    zesar1980, can you find out the breadcrumb nodes that are skipped on the student's page are "content directories" or "contents".

    You probably have known that the "content directory" is the non-content in the course content structure, whose only purpose is to hold the sub-contents or sub-content-directories. Clicking on the "content directory" takes the course creator to "edit content directory" page and only does expand/collapse directory for students.

    So, if the skipped breadcrumb nodes are content directories, this is an expected behaviour, otherwise, if any contents are skipped, report a bug @ http://atutor.ca/atutor/mantis/view_all_bug_page.php