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
How can I expend the entry mask with city and country?
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Sep 2010, 17:02
- Jan
- 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?
For multilingual using, you can use e.g. Joom!fish component and plugins for Phoca Guestbook.I want use the book multilingual
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
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Sep 2010, 17:02
Re: How can I expend the entry mask with city and country?
Thanks for the fast answer!
I´ll try it.
I´ll try it.
