Active
Project:
Content Templates (Contemplate)
Version:
6.x-0.13
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2008 at 18:25 UTC
Updated:
24 Oct 2008 at 12:53 UTC
How can I insert book navigation? I can't seem to locate a solution that works.
Comments
Comment #1
tonticologo commentedI've tried
$node->content['body']['#value']but only typed in by user content is shown, no navigational divs. Sad, it'd be nice to have contemplates and book working together.
Comment #2
gantenx commentedI have experienced the same problem. I want to assign template to node fields only, but I have to write the book navigation in it too, or the book navigation won't be shown.
By default, node's content is compilation of it's child elements. Book navigation is one of them. This makes me free to changed template, but also makes contemplate not flexible. So, I write a little hack to display my new template:
This will works for other child elements such as fivestar rating.