Fieldgroup and images

More
8 years 10 months ago - 8 years 10 months ago #60148 by lilian
Fieldgroup and images was created by lilian
Create a fieldgroup, allowing multiple values, with 2 fields "image or gallery" inside.

Repeat the group twice, fill the first image (#1) on the first group, the 2 images (#3 and #4) on the second group and save (see capture 1).

The result is not good. The image #4 will be saved in the first group (see capture 2).


I'm using Flexicontent v3.0.13 and Joomla 3.4.8

I'm using Flexicontent 3.0.13 and Joomla 3.4.8
Attachments:
Last edit: 8 years 10 months ago by lilian. Reason: version

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

More
8 years 10 months ago #60149 by lilian
Replied by lilian on topic Fieldgroup and images
I found a solution, but i don't know if it's the good one.

In models/parentclassitem.php, I replace :
Code:
foreach ($postvalues as $postvalue) { $obj->valueorder = $i; ... }
with
Code:
foreach ($postvalues as $idxPostValue => $postvalue) { $obj->valueorder = $idxPostValue + 1; ... }

I'm using Flexicontent 3.0.13 and Joomla 3.4.8

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

More
8 years 10 months ago #60161 by ggppdk
Replied by ggppdk on topic Fieldgroup and images
Hello

i can not replicate this with FC v3.0.13

please check if you have suhosin installed,
- some version(s) of it are bogus or misconfigured,
and do not allow form to submit empty values

if it does , you should disable or ask your web-host administrator to upgrade it


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

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

More
8 years 10 months ago #60168 by lilian
Replied by lilian on topic Fieldgroup and images
Hello,

Thank you for your reply.
Suhosin is not installed.
But I installed a fresh new FC and, like you, I did not reproduce this bug.
I found this bug on another site where i upgraded from 3.0.8 to 3.0.13

I'm using Flexicontent 3.0.13 and Joomla 3.4.8

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

More
8 years 10 months ago - 8 years 10 months ago #60170 by lilian
Replied by lilian on topic Fieldgroup and images
I found the reason for my problem.

I changed the file "plugins / fc_fields / image / image.php" for using JRoute in URL link.
So when I upgraded, this file being protected, it remained in version 3.0.8.

I'm sorry :blush:

I'm using Flexicontent 3.0.13 and Joomla 3.4.8
Last edit: 8 years 10 months ago by lilian.

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

More
8 years 10 months ago #60175 by micker
Replied by micker on topic Fieldgroup and images
plesae don't hack flexicontent file ....
we will add templating system in field (many field are done but need to work on image field)

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.

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