[solved]using videoshare subfield in a duplicate field

More
10 years 10 months ago - 10 years 10 months ago #48636 by rottenberg
Hello

I want to use some subfield of the videoshare field (url, ID, duration, description...)

I want to create a player list for JWPLAYER (allowing to run video one after the other).

I have seen, than using duplicate value, a field which has subvalues we can use {{fieldname##0##_xxxxx_}} where xxxxx is the name of the subfield.

Can I use this for getting the subfield values for the videoshare field. And in this case what are the name of these subfields.

thank you for advices

best regards

Michel
Last edit: 10 years 10 months ago by rottenberg.

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

More
10 years 10 months ago #48670 by ggppdk
Hello

the new fields in v2.2.0, lack this feature, (to use value of other fields), they were added so that our users can use them, they do follow the paradigm of other fields 100%

will examine this for next version


-- 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
10 years 10 months ago #48672 by rottenberg
Hello

I have duplicate {{video field name##0}} in another field. I get the complete value of the field. Presently I get the info I need (using PHP).

Best regards

Michel

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

More
10 years 10 months ago #48881 by rottenberg
Hello
Now I get the initial info I have searched.

the video field is called 'video'.

if I put {{video##0}} in the duplicate field, I get this :

a:7:{s:3:"url";s:42:"

:"videotype";s:7:"youtube";s:7:"videoid";s:11:"yQTbc7datTg";s:5:"title";s:49:"Bending The Rules (ACTION COMEDY 2013) FULL MOVIE";s:6:"author";s:14:"edmand deodats";s:8:"duration";s:4:"4890";s:11:"description";s:107:"Bending The Rules (ACTION COMEDY 2013) FULL MOVIE www.youtube.com/channel/UC_dNxV ... mXSJ1krCKA ";}


to get the values I wanted I have entered this in the duplicate field :

{{video##0##url}}|{{video##0##title}}|{{video##0##description}}


In this case I get only the informations needed without coding any php.


best regards

Michel

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

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