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

More
9 years 7 months ago - 9 years 7 months ago #64057 by juansolos
Hello,
i have upgrade fc to the lastest version.
I have some fields whose are not diplayed in front end now.

Those fields are type select (sql query to set the name, address, tel, ...) like
SELECT cb_tlphone AS value, cb_tlphone AS text FROM #__comprofiler WHERE user_id="{item->created_by}"
those field are hidden in the twice forms.

After update fields aren't not display wtih : this->fields->display;

Any idea?

Regards
Last edit: 9 years 7 months ago by ggppdk.

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

More
9 years 7 months ago - 9 years 7 months ago #64066 by juansolos
Seems there is nothing for unselected value in the field file (select.php).
Last edit: 9 years 7 months ago by ggppdk.

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

More
9 years 7 months ago - 9 years 7 months ago #64067 by ggppdk
Hello

you upgraded to latest github version or to v3.1.0-rc2a ?

do you speak of item form ?


-- 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 review. Thanks!
Last edit: 9 years 7 months ago by ggppdk.

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

More
9 years 7 months ago - 9 years 7 months ago #64068 by juansolos
yes i have downoad the latest.
I use this type of field hidden in the form (front and back)
I display the unselected value of the field in the item view. So it display the only value possible (sql get only one value)

With fc 2 ok, not with fc 3.
I find the select.php files (plugins/fc field) and i don't see anything about non-selected value.
Last edit: 9 years 7 months ago by ggppdk.

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

More
9 years 7 months ago - 9 years 7 months ago #64069 by ggppdk
Hello

the value display LOOP , was moved to layout file:
select/tmpl/value_default.php

also there were some HTML and CSS changes, and small logic change, under some configuration the display on non-selected values will not be done
i am not sure if this is CSS issue or bug or intended behaviour
Can you examine the "HTML" code (do view source) and see if the non-selected values are there ?


-- 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 review. Thanks!
Last edit: 9 years 7 months ago by ggppdk.

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

More
9 years 7 months ago #64070 by ggppdk
See above answer so you have the latest version from github repository ? i mean you clicked
"zip and download"


-- 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 review. Thanks!

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

More
9 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
9 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 review. Thanks!

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

More
9 years 7 months ago - 9 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: 9 years 7 months ago by juansolos.

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

More
9 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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
Save