Hi,
Below are some changes which i tried but didn't worked out:-
1.On the View_entry.php page....The fiels 'Edit Entry','Delete Entry','Return To Previous Page' are shown as normal works...offcourse they are redirecting to a new location.I want to show them as 'Buttons'.The front UI should look like a button saying 'Edit Entry'.Can you tell me how can i do that as i studied the code....it is a tag which is redirecting to any page.I cannot implement <input type="\"submti\""> in that code line.
2.On the edit_entry page, I want to add a new text box which accepts Phone no,how can i make this field visible and that can be inserted in database.
3.On the edit_entry page i want to Remove or Hide the visibility of two fields 'Rooms' and 'Booking type'.I tried doing some changed but it is getting diabled instead of getting hidden.
4.I want to make a user who dosen't have access to Delete any entry. He/she should be able to only Edit entry.How can i create such a user.
5.On the Edit entry page i want to add a free text box for 'Comments'.How can i make this changes as the database is already set up with default fields.
Hope you can suggest me code changes for above issues.I will be looking onto this ticket and will be updatng if you need any data from my side.
First of all, please could you raise questions like this in future as Support Request tickets, rather than Bugs.
The answers to your questions are:
(1) Turning an anchor into a button link is a generic question and you'll find lots of advice and examples elsewhere by searching the web.
(2) See the instructions in INSTALL and systemdefaults.inc.php on how to create custom fields.
(3) You'll need to create a custom CSS file (see the documentation for how) and add a rule
(4) In standard MRBS you can prevent users deleting entries by setting both min_delete_ahead and max_delete_ahead to the same value. However this will also stop them editing entries as an edit involves creating a new entry and deleting the old one. But you probably want to stop them editing entries anyway as allowing them to do so effectively allows them to delete them (for example just edit it to be much shorter and take place five years in the future). If you want to do something more you'll need to modify MRBS code.
(5) As (2)