About adding support for unique id (entifier) per value to fieldgroup field display

More
5 years 11 months ago - 5 years 11 months ago #72797 by caw
no, i have per group two (different) image fields (and other text fields) and in the group settings i have allow multiple values
Last edit: 5 years 11 months ago by ggppdk.

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

More
5 years 11 months ago - 5 years 11 months ago #72808 by caw
and what about a unique field identifier?
and the problem with the fancybox?
Last edit: 5 years 11 months ago by ggppdk.

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

More
5 years 11 months ago - 5 years 11 months ago #72810 by ggppdk
Hello

what about a unique field identifier?


you mean like:

{{fieldname##id}}
to add the id of the field ?

{{value##nn}}
you mean the current value no ?

and the problem with the fancybox?


It seems to acting as you have configured it

It will not group with other image-gallery fields
- if you create 3 image-gallery fields and inside your fieldgroup
fieldA
fieldB
fieldC


then all values of fieldA will group
then all values of fieldB will group
then all values of fieldC will group


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

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

More
5 years 11 months ago - 5 years 11 months ago #72811 by caw

ggppdk wrote: Hello

you mean like:

{{fieldname##id}}
to add the id of the field ?

{{value##nn}}
you mean the current value no ?


yes,
but the value##nn is not html conform because of spaces and upercases
and get i the field id?

It seems to acting as you have configured it
It will not group with other image-gallery fields
- if you create 3 image-gallery fields and inside your fieldgroup
fieldA
fieldB
fieldC


then all values of fieldA will group
then all values of fieldB will group
then all values of fieldC will group



but i need in 2 images in every group..... will find perhaps other solution for image popup
Last edit: 5 years 11 months ago by ggppdk.

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

More
5 years 11 months ago - 5 years 11 months ago #72812 by ggppdk
Hello

example
Code:
{{fieldname##id}}

will be the ID number of the every field e.g. 57


Instead of
Code:
{{value##nn}}
will use:
Code:
{{value_index}}
and the above will be the integer index of the value-set array of the fieldgroup ()
0
1
2

maybe better we just use (will update description of the parameter)
Code:
{{value_index}}
the (integer) index of every set of field values of the fieldgroup


also i ll add to it
{{item##property}} e.g. you can use
Code:
<span id="{{item##id}}_somename_{{value_index}}" ...

and you got a unique identifier


About fancybox group
please do this
Use same grouping configuration with multibox or with other (modal) gallery

Question is the resulting grouping different ?
if it is different than fancybox then we have a bug


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

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

More
5 years 11 months ago - 5 years 11 months ago #72815 by caw
ok, thank you! i will try it. but where i can use it?

i have this field {{text_vater}}

how get i the value index? or the {{item##id}}? in the field settings? in the group?
Last edit: 5 years 11 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.327 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