+ Post New Thread
Results 1 to 3 of 3
Network and Classroom Management Thread, MRBS Entry Types in Technical; Banging my head against a wall here. Trying to extend the External and internal types to other categories. Any examples ...
  1. #1

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,287
    Thank Post
    225
    Thanked 405 Times in 302 Posts
    Rep Power
    162

    MRBS Entry Types

    Banging my head against a wall here. Trying to extend the External and internal types to other categories. Any examples I can find are using the older conventions and I can find nothing that works. Anyone got entry types working in 1.4.10?

    I have
    Code:
    $vocab_override["en"]["type.E"] ="External";
    $vocab_override["en"]["type.J"] ="Timetabled";
    $vocab_override["en"]["type.C"] ="Club";
    In my config file and
    Code:
    $vocab["type.I"]            = "Internal";
    $vocab["type.E"]            = "External";
    $vocab["type.J"]            = "Timetabled";
    $vocab["type.C"]            = "Clubs";
    in my lang file. No joy, the drop down and the key stays the same.

  2. #2

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,287
    Thank Post
    225
    Thanked 405 Times in 302 Posts
    Rep Power
    162
    To answer my own question it was actually very easy in the end.

    You don't to add anything to the Lang file. In your config.inc.php you add the vocab overrides for each key. Then use
    Code:
    unset($booking_types);
    $booking_types[] = "A";
    $booking_types[] = "B";
    ...
    to initialise the types, one for each vocab override. The first unset line is important as it clears the defaults..

  3. #3

    Join Date
    May 2013
    Location
    New Zealand
    Posts
    15
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    3
    Thanks for that info Helped me out

SHARE:
+ Post New Thread

Similar Threads

  1. Card entry type setup
    By quietriot1983 in forum How do you do....it?
    Replies: 3
    Last Post: 21st November 2013, 07:06 PM
  2. MRBS - add an edit link to week/day view booking entry
    By dgsmith in forum Web Development
    Replies: 2
    Last Post: 9th August 2011, 04:05 PM
  3. MRBS Meeting Type Setting Default
    By russdev in forum Network and Classroom Management
    Replies: 1
    Last Post: 9th November 2009, 11:55 AM
  4. DNS Entries - Weird, Spammy Types
    By Chuckster in forum Windows Server 2000/2003
    Replies: 8
    Last Post: 24th April 2009, 09:17 PM
  5. MRBS - Entry Types
    By Mauger in forum Network and Classroom Management
    Replies: 5
    Last Post: 9th January 2008, 11: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
  •