Jump to:
| Project: | Composite Layout |
| Version: | 6.x-1.0-beta8 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
First of all the module is very very good, great work!!!!!.
I need the possibility to use a different node.tpl.php (template) for the nodes according to the layout and zone they are showing in, i was playing with the module and checking his code and the first way that i found was:
in the file composite.node.inc, method: composite_composite_node_api where the referenced nodes are been loading, add to the node object the information about the layout and zone ($reference function parameter) later another module or theme implementing preprocess_node function can check that information and change the template_files variable in order to apply the desired template file.
What i don't like about these solution is that i need to modify the module (just one line: $node->composite_location_info = $reference in the right please).
If someone knows another approach i thinks it will help not just to me.
Thank you
Great Module
Comments
#1
Expiring this issue as it is old and uncertain whether it is still applicable.