Hi all..
I'm developing a web site for a bruchure site that want to marketize their products online..
Eventually the site will also be an ecommerce, but this detail is not relevant at the moment..
I've decide to use the flexinode module.. I think its a wonderful module..
Say I create a new Content Type and call it 'Flower Variety'.. Every node of this typw will have a certain number
of fields.. For example: "Primary Image", "Details", "Size", etc. etc..
And everynode will be displayed using a particular node.tpl.php template file.. In my case I'm using a
node-flexinode_1.tpl.php template file for the rendering of my "Flower Variety" nodes..
My doubt now is... How am I going to access all the fields of nodes belonging to my new content type?
My current ideas are now:
1) write a module that does it all, including the rendering of the HTML code that will place all
values in a purely HTML structure (The style would come from the CSS)
2) Do it inside the node-flexinode_1.tpl.php itself accessing somehow the fields of the nodes
(in this case I guess I would have to write all queries to get the flexinode fields inside the template
code.. which does not sound appropriate..)
I would really like avoiding writing a module but dont know if there is a simple way of accessing all fields of
my new node..
I've even tried to call the function:
var_dump($node);