ATutor

Learning Management Tools







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


Menu


  • 2005-03-18 19:12:12

    Menu

    Hi,

    I'm am enjoying ATutor very much.
    Again, it's an excellent product.

    Can you tell me where I would locate the file that contains the menu on the blue bar?
    Is it possible to an a menu item to it?

    thanks,
    Dave

  • 2005-03-19 07:51:45

    theme.cfg.php

    Add an entry to the theme.cfg.php file within a theme, in the public navigation section of the file

    http://atutorsvn.rcat.utoronto.ca/repos/atutor/tags/atutor_1_4_3/docs/themes/default/theme.cfg.php

  • 2005-03-19 21:13:02

    Menu

    Hi,

    When I create the menu item with it\'s link, how do I get it to appear in it\'s own window?

    Thanks,
    Dave

  • 2005-03-20 07:55:25

    Add attibutes

    Add the following to the lines for new tool you have defined in theme.cfg.php, and replace the "new_tool" value with the name you have given the new tool.


    $user_nav['new_tool']['attributes'] = 'target="new"';

  • 2005-03-21 19:52:55

    Menu

    Hi,

    I've tried...
    $user_nav[faq']['attributes'] = 'target="_new"';
    $user_nav['faq']['attributes'] = 'target="_blank"';

    It doesn't display in it's own window.
    Any other ideas?

    thanks,
    Dave

  • 2005-03-21 20:40:48

    Try again

    Both examples you've listed work (adding the missing quote to the first one)

    $user_nav['faq']['name'] = _AT('faq');
    $user_nav['faq']['url'] = $_base_path . 'users/faq.php';
    $user_nav['faq']['attributes'] = 'target="_new"';
    $user_nav['faq']['image'] = $theme_image_path .'user-star.gif';