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

More
6 years 7 months ago - 6 years 6 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: 6 years 6 months ago by ggppdk.

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

More
6 years 7 months ago - 6 years 6 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: 6 years 6 months ago by ggppdk.

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

More
6 years 7 months ago - 6 years 6 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: 6 years 6 months ago by ggppdk.

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

More
6 years 7 months ago - 6 years 6 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: 6 years 6 months ago by ggppdk.

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

More
6 years 7 months ago - 6 years 6 months ago #72816 by caw
now another question: i have some image field and the settings is
image source file and settings access to file deny allow. but when i try to use some image again in the group i can see it, i can choose it, but it is not inserted
Last edit: 6 years 6 months ago by ggppdk.

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

More
6 years 7 months ago - 6 years 6 months ago #72817 by caw
when i try {{text_vater_2##id}} i get the whole text of the field not the id. it is a textarea field
Last edit: 6 years 6 months ago by ggppdk.

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

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