1

I am using Fieldable Panels Panes (FPP). I created a custom FPP and I am using Field Collection items into my custom FPP.

I want to customize the rendering of Field collection item fields in my FPP template file.

For example: fieldable-panels-pane--my_custom.tpl.php is my tpl file, where I am unable to customize my_field_collection_items fields seperately by using some classes.

Is there a way to customize these fields and render the output in desired way?

1 Answer 1

0

I found the answer. Actually, by using $elements in .tpl file, we get all variables and also all fields as an array. You can use it to render the output you want to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.