Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fmidia opened this issue Jun 4, 2024 · 4 comments
Open

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

fmidia opened this issue Jun 4, 2024 · 4 comments

Comments

@fmidia
Copy link

fmidia commented Jun 4, 2024

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
Copy link

sdh91 commented Jun 18, 2024

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

@fmidia
Copy link
Author

fmidia commented Jun 18, 2024

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

@sdh91
Copy link

sdh91 commented Jun 18, 2024

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
Copy link
Author

fmidia commented Jun 18, 2024

I already managed to change the CSS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants