I've started a site using 4.7 beta 4. But this is the same in 4.6.
I created a story. The story has an attachment. I then added the story to the outline of a book. The resulting page places the book navigation in between the body text of the story and the attachment list. It makes the attachment look like a separate item from the story itself.
How do I change the order of these items?
In node.tpl.php, I have:
<?php if ($page == 0) { ?><h2 class="title"><a href="/<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
<span class="submitted"><?php print $submitted?></span>
<span class="taxonomy"><?php print $terms?></span>
<div class="content"><?php print $content?></div>
<div class="links">» <?php print $links?></div>
So it appears to me that $content is the source of the body text, the book navigation and the attachment list. I don't want to hack up the book.module, upload.module or node.module.
Is there another way to control this order?
If I remove $content from node.tpl.php and add in the pieces myself, what will I miss in not having $content in my node.tpl.php?
Anyone have a suggestion or direction for me to explore? I still have a lot to learn with Drupal and PHP but I'm evolving. :)
Thanks in advance for any help...