Skip to main content

Home/ drupal-docs/ Contents contributed and discussions participated by Lee Hunter

Contents contributed and discussions participated by Lee Hunter

Lee Hunter

Working with JavaScript and jQuery | drupal.org - 1 views

shared by Lee Hunter on 27 Nov 08 - Cached
    • Lee Hunter
       
      A couple of points. This page *desperately* needs an introduction that orients a novice reader. Just a sentence or two would be enough, something along the lines of "Adding JavaScript and jQuery to your theme allows you to ... ". Maybe a few examples too. As it reads now, I've no idea whether this is something I need to read and understand, and what it would do for me if I did.
    • Lee Hunter
       
      Actually this page should probably be moved to the JavaScript and JQuery section of the Developer Guide. Or else that part of the dev guide should be moved here to the theme guide. If it's the same subject it shouldn't be fragmented over two locations. We can also put a newbie friendly page here which directs people to the dev guide if they need it.
Lee Hunter

Basic theme help | drupal.org - 0 views

shared by Lee Hunter on 14 Nov 08 - Cached
Lee Hunter

Preprocess functions | drupal.org - 0 views

shared by Lee Hunter on 21 Nov 08 - Cached
  • Preprocess functions only apply to theming hooks implemented as templates.
    • Lee Hunter
       
      Yes, most of this, maybe all, should be moved. If we're leaving some of this here, there should be a clearer introductory sentence. Something like "If you are developing your own module, you can make it easy for others to theme your content." (I don't know if that's what this page is about, but something like that would allow someone like me to say "Ok this page is something I don't need to read")
Lee Hunter

Anatomy of a Drupal theme | drupal.org - 0 views

shared by Lee Hunter on 21 Nov 08 - Cached
  •  
    +1 for what hans wrote!
Lee Hunter

Working with template suggestions | drupal.org - 0 views

shared by Lee Hunter on 20 Nov 08 - Cached
  • Template suggestions are alternate templates based on existing .tpl.php files. These suggestions are used when a specific condition is met and a matching file exists. All layers from core, modules, theme engines and themes can provide the suggestions. You can think of them as naming hints telling the system to pick and choose based on the right circumstances. The idea is simple but it is a powerful feature providing another layer of customization.
    • Lee Hunter
       
      This seems to need an example or a better description. I understand what it's saying (I think) but I don't understand how it's used. I'm also confused by screen capture from the devel module. Is a "candidate" the same thing as a suggestion? What is the signifigance of the three candidate files? Why would I choose one and not the other?
1 - 5 of 5
Showing 20 items per page