LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.
GNU General Public License v3.0
386 stars 232 forks source link

HELP: How to edit reservation.php page? #368

Open fmidia opened 4 months ago

fmidia commented 4 months ago

Friends How to edit and hide some fields on the RESERVATION.PHP visual page?

I need to edit the

and other visual files, I've already done this with the files in the TPL folder, but the files are not hidden, I've already cleared the browser's cache, but the fields and forms still don't hide

I'm new to this code, and I urgently need to hide some fields and forms that will not be used on this page. Does anyone have the right way to "hide names, fields and forms"?

Example, I need to hide the forms and fields in the areas: "Title of reservation" "Reservation description" and next to the names and fields for Guests "Allow participants to join"

How to hide this fields??

                <div class="col-xs-12 reservationDescription">
                    <div class="form-group has-feedback">
                        <label for="description">?
                        </label>
                        <textarea id="description" name="reservationDescription"
                                  class="form-control"
                                  ></textarea>

                    </div>
                </div>

                                </div>
sdh91 commented 3 months ago

Title and Description are the two hard coded items of a reservation. Why are you trying to hide them?

fmidia commented 3 months ago

because I'm customizing a project, do you know how to do this?

sdh91 commented 3 months ago

I do not believe what you are trying to do would work out in your favor in the end. You wouldn't be able to submit unique reservations. I believe it would be better to change the name of the field to suit your needs then to attempt to hide them. Such as we did, instead of "Title" we changed it to "Customer".

In theory you should be able to comment out the portions you don't need, but you make break things in other portions of the application.

fmidia commented 3 months ago

I already managed to change the CSS