og:image only for 1st image in field?

More
7 years 11 months ago #73260 by ggppdk
Hello

a very simple fix, will do when i have clear mind / time later today


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

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

More
7 years 11 months ago #73279 by ggppdk
Hello

Should be fixed now

Also (from field types) for social parameter
-- removed parameter "Add in views"
item, category, module

Now it should be automatic and avoid duplicate issues due to multiple items in modules or in item lists via relation field

Onlyif current view is a perfect match only then the OG Protocol tags will be added
Meaning matched:

format === html, and FLEXIcontent item view with item ID matching rendered field's item ID


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

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

More
7 years 11 months ago #73392 by lipatovroman
Hello!

Now, when selected "All" - no og:image at all.

When selected "First only" - everything fine.



But it's ok for me.
Thanks.

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

More
7 years 11 months ago - 7 years 11 months ago #73405 by ggppdk
Hello

thanks for feedback,
tested and fixed this locally too (will add to repository later)

a comparison ...
$ogplimit === 0
was failing because $oglimit was string '0' ...

no need to retest this


-- 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: 7 years 11 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