+ Post New Thread
Results 1 to 7 of 7
Virtual Learning Platforms Thread, New Main Menu Style Block in Technical; Hi there Is it possible to create another block that works in the exact same way as the main menu ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,587 Times in 1,390 Posts
    Blog Entries
    10
    Rep Power
    427

    New Main Menu Style Block

    Hi there

    Is it possible to create another block that works in the exact same way as the main menu block on the home page please?

    Thank you

    Z
    Attached Images Attached Images

  2. #2

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29
    I supposse the easiest way is to copy the block:

    Copy the folder: site_main_menu (I think thats the block you mean)

    Rename the folder: another_main_menu

    Inside the folder you will find: block_main_menu.php rename it so block_another_main_menu.php

    Then edit block_another_main_menu.php file,

    Edit line 1: <?php //$Id: block_another_main_menu.php,v 1.25 2007/01/09 11:04:13 skodak Exp $

    (You could change the date etc...)

    Edit line 3: class block_another_main_menu extends block_list {

    Then you just need to install the block: http://yourmoodle.com/admin

    This should install your new (copy) block.

  3. #3

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29

  4. #4
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    435
    Thank Post
    387
    Thanked 28 Times in 24 Posts
    Rep Power
    19
    If you checkout Marnel Junior School , there is a tweak of the moodle main menu that I wrote (top left).

    It's based on the slash-dot menu, with fold down menus.

    Happy to send you code/instructions if it is helpful.

    HA! Just checked the link to the moodle thread- that was my posting

    Thought it looked familiar...

    Charles.

  5. #5
    alan-d's Avatar
    Join Date
    Aug 2005
    Location
    Sutton Coldfield
    Posts
    2,400
    Thank Post
    353
    Thanked 254 Times in 185 Posts
    Rep Power
    74

    On a similar note

    Is there a way of hiding a menu item until a user is logged on?

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,587 Times in 1,390 Posts
    Blog Entries
    10
    Rep Power
    427
    Quote Originally Posted by alan-d View Post
    Is there a way of hiding a menu item until a user is logged on?
    I hide the whole menu. For individual menu item you could hide the item then allow students to view hidden items.

    As for the others, thanks chaps

    z

  7. #7
    alan-d's Avatar
    Join Date
    Aug 2005
    Location
    Sutton Coldfield
    Posts
    2,400
    Thank Post
    353
    Thanked 254 Times in 185 Posts
    Rep Power
    74
    Quote Originally Posted by FN-GM View Post
    I hide the whole menu. For individual menu item you could hide the item then allow students to view hidden items.

    As for the others, thanks chaps

    z
    Thanks - I hadn't thought of that

    Edit* - On second thoughts that wouldn't work for us as sometimes we need to have the ability to hide a menu item. I guess what I'm looking for is some way of having the ability to customise the menu for different user groups such as teacher and students.
    Last edited by alan-d; 26th November 2008 at 10:37 AM. Reason: second thoughts

SHARE:
+ Post New Thread

Similar Threads

  1. understand Parent main menu option
    By jkmoch in forum EduGeek Joomla 1.0 Package
    Replies: 0
    Last Post: 4th May 2008, 06:39 AM
  2. Create menu & sub-menu with Edugeek Joomla
    By FN-GM in forum EduGeek Joomla 1.0 Package
    Replies: 24
    Last Post: 8th December 2007, 11:48 PM
  3. XP Style Start Menu Query
    By Gatt in forum Windows
    Replies: 1
    Last Post: 6th August 2006, 02:43 PM
  4. Force XP Start Menu Style
    By in forum Windows
    Replies: 18
    Last Post: 17th January 2006, 11:29 AM
  5. Kiosk-style XP PC?
    By tarquel in forum Windows
    Replies: 15
    Last Post: 24th June 2005, 09:38 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •