ATutor

Learning Management Tools







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


Content Navigation Box


  • 2008-04-16 00:13:55

    Content Navigation Box

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -Win Server 2003
    version of ATutor -1.6
    versions of php -5.0.X
    version of mysq l -4.1
    webserver & version -Apache 2.2.8
    copies of error messages -None
    changes to default settings -None
    web browser being used -IE 7
    and anything else relevant -


    Text in the content navigation box does not wrap and is spilling out of the box into the main page.

    How do I configure the box or have something like the demo SCO pages?

    Thanks

    Ob Evans

  • 2008-04-16 02:50:05

    Re: Content Navigation Box

    After same solution someone please help

  • 2008-04-16 09:06:50

    Re: Content Navigation Box

    RE: menu title spilling over the edge, see:
    http://www.atutor.ca/view/7/13497/1.html


    Not sure what you mean by "...have something like the demo SCO pages"

  • 2008-04-16 11:02:12

    Re: Content Navigation Box

    Thanks for the reply greg but the answer you posted on my thread which is the answer for this thread doesn't seemto work.

    When I change those values only changes how the text looks. It still cuts the actualy length of the values.


    Lets say the title of my content was
    Training For the Disabled

    But when this title is in the side menu it cuts it off automatically.
    So
    <a title=Training For the Disabled">Training For...</a>

    I need the text in between tags to be full

    Thanks once again

    Thomas

  • 2008-04-16 11:21:14

    Re: Content Navigation Box

    Though I would not recommend it, you could hack the printMenu function in

    include/classes/ContentManager.class.php

    You'll loose your changes when you upgrade, unless you want to create a patch, or keep track of your changes from version to version.

  • 2008-04-16 21:03:12

    Re: Content Navigation Box

    Hi Greg,

    Thanks for the reply. The answer you gave fall short of what I was expecting. Please just take a look at a default course page. Unles you name all course tiles "Welcome!" or "Atutor", anything longer than these will cut the box right edge.

    I tried an SCO demo. The content navigation had no box.

    From my experience with ATutor so far, I think I'm beginning to like it more but there need to be improvements or refinements as we move along.

    I tried made some changes to the ContentManager.class.php but they had no effect on the Content navigation box.

    Thank you for providing any further info.

    ob


    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2008-04-16 21:18:42

    Re: Content Navigation Box

    Thanks alot made a solution

    $truncate = false;
    if ($truncate && ($strlen($content['title']) > (28-$depth*4)) ) {
    $content['title'] = rtrim($substr($content['title'], 0, (28-$depth*4)-4)).'...';
    }
    Edited the include/classes/contentmanager.class.php

    just put truncate = false above that code

  • 2008-04-17 10:06:39

    Re: Content Navigation Box

    the menu is a little too narrow for text, even after it gets truncated. so to fix:

    in /themes/default/styles.css, change the margin & width numbers like so:

    #contentcolumn_shiftright {
    margin-left: 18em;
    }

    #leftcolumn{
    float: left;
    width: 17em;
    margin-left: 5px;
    margin-top:-10px;
    }

  • 2008-04-17 21:39:47

    Re: Content Navigation Box

    Thanks Heidi. Your directive took care of my problem.

    ob



    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -