Menu

#1022 for type column to modify

open
nobody
None
1
2017-08-26
2016-07-07
Anonymous
No

Hi
I need help for three pages
1.) editentry.php
2.) viewentry.php
3.) report.php
there is a column named as TYPE which is used for external and internal but we donot need this column , if we rmove this column from edit entry or view entry.php or report.php,it shows erroe.
How to solve it??

Discussion

  • Campbell Morrison

    I have modified the default branch of MRBS so that it will not use types if $booking_types is empty or there is only one type. To do this add

    unset($booking_types);
    

    to your config file.

    You can download the default branch here

     

    Last edit: Campbell Morrison 2016-07-07
    • Anonymous

      Anonymous - 2016-07-07

      Hi..
      Also I want to hide it from the HTML settings .
      We dont want to show that type column also in all three pages

       
    • Anonymous

      Anonymous - 2016-07-12

      Hi we are not able to download now?
      By mistake I deleted..
      How can I again download it

       
      • Campbell Morrison

        Just follow the link further up this page.

         
  • Campbell Morrison

    Sorry, I don't understand. What do you mean by "the HTML settings"?

     
    • Anonymous

      Anonymous - 2016-07-07

      In the below attachment , I dont want to display type column .
      In all three pages I want to hide from user that type column

       
  • Campbell Morrison

    Yes, if you download the latest code from the default branch it should do what you want (and also remove the type field from email notifications).

     
    • Anonymous

      Anonymous - 2016-07-07

      Should I download and change whole mrbs settings or just config file

       
      • Anonymous

        Anonymous - 2016-07-07

        My supervisor told me that she downloaded the latest version.
        Please do help which files to download as we stuck on that page

         
  • Campbell Morrison

    You will need to download the complete code and treat it like an upgrade to a new release. Upload everything to your web server except the config file. Make sure you backup your database and your old web server files first.

     
  • Campbell Morrison

    You will need to download all the files in the web directory and then upload them to your web server. This is the latest development version - it is a later version than 1.5.0.

     
  • Anonymous

    Anonymous - 2016-07-14

    I have downloaded the settings...
    It is not working ..
    edit entry.php showing an error internal resolution
    and edit.pay is not working

     
  • Campbell Morrison

    Have you downloaded all the files in the web folder and then uploaded them all (except the config file) to your web server?

     
  • John Beranek

    John Beranek - 2016-07-14

    Just a little assistance, you can get a complete archive (Zip/Tar) copy of the latest code with the link:
    https://sourceforge.net/p/mrbs/hg-code/ci/default/tarball

     
  • Campbell Morrison

    What version of MRBS were you running before? Did the new version ask you to upgrade the database? If you were running 1.5.0 and the new version didn't ask you to upgrade the database then I think you must have done something wrong. If it did upgrade the database, then can you tell me the exact error you are seeing please?

     
  • Anonymous

    Anonymous - 2017-08-26

    how to change logo?

     echo "<div id=\"logo\">\n";
    

    ???

     

    Last edit: Campbell Morrison 2017-08-26
    • Campbell Morrison

      As this question is unrelated to the topic of this ticket, please could you raise it as a new Support Request. Also, could you give more detail please on what you want to do. Thanks.