meeting-room-booking-system / mrbs-code

MRBS application code
Other
126 stars 63 forks source link

Custom Checkbox in Edit_Entry #1608

Open jberanek opened 8 years ago

jberanek commented 8 years ago

Hi All,

I'm difficult when editing the custom checkbox. I want 4 checkboxes and the user can select more than one facility. it is like my attachment.

I follow the instruction, making database in mrbs_entry and mrbs_repeat but still not working

Thanks For Help

Reported by: *anonymous

Original Ticket: mrbs/support-requests/884

Attachments: https://sourceforge.net/p/mrbs/support-requests/884/attachment/facilities2.jpg

jberanek commented 8 years ago

Hi All, please help...

Original comment by: *anonymous

jberanek commented 8 years ago

It's not possible without modifying the MRBS code. If you have some PHP knowledge then you will need to make changes to edit_entry.php and (possibly) edit_entry_handler.php.

Original comment by: campbell-m

jberanek commented 8 years ago

Hi Mr. Campbell, can you guide me? I don't expert on PHP

thank you

Original comment by: *anonymous

jberanek commented 8 years ago

Hi Campbell, Please Help

Original comment by: *anonymous

jberanek commented 8 years ago

Sorry - unfortunately I do not have the time to help with support requests that aren't concerned with standard MRBS. Somebody else seeing this may do, or else you will have to find a PHP developer to help you.

Original comment by: campbell-m

jberanek commented 8 years ago

Hi Campbell, I try it with my self but the position on top (picture). Please Guide me

thank you

Original comment by: *anonymous

Attachments: https://sourceforge.net/p/mrbs/support-requests/_discuss/thread/36040fce/362f/attachment/Failed%20Checkbox.jpg

jberanek commented 8 years ago

You'll need to modify the function create_field_entry_custom_field() in edit_entry.php so that it does something special with the checkboxes you want in a row. The best thing to do is probably to enclose them in a div with class="group". Have a look at how the repeat days are done as an example.

Original comment by: campbell-m

jberanek commented 8 years ago

Original Poster, were you able to get this solved? As I want to do the same thing

Original comment by: *anonymous