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

Phoca Guestbook - creating guestbooks in Joomla! CMS
schaukn
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Sep 2010, 17:02

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
schaukn
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Sep 2010, 17:02

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

Post by schaukn »

Thanks for the fast answer!

I´ll try it. :idea:
Post Reply