Just wondering if anyone can shed some light on an issue I'm having.
I'm trying to output a view within a field collection using views_embed_view(); and the PHP Filter in conjunction with a Textarea field.
I have used a template file to theme the output of my field collection and for some reason I cannot get the PHP to execute properly within the output of the field.
Doing a DPM on the field I can see that the php format is applied and that the text in the field is being stored properly.
However when I look at the source I see it gets commented out. I currently have disabled the CKEditor as I figured it may be related some how but I can only narrow this down into the theming of the field collection.
*** I should note that this exact code works fine within the main body field on my page. I've also replaced the print statement with a return render(); and have had no luck with any sort of rendering on this field.
Thanks in advanced!
| Comment | File | Size | Author |
|---|---|---|---|
| Screen shot 2014-08-01 at 3.50.00 PM.png | 20.4 KB | aaronchristian | |
| Screen shot 2014-08-01 at 3.48.29 PM.png | 42.45 KB | aaronchristian | |
| Screen shot 2014-08-01 at 3.45.44 PM.png | 12.08 KB | aaronchristian |
Comments
Comment #1
jmuzz commentedTheme support for field collections is an ongoing issue. #1157794: Move markup to template files and improve theming in new 2.x branch