Hi,
is there a way to have a Dutch guestbook in the dutch speaking part of the website, and an English one in the English part, but to show all entries in both? So all entries are created with language All, and not linked to a specific guestbook? There is no way to associate the guestbooks with each other like with other objects (articles, menus, ...)
Thanks,
Spiffo
Multi Language site
- Jan
- Phoca Hero
- Posts: 48536
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multi Language site
Hi, if there are two guestbooks, bot will have own posts. To display in both all posts, this needs to be customized (e.g. the where clause for selecting guestbook will be commented or removed)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 27 Jan 2017, 10:34
Re: Multi Language site
Hi Jan,
I think I understand, but must say I find this a bit of a flaw: I'd like to have something like tripadvisor, where someone can be logged in in a certain language, and the language of the post is indeed stored, but you can still view all reviews, no matter what language they were written in. Perhaps that's an extra option you could provide in the settings?
Could you tell me where I could modify this myself? Where I could find the SQL?
Thanks!
Spiffo
I think I understand, but must say I find this a bit of a flaw: I'd like to have something like tripadvisor, where someone can be logged in in a certain language, and the language of the post is indeed stored, but you can still view all reviews, no matter what language they were written in. Perhaps that's an extra option you could provide in the settings?
Could you tell me where I could modify this myself? Where I could find the SQL?
Thanks!
Spiffo
- Jan
- Phoca Hero
- Posts: 48536
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multi Language site
Hi, the model for loading posts is stored here:
components\com_phocaguestbook\models\guestbook.php
Jan
components\com_phocaguestbook\models\guestbook.php
Jan
If you find Phoca extensions useful, please support the project