Page 1 of 1

Adding extra fields to Booking Page

PostPosted: 04 Apr 2016, 17:09
by mpower2k
Hello guys,
I need to add some extra fields to the booking page.
I added the HTML part in "/themes/classic/views/modules/booking/views/_form.php" and I now need to add them to the PHP code, part which I find a bit tricky.
Can anyone suggest how to approach the problem?
PS: The extra fields should only be sent by email to the owner and not listed in the admin panel.

Regards!

Re: Adding extra fields to Booking Page

PostPosted: 05 Apr 2016, 16:50
by andipas
See the code in files:

protected/modules/booking/controllers/MainController.php
protected/modules/notifier/components/Notifier.php

Re: Adding extra fields to Booking Page

PostPosted: 06 Apr 2016, 16:46
by mpower2k
andipas wrote:See the code in files:

protected/modules/booking/controllers/MainController.php
protected/modules/notifier/components/Notifier.php

Any hint on where I should make the changes?

Re: Adding extra fields to Booking Page

PostPosted: 14 Apr 2016, 18:20
by mpower2k
Anyone, please help with a small guide!

Re: Adding extra fields to Booking Page

PostPosted: 15 Apr 2016, 09:43
by Xpycm
Building a Blog System using Yii : http://www.yiiframework.com/doc/blog/
Creating First Yii Application: http://www.yiiframework.com/doc/guide/1 ... .first-app

Contact us via contact form ( https://monoray.net/contact ) to order this customization.