| Using the Drupal Theme Developer Module |
There is one module that makes designing for Drupal much, much easier. That is the Theme Developer module. It allows you to click on almost any part of your site and see precise details on how it is built. To get it working, we need two modules: the Devel module and the Theme Developer module. To get started, download both of them and upload them to your /sites/all/modules/ folder. Upload and Enable the Modules![]() Go to Administer >> Site Building >> Modules >> check all 5 Devel boxes and click "Save configuration". ![]() Go to the front of your site and look in the bottom-left hand corner. You'll see a black box called "Themer Info". Check that box. ![]() Up in the top-right corner of the site you'll see a larger black box. It does a pretty good job of explaining what to to! Examine Your Site![]() Hover over any part of your site and you'll see a red box around that particular element. ![]() 1) Template called: the name of the file which is controlling the layout of this element
4) Preprocess functions: These functions connect what happens in the module code to what gets sent to the theme |
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright © 2012 Open Source Training, LLC. All rights reserved.
Comments
RSS feed for comments to this post