Override Drupal's default HTML output using templates. You can override individual fields and content types.
Video #8 in this Intro to Drupal 7 series.
Override Drupal's default HTML output using templates. You can override individual fields and content types.
Video #8 in this Intro to Drupal 7 series.
Comments
After watching the
After watching the screencast, I felt that theming in D7 is much more convenience, flexible and easier than D6.
But I'm curious, should all template files should put under templates folder in my own theme folder in D7 ?
In D6, all templates are just sit under the root of theme folder.
I'm pretty sure you don't
I'm pretty sure you don't technically need to put all template files in a special templates folder, but since Zen does it and John Albin who maintains Zen also is one of the major players in the D7 theme layer, I figure it's a best practice.
oh!! you just saved my
oh!! you just saved my life!!! thanks a lot!! God bless you! :D
you should keep teaching us with more awesome videos like this ;)
Great introduction
You just saved my day! Thanks a lot Lin!
Feeling enlightened …
Hi Lin, I just have to say “thank you” for this great introduction! Suddenly, I feel like I can build anything with “Drupal 7”.
;)
Do I have to make a new
Do I have to make a new field.tpl.php if for instance I have a section in my node.tpl.php where I want some of my fields to have the same look? usually I would put them all in a div, but thats not working. I might be using these fields diferently depending on the node.
Clarity personified.
Thank you for an exceptionally clear and complete tutorial.
thank you
I've spent days looking for this information -- how to print / render specific fields in Drupal 7. thank you so much. excellent video. concise & easy to follow.
Amazing.
This video was great, glad I found it. Thank you so much!
Nice video..helped me a lot.
Nice video..helped me a lot. I do have a question different from the theming part. In your video, you had in overlay pages for admin a loading spinner going on. Can you share how you did that?
Thanks
Thank you! this solution
Thank you! this solution saved my day