Jquery and Image gallery

More
11 years 11 months ago #31295 by ggppdk
Replied by ggppdk on topic Jquery and Image gallery
i guess yes,

more things are planned for minigallery field, like e.g. folder mode like in image/gallery field


About showing first value of FC field (for image/gallery field):

e.g this could work,

-- A. parameters:

Prefix text of every value: <li>
Suffix text of every value: </li>

Openning text for Field: <ul class="ft_img_list">
Closing text for Field : </ul>


-- B. CSS rules:
Code:
uk.ft_img_list li:first-child { display:inline-block !important; } uk.ft_img_list li { display:none !important; }


-- 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
11 years 11 months ago #31298 by rottenberg
Replied by rottenberg on topic Jquery and Image gallery
thank you very much
I try it

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

More
11 years 11 months ago #31300 by ggppdk
Replied by ggppdk on topic Jquery and Image gallery
Hello i corrected it above, since both rules were (by mistake) same ...


-- 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
11 years 11 months ago #31383 by rottenberg
Replied by rottenberg on topic Jquery and Image gallery
Hello

I have just tested now, sorry for my late answer.

It doesn't work :
the prefix/suffix texts of every value on image/gallery are not used.
the Opening/closing texts are working.

I'm now on last version (1573).

I have already seen this type of problem on other fields type.

best regards
Michel

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

More
11 years 11 months ago #31384 by ggppdk
Replied by ggppdk on topic Jquery and Image gallery

rottenberg wrote: Hello
the prefix/suffix texts of every value on image/gallery are not used.
the Opening/closing texts are working.

mmm, yes image field is currently not using prefix/suffix texts of every value , despite existing in configuration ... these did not exist in older versions, we added them to configuration but did not use them ... will commit a fix

To test this now, in image.php file, after about lines 1116 - 1117:
Code:
if ( ($showtitle && $title ) || ($showdesc && $desc) ) $field->{$prop}[$i] .= '</div>';
add
Code:
$field->{$prop}[$i] = $pretext. $field->{$prop}[$i] .$posttext;

be careful to place exactly after the above 2 lines and NOT after line with: }


-- 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
11 years 11 months ago #31385 by rottenberg
Replied by rottenberg on topic Jquery and Image gallery
thank you
it's working now

but there a mistake in the css code
you wrote :
Code:
uk.ft_img_list li:first-child { display:inline-block !important; } uk.ft_img_list li { display:none !important;

the good code is not uk.ft.... but ul.fr...

the code css code is
Code:
ul.ft_img_list li:first-child { display:inline-block !important; } ul.ft_img_list li { display:none !important;

best regards
Michel

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

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