#238 Type of booking

open
nobody
None
5
2014-05-30
2012-02-27
Rotix79
No

Dear all

when we have upgrade from 1.4.7 to 1.4.8 the option of "booking type" is blank, no choice.

So every new booking still remain in "white/blank color" and we can add the booking type internal oer exeternal.

Can we fix??

The MRBS system is on RHEL 5.6

packages version
mysql-server-5.0.77-4.el5_6.6
php53-mysql-5.3.3-1.el5_6.1
php53-pdo-5.3.3-1.el5_6.1
php53-xmlrpc-5.3.3-1.el5_6.1
php53-gd-5.3.3-1.el5_6.1
php53-odbc-5.3.3-1.el5_6.1
php53-snmp-5.3.3-1.el5_6.1
php53-devel-5.3.3-1.el5_6.1
php53-cli-5.3.3-1.el5_6.1
php53-mysql-5.3.3-1.el5_6.1
php53-pspell-5.3.3-1.el5_6.1
php53-xml-5.3.3-1.el5_6.1
php53-intl-5.3.3-1.el5_6.1
php53-bcmath-5.3.3-1.el5_6.1
php53-ldap-5.3.3-1.el5_6.1
php53-imap-5.3.3-1.el5_6.1
php53-dba-5.3.3-1.el5_6.1
php53-common-5.3.3-1.el5_6.1
php53-5.3.3-1.el5_6.1
php53-mbstring-5.3.3-1.el5_6.1
php53-process-5.3.3-1.el5_6.1

Thanks a lot

Discussion

  • Campbell Morrison

    What have you got in your config file for booking types?

    Campbell

     
  • Rotix79

    Rotix79 - 2012-02-27

    this is the part of config.inc.php

    /****
    * Entry Types
    ****/

    // This array maps entry type codes (letters A through J) into descriptions.
    //
    // Each type has a color which is defined in the array $color_types in the Themes
    // directory - just edit whichever include file corresponds to the theme you
    // have chosen in the config settings. (The default is default.inc, unsurprisingly!)
    //
    // The value for each type is a short (one word is best) description of the
    // type. The values must be escaped for HTML output ("R&D").
    // Please leave I and E alone for compatibility.
    // If a type's entry is unset or empty, that type is not defined; it will not
    // be shown in the day view color-key, and not offered in the type selector
    // for new or edited entries.

    // $typel["A"] = "A";
    // $typel["B"] = "B";
    // $typel["C"] = "C";
    // $typel["D"] = "D";
    $typel["E"] = get_vocab("external");
    // $typel["F"] = "F";
    // $typel["G"] = "G";
    // $typel["H"] = "H";
    $typel["I"] = get_vocab("internal");
    // $typel["J"] = "J";

     
  • Campbell Morrison

    The format of the config file for booking types has changed in 1.4.8. Have a look at the sample config file and systemdefaults. In particular you will need to

    (1) remove the line "require_once 'language.inc'"
    (2) Use $booking_types, but if you are just using 'E' and 'I' you should not need to change anything

    Campbell

     
  • Rotix79

    Rotix79 - 2012-02-28

    thanks Campbell

    if I remove the line "require_once 'language.inc'" the MRBS don't work.

    So now i want to view the defaults files.

     
  • Campbell Morrison

    Sounnds like there's something wrong with your installation. I would try re-uploadfing all the 1.4.8 files.

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous

    Anonymous - 2014-05-29

    can I change from internal and external types to regular or private?

     
  • Campbell Morrison

    If you are using MRBS 1.4.10 then all you need to do to rename the booking types is add

    $vocab_override["en"]["type.E"] = "Your name 1";
    $vocab_override["en"]["type.I"] = "Your name 2";
    

    to your config file.

    Campbell

     

Anonymous
Anonymous

Cancel  Add attachments