Skip to content

Conversation

@tbuljevic
Copy link

With this solution you can check the comment list for every language on the site. If the comments are setup only in the secondary language, it is possible to view them now using the links provided in the design/admin2/termplates/comment/list.tpl.

…omment/list.php

Added $Params['UserParameters'] into $view_parameters - necessary for
choosing the language of the comments in the view.
…min2/templates/comment/list.tpl

On a multilingual site /design/admin2/templates/comment/list.tpl 
displays only the comments in the default language. This solution
enables the administrator or editor to review all the comments
in all the languages available.
…min2/templates/comment/list.tpl

Added changes for displaying the navigator. If there are no comments
in the current comment fetch, the navigator doesn't need to be
displayed. Also, a new variable called "lang_list" is introduced and
it is set by the extension/ezcomments/modules/list.php file. It has all
the necessary information on the current languages on the site.
…omment/list.php

Added a variable called langList which fetches the list of the languages
currently available on the site and outputs all the information via the
eZContentLanguage::fetchList() method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant