About using format {{fieldname##value}} in fieldgroup custom HTML parameter

More
8 years 5 months ago - 8 years 5 months ago #68677 by despair
Before update, I select the select field type to show value in frontend. But after update it, the option change to show label infrontend.

If I need to change all select field type's frontend option, it really a trouble.
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68679 by ggppdk
Hello

do you mean the parameter "Frontend display"in fields

select / selectmultiple
checkbox / checkboximage
radio / radioimage

?

with options:
value , label, etc


-- 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: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68680 by despair
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68681 by ggppdk
Hello

i looked at it, if the parameter is not set

the default is
- show label for select / selectmultiple / radio / checkbox
- show image for radioimage / checkboximage

which is looking correct

i will check if we have changed parameter name compared to v3.1.1


-- 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: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68682 by despair
Yes~
I change the default parameter to value.
after update, the parameter auto change to label.
Thank you :)
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68683 by ggppdk
Hello

1. you mean that you edit the parameter
and after doing "Apply and Reload" the parameter is changed to "Label" ?

2. also what is the exact type of the field e.g. is it

selectmultiple ?
radioimage ?
other ?

3. also are you using a custom layout inside /tmpl/ ? e.g.
.../selectmultiple/tmpl/value_mycustom.php


-- 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: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68688 by despair
Sorry ggppdk
I find out it's my mistake.
the really problem is the fieldgroup's custom HTML.
I use {{sectionimageposition##value}} to show the field value, but after update to FC3.2 the frontend output show the label not the value.

and the sectionimageposition field is a select type field.
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68695 by micker
try {{sectionimageposition##0}}

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]
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68952 by despair
Still the same. cl.ly/m4V6
thank you micker.

btw
I try to find the language parameter in falang, after I update to FC3.2 the FC filed can not be finded in falang.
Last edit: 8 years 5 months ago by ggppdk.

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

More
8 years 5 months ago - 8 years 5 months ago #68953 by ggppdk
Hello

you can only use "display" variables there

for most fields it is either:
{{sectionimageposition}}
or
{{sectionimageposition##display}}

e.g. for image field:
{{imgfield}}
or
{{imgfield##display}}
or
{{imgfield##display_small}}
or
{{imgfield##display_medium}}
or
{{imgfield##display_large}}

see the description of the parameter


-- 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: 8 years 5 months ago by ggppdk.

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