4

Adaptivetheme: how can I override the default book-navigation.tpl.php file?

http://drupal.org

Hi guys, i want to customize the book navigation content in my site, but i dont know if im doing the right steps.

so, i use the adaptivetheme theme, and the templates folders are so structurated:

/themes/adaptivetheme/templates/block
/themes/adaptivetheme/templates/box
/themes/adaptivetheme/templates/comment
/themes/adaptivetheme/templates/node
/themes/adaptivetheme/templates/page
/themes/adaptivetheme/templates/search
/themes/adaptivetheme/templates/user
/themes/adaptivetheme/templates/view

First, i took the node.tpl.php and duplicated with new name node-book.tpl.php (in the /themes/adaptivetheme/templates/node directory), and this works, that custom file is called when the node is a book type.

Now, i need to override the book-navigation with my custom one, so i did the same: took the 'book-navigation.tpl.php' file from the /modules/book/ directory, but, as you can see, the /book directory does not exist in /themes/adaptivetheme/templates/ path!

So, i tryed to create the folder /themes/adaptivetheme/templates/book and insert the book-navigation.tpl.php file, but doesnt works;
I tryed to put the file in the /themes/adaptivetheme/templates/node/ folder, but still doesnt works.

How am i suppose to figure out this problem?

Read »
Created by Dplanet 2 years 36 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Adaptivetheme: how can I override the default book-navigation.tpl.php file?

Recent comments