I'm also looking forward to your ebook, thank you.
I have decided this morning to learn about theming from scratch, so, I made a folder called 'scratch' in sites>all>themes and into this I put an empty text file called page.tpl.php.
As a programmer/designer, the first thing I want to do is make page.tpl.php a "Reference File" that prints a list of all available variables and their values, i.e., $language = 'en'.
Without peeking at other themes' page.tpl.php files, I'd be interested to know what object or array might contain all available variables/arrays/objects? (I'm also just beginning to learn PHP.) So far, I know how to print_r($node), and I'm thinking there's probably some other object to print like this to see all page variables/arrays/objects.
Anyways, that's the question in my mind as a theming beginner and I'm off to the drupal handbook to see what I can hunt down.
Theming Question
Hi Caroline,
I'm also looking forward to your ebook, thank you.
I have decided this morning to learn about theming from scratch, so, I made a folder called 'scratch' in sites>all>themes and into this I put an empty text file called page.tpl.php.
As a programmer/designer, the first thing I want to do is make page.tpl.php a "Reference File" that prints a list of all available variables and their values, i.e., $language = 'en'.
Without peeking at other themes' page.tpl.php files, I'd be interested to know what object or array might contain all available variables/arrays/objects? (I'm also just beginning to learn PHP.) So far, I know how to print_r($node), and I'm thinking there's probably some other object to print like this to see all page variables/arrays/objects.
Anyways, that's the question in my mind as a theming beginner and I'm off to the drupal handbook to see what I can hunt down.
Take Care, Ray