Adding extra fields to Booking Page

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Adding extra fields to Booking Page

Postby mpower2k » 04 Apr 2016, 17:09

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!
mpower2k
Stranger
 
Posts: 5
Joined: 04 Apr 2016, 16:58
Reputation point: 0

Re: Adding extra fields to Booking Page

Postby andipas » 05 Apr 2016, 16:50

See the code in files:

protected/modules/booking/controllers/MainController.php
protected/modules/notifier/components/Notifier.php
andipas
Web Developer
Web Developer
 
Posts: 156
Joined: 28 Dec 2011, 22:37
Reputation point: 1

Re: Adding extra fields to Booking Page

Postby mpower2k » 06 Apr 2016, 16:46

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?
mpower2k
Stranger
 
Posts: 5
Joined: 04 Apr 2016, 16:58
Reputation point: 0

Re: Adding extra fields to Booking Page

Postby mpower2k » 14 Apr 2016, 18:20

Anyone, please help with a small guide!
mpower2k
Stranger
 
Posts: 5
Joined: 04 Apr 2016, 16:58
Reputation point: 0

Re: Adding extra fields to Booking Page

Postby Xpycm » 15 Apr 2016, 09:43

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.
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 7 guests

cron