By Swooperz on
Hi. I have found numerous documents, presentations, and web pages on creating a theme (for phptemplate engine) but have not really found one fully complete and easily understood guide yet.
What is everyone's favorite guide, or what do you all recommend, for a good guide to creating a phptemplate Drupal template?
I want to make a phptemplate version of the Goofy template and then go from there, so my results would go into the Drupal Theme Garden when I am done, for all to use.
Your advice is appreciated in advance!
Thanks,
Alan
Comments
A starting point - Php template
See this guide:
http://drupal.org/phptemplate
Been there done that.
Thanks for the reply. I've definitely seen and read this 'reference guide' and its helpful, but I am looking for more of a walk-thru. -Something that might be able to take me thru things on a step-by-step basis, possibly with real examples/files.
Regards,
Alan
I see ..
Maybe you want dowload an existing template and look at the source to see how they did it. Here is one: http://drupal.org/project/blix
Also here is a good php template tutorial:
Converting a CSS/HTML design to PHPTemplate - An Introduction
http://support.bryght.com/articles/converting-css-html-design-phptemplat...
Thanks ghankstef, I will
Thanks ghankstef, I will check both of those out.
I guess what I am wanting to learn is how to create a static website using php and css and then turning it into a template, using a walk-thru. Maybe these will help me get closer to that.
Thanks,
Alan
BTW - Does anyone know how you can copy and paste from these posts without grabbing the whole box's contents?
The Zen of CSS Design
The Zen of CSS Design is a good book if you are familiar with CSS and HTML to varying degrees. It doesn't start at the basics but offers a lot of tips on avoiding common dilemnas faced by web designers, mostly from internet explorer. The Zen of CSS Design is based on CSS Zen Garden designs, which are static html and css.
It's a good start, otherwise I would recommend taking a theme and modifying it.
I've had this exact same problem
I have been searching for a step-by-step guide for the longest time and have had the same problem as you-all the guides out there speak as if you know exactly what you're doing...ugh. I have an intermediate knowledge of CSS and XHTML and almost none on php, however I have intermediate to extensive knowledge of C++ so I have programmed before. I still don't know what's goin on in all those files though, lol.
Here is the best I could find:
http://tips.webdesign10.com/how-to-make-a-drupal-theme
hope it helps :)
realization
I just realized that my comment is 2 years late-HA! Sorry, lol