[FIXED] Issue with option to display non-selected values of SELECT field in FLEXIcontent v3

More
7 years 7 months ago #64071 by juansolos
I have the version 3.1.0-rc2 Date of version: 2016-07-26.
Sorry but today i am not able to get github website.

My html display nothing :
<div><?php echo $this->fields->display;?></div>
<div></div>

Just to test i copy the select plugin field from v2 to v3. It is not perfect but it works.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #64073 by ggppdk
Ok so you have 3.1.0-rc2

yes, there was a fix for showing non-selected values, after 3.1.0-rc2
fix is already in github repository


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago - 7 years 7 months ago #64077 by juansolos
Hi,
i have just installed 3.1.0-rc3 Date : 2016-08-09 .
No change.
Still empty.

If in paste select.php code from v2 to the select.php file of the v3.
It works
Last edit: 7 years 7 months ago by juansolos.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #64080 by ggppdk
Hello

i have just now retested with SELECTMULTIPLE and SELECT and they show (see picture below)

but please note that if NONE value are selected then the display of non-selected values will not happen
- if the above is the issue ? you have selected zero values ?

if the above is the issue, then i am thinking if we need to change it , since it is probably not best choice of behaviour


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #64086 by juansolos
The field is a select field with sql query (get the phone number of the author in the cb table. only one result). The field is hidden in backend and front end.
So i select nothing.
In v2, with this configuration, it display the non selected value, so it display the only one value of the the select field.
Actually, the only solution is to create a new field (a copy of the select field of the V2).
Or have you any idea?

Regards

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #64087 by ggppdk
Hello

changed / fixed this behaviour of not showing the non-selected values if field has no values selected in item form
github.com/FLEXIcontent/flexicontent-cck...74d2f8b8f6754cd666ce

so fix is on github repository


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.320 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline