Multi Language site

Phoca Guestbook - creating guestbooks in Joomla! CMS
Spiffo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jan 2017, 10:34

Multi Language site

Post by Spiffo »

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

Re: Multi Language site

Post by Jan »

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
If you find Phoca extensions useful, please support the project
Spiffo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jan 2017, 10:34

Re: Multi Language site

Post by Spiffo »

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

Re: Multi Language site

Post by Jan »

Hi, the model for loading posts is stored here:
components\com_phocaguestbook\models\guestbook.php

Jan
If you find Phoca extensions useful, please support the project
Post Reply