All Videos in FLEXIcontent version 2.0.3 beta r1685

More
11 years 11 months ago #37311 by bau65
Hi to all,
i've install and enable All videos plugin, so I've made a text field as follow:
Trigger content plugins YES
Specific plugins only selected jw_allvideos
Remove space YES
Prefix text of every value {youtube}
Suffix text of every value {/youtube}

So if I put in the field the ID video e.g. VJGCb1qYzuo in the front end I see {youtube}VJGCb1qYzuo{/youtube} instead the player and I've the following errors

Warning: explode() expects parameter 2 to be string, array given in /home/conca/public_html/components/com_flexicontent/classes/flexicontent.fields.php on line 562

Warning: Invalid argument supplied for foreach() in /home/conca/public_html/components/com_flexicontent/classes/flexicontent.fields.php on line 568

Whath I do wrong?

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

More
11 years 11 months ago #37316 by ggppdk
Hello,
i will commit a fix (will make a new beta package tomorrow),

this is the fix to test it:
replace lines 561-567 (the if-elseif-else statement) with:
Code:
$_plgs = $field->parameters->get('plugins'); $_plgs = $_plgs ? $_plgs : array(); $_plgs = is_array($_plgs) ? $_plgs : explode('|', $_plgs);


-- 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 #37322 by bau65
Hi to George,
at the moment I solved with embed code in a text field for 2 reason:
because the All videos plugin don't work in the field but also in the articles so is probably there is a conflict with other component, I've try with another plugin but is the same
With embed code is possible include not only YouTube but any other video a.g. Vimeo
Of course I'll update Felxicontent when will be ready and try again with All Videos plugin:)

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

More
11 years 11 months ago #37324 by micker
if you fin this plugin (all video include)
share it ! ;)

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.

More
11 years 11 months ago #37357 by bau65

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

More
11 years 11 months ago #37358 by ggppdk

bau65 wrote: Hi to George,
at the moment I solved with embed code in a text field for 2 reason:
because the All videos plugin don't work in the field but also in the articles so is probably there is a conflict with other component, I've try with another plugin but is the same
With embed code is possible include not only YouTube but any other video a.g. Vimeo
Of course I'll update Felxicontent when will be ready and try again with All Videos plugin:)


Regardless of any conflict with any other extension, the fix i posted above (for v2.0.3 beta1) is needed to fix content plugin triggering in fields


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

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