Active
Project:
Flexifield
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2010 at 10:30 UTC
Updated:
29 Dec 2011 at 09:37 UTC
How can I correctly display a flexifield in node.tpl.php?
I want to put it in a non-standard position.
Thanks in advance.
Comments
Comment #1
Bob Moyce commentedYou'll need both the Flexifield value and the value of the field from the Content Type Flexifield is referencing. Assume that field_my_flexifield is your Flexifield and field_my_text is a field within the Content Type:
If you want to work with several values at once, just run the array as follows:
Hope that helps.
Bob
Comment #2
sridarm commentedHello Bobmoyce ,
But that displays only the content excluding the styles that i have added for the text. I tried a lot of tricks but doesnt shows the style. Can you send the code . Its urgent please
Comment #3
Bob Moyce commentedHave you tried using
['view']instead of['value']?Bob
Comment #4
khaleghian commentedhello my dear
how can display an title or body from an reference node in an flexifield content type?
Comment #5
Nishchal commentedThanks. It helped me a lot.