Page 1 of 1

How can I expend the entry mask with city and country?

Posted: 23 Sep 2010, 17:10
by schaukn
Hello!

How can I expend the entry mask in Phoca Guestbook with a field "City" and "Country" or "City / Country" and that as a mandatory field???

Where have I to put in a code or anything an whitch is it? I want use the book multilingual.

Best regards

Re: How can I expend the entry mask with city and country?

Posted: 24 Sep 2010, 01:09
by Jan
I want use the book multilingual
For multilingual using, you can use e.g. Joom!fish component and plugins for Phoca Guestbook.

Adding new fields - Phoca Guestbook is a MVC component and there is not only one place to add new form fields, the fields needs to be displayed (view - components/com_phocaguestbook/views/phocaguestbook/view.html.php + default.php), it needs to be checked (controller - components/com_phocaguestbook/controllers/phocaguestbook.php). Loading and saving data in model (components/com_phocaguestbook/models/phocaguestbook.php), etc.

Jan

Re: How can I expend the entry mask with city and country?

Posted: 24 Sep 2010, 03:23
by schaukn
Thanks for the fast answer!

I´ll try it. :idea: