?
avatar PhM1936
PhM1936
10 Oct 2015

In admin / Composants / Fiches de contact / Paramètres / Listes / Champ de filtre / Masquer, the button's background is green instead of red.
The result is that it does not work. The cause is that the html is
In admin / Composants / Fiches de contact / Paramètres / Listes / Champ de filtre / Masquer, the button's background is green instead of red.
The result is that it does not work. The cause is that the html is
label class="btn active btn-success" for="jform_filter_field1">Masquer instead of
label class="btn active btn-danger" for="jform_filter_field1">Masquer</label
but I dont know where it lies.
Up to you …

avatar PhM1936 PhM1936 - open - 10 Oct 2015
avatar zero-24 zero-24 - change - 10 Oct 2015
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2015-10-10 12:04:37
Closed_By zero-24
avatar zero-24 zero-24 - close - 10 Oct 2015
avatar zero-24 zero-24 - close - 10 Oct 2015
avatar zero-24 zero-24 - close - 10 Oct 2015
avatar zero-24
zero-24 - comment - 10 Oct 2015

@PhM1936 this is allready fixed in staging and gets out with 3.4.5 see: #8015

Thanks for your report.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8051.

avatar zero-24 zero-24 - change - 10 Oct 2015
Labels Added: ?
avatar n9iels
n9iels - comment - 10 Oct 2015

I tested this (before you said it was already fixed), but the bug still appears on my test location. (Latest version of staging)

The bug appear in the "List Contacts in a Category" view, with the filter_fields parameter on use global in the menu manager. And the filter_field parameter on "hide" in the component options

avatar zero-24
zero-24 - comment - 10 Oct 2015

hmm sorry i'm going to reopen.

avatar zero-24 zero-24 - change - 10 Oct 2015
Status Fixed in Code Base New
Closed_Date 2015-10-10 12:04:37
Closed_By zero-24
avatar zero-24 zero-24 - reopen - 10 Oct 2015
avatar zero-24 zero-24 - reopen - 10 Oct 2015
avatar n9iels
n9iels - comment - 10 Oct 2015

Seems like the bug still appear because the menu parameter en and the component options parameters have the same name.
When I check the output of the parameter via:
<?php echo $this->params->get('filter_field'); ?>

The output is hide.
I will make a PR with a solution

avatar PhM1936
PhM1936 - comment - 10 Oct 2015

A french expert wrote me :
L'erreur se cache dans le fichier \administrator\components\com_contact\config.xml
la valeur du champ filter_field pour masquer est à hide alors qu'elle devrait être à 0
Code:

<field
name="filter_field"
type="radio"
class="btn-group btn-group-yesno"
default="1"
description="JGLOBAL_FILTER_FIELD_DESC"
label="JGLOBAL_FILTER_FIELD_LABEL"

  <option value="1">JSHOW</option>
  <option value="0">JHIDE</option>        

It works and the button become red but does not get out the word "Filtre" in tne front-end …


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8051.

avatar n9iels
n9iels - comment - 10 Oct 2015

I can't reproduce the issue with color buttons. The PR I made solves the issue with the filter field that won't hide. But the color of the buttons is good on my test location

edit: confirmed that issue too, but that was already fixed in staging

avatar PhM1936
PhM1936 - comment - 10 Oct 2015

The color of the button is OK in the back-end, but the word "Filtre" does not disappear in front-end.

avatar n9iels
n9iels - comment - 10 Oct 2015

Can you please explain witch word you mean? My French is not quite good, so if you can provide a screenshot in English it should be useful :)

avatar PhM1936
PhM1936 - comment - 10 Oct 2015

On the front-end (page "contacts of a categorie") you can see the word "Filtre" on the screenshot. I feel it sholuld deappear when the button in the back-end is red : no ?

filtre

avatar PhM1936
PhM1936 - comment - 10 Oct 2015

I also wishe to cancel the left column "Nombre 0 1 2" … How ?

avatar zero-24 zero-24 - change - 10 Oct 2015
Category Front End
avatar n9iels
n9iels - comment - 11 Oct 2015

The word "filte" is not from the Joomla! Core. I think there is a template override active.
For other support questions and a sulution for this problem, please use the support form. http://forum.joomla.org

Since there is a pull request for this bug, and it is successfully tested twice this issue can be closed.
Thanks reporting!

avatar zero-24 zero-24 - change - 11 Oct 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-10-11 13:12:24
Closed_By zero-24
avatar zero-24 zero-24 - close - 11 Oct 2015

Add a Comment

Login with GitHub to post a comment