Multiple select field, displaying not-selected values

More
13 years 2 months ago #31393 by brandonking
Hello ggppdk,

I have implemented multiple select field.[attachment=1:2ecgiv67]<!-- ia1 -->screenshot1.png<!-- ia1 -->[/attachment:2ecgiv67]
[attachment=0:2ecgiv67]<!-- ia0 -->screenshot2.png<!-- ia0 -->[/attachment:2ecgiv67]
It would be nice if you could update multiselect field.
It is hassle for me to upload files when new FC version comes out.

I can not upload php file so if you need php file I will send you by email.

Best regards,
Brandon

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

More
13 years 2 months ago #31395 by kenmcd

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

More
13 years 2 months ago #31398 by ggppdk
Thanks Ken, yes in such cases you can attach suggested modification with a zip

Of course in case of customizing you could create a new custom field:
How to Duplicate a Flexicontent Field to create a new Field Type

But i will note that the idea you suggest is interesting too,

1. you say to display ALL options in fields display but put some marking selected ones !!

2. of course in this case , non-selected will need marking too ... thus the need for the 2 extra parameters

this is very easy to add, and results an nice effect !!


-- 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
13 years 2 months ago #31399 by brandonking
Hello,

Please see attached!
[attachment=0:2qaiqtms]<!-- ia0 -->selectmultiple.zip<!-- ia0 -->[/attachment:2qaiqtms]

Regards,
Brandon

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

More
13 years 2 months ago #31403 by micker
thanks for sharing

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
13 years 2 months ago #31407 by brandonking
It would be nice if you could add same function to Checkbox(or Multi-Select) image field.

Regards,
Brandon

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

More
12 years 11 months ago #34119 by brandonking
After upgrade to r1648, I have no clue how to change to display all elements in multipleselect.php.

I guess I need to change below codes.
Code:
// Create display of field $display = array(); $display_index = array(); for($n=0, $c=count($values); $n<$c; $n++) { $element = @$elements[ $values[$n] ]; if ( $element ) { if ($text_or_value == 0) $fe_display = $element->value; else $fe_display =JText::_($element->text); $display[] = $pretext . $fe_display . $posttext; $display_index[] = $element->value; } }

As you also think that this would be nice feature and less code work for you, would you please be able to add this as core feature?

Backend setting parameter require:
1. show all elements Yes/No
2. pretext/posttext for non-selected elements

Best wishes,
Brandon

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

More
12 years 11 months ago #34581 by ggppdk
This is very interesting , very easy to add, so it will be in v2.0.1 or in v2.0.2

Will add to radio / checkbox / select / selectmulitple


-- 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
12 years 11 months ago #34583 by brandonking
Wonderful, thank you very much and look forward to it.

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

More
12 years 11 months ago #34585 by ggppdk
Now that i think of it , it makes sense to add to radio image and checkbox image,

since with prefix/suffix for "unused values" we can add a CSS class that can be used to make the inner image appear disabled

e.g.
for prefix: <span class="fc_field_unsused_val">
for suffix: </span>

this CSS rule will make image appear disabled:
Code:
.fc_field_unsused_val img { opacity:0.4; filter:alpha(opacity=40); /* For IE8 and earlier */ }

Will add above as defaults too so that user will have a satisfactory result with little configuration

and for text we could have this default CSS rule
Code:
.fc_field_unsused_val { text-decoration: line-through; }


-- 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