Added: 1 year ago
From: linwclark
Views: 44,449
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (37)

Sign In or Sign Up now to post a comment!
  • Hi, I have seen the video several times and seemed very professional, thank you very much for sharing.

    I have two questions:

    I created a form content type with certain fields and my goal is to modify the page the user sees when entering this type of content. I have to create a. Tpl.php for each field that has my form content type? Would you kindly tell me I have to do?

    Thank you very much.

  • Hi, i just wanted to thank you for your clear and helpfull tutorials! You are really doing a good job here! Thanks from belgium!

  • how do you get the "article"?

    where can I find it?

    please teach me~

  • wow you are very clear and talented. Keep it on. We would like to see more videos from you!!

  • Great job, very clear and helpful

  • at approx 6:30 into the video, i get an error when i place the print_r(array_keys($content)) code into my "node--staff.tpl.php" file while trying to see the custom field variables i have available to me. i get a warning saying the 1st argument should be an array ? any ideas?

  • Thanks, Lin. Brilliantly done -- great information, very clearly presented.

  • This is exactly what I was looking for and more. Thank you very much and keep up the great work. These videos have helped me considerably. I love that Drupal recognises that if you specifically print a variable, that it's surpressed from the main output loop. Also, it's great that you've shown us how to specifically output that variable again. Great stuff.

  • Thanks, help me a lot. Keep on the great work!

  • This was a great tutorial. Thanks a lot. One minor thing though, think you could crank up the volume just a little bit?

  • Great tutorial, thanks a lot!

  • great tutorial but can you or anybody tell me how to modify or edit the navigation menu ( buttons) in zen theme .i mean the top navigation region where i can put my primary links .

  • I am concerned about this videos recommended practice of simply copying core *.tpl.php files into our theme folder now with the intention that they over-ride the core *.tpl.php files because if future updates to Drupal make changes to the core *.tpl.php files, those new changes will not be applied because my old theme *.tpl.php files will continue to over-ride the new changes. Is my concern unwarranted or valid?

  • @chrisaquakeys this is the official recommended practice for Drupal theming. See drupal.org/node/173880 for more info. If you are overriding a theme, then you are probably trying to create your own HTML template which would differ from the default template file. What kinds of changes would you want to see propagated from the default file to your new file that is overriding the default?

  • @linwclark @chrisaquakeys Hey Lin, thank you first off for doing these great videos. Although I love your videos, I have to agree with, chrisaquakeys, right above,

    What happens for instance, when a client wants to upgrade to D7?

    Do you then have to go in each individual .tpl.php file and hope that you remember all the changes and tweaking that was done to the earlier version? How does your way of theming .tpl.php core files go with upgrading to a higher version of Drupal? Thx btw

  • @joelfoit You don't have to customize templates in Drupal if you don't want to. However, if you are customizing a particular template, this is the way to do it. This is explained in the Drupal handbook at drupal.org/node/173880

    No matter what, if you are upgrading from one major version of Drupal to another major version of Drupal and you have a customized theme, you are going to have to port it to the new version, just as you would a custom module.

  • Comment removed

  • Comment removed

  • Great video. I was banging my head to find out how to do this.

    But I have one stupid question. Below the title of my node, there are always three tabs, being view/edit/devel. They are very bothering me because it looks like the title is not rendered in the node.tpl.php. How do I get rid of these three tabs?

    (The picture is self explaining:

    w_w_w_with-a-fat-sound_be/D7Qu­estion.jpg)

    Thanks again, the video was great.

  • Great video. I was banging my head to find out how to do this.

    But I have one stupid question. Below the title of my node, there are always three tabs, being view/edit/devel. They are very bothering me because it looks like the title is not rendered in the node.tpl.php. How do I get rid of these three tabs?

    Thanks again, the video was great.

  • Very well explained and actually get's into the dirty workings of themeing.

    Thanks very much!

  • Just discovering Drupal 7 after some works with Wordpress, your videos are great!!

  • Just great series!) thank you so much from Russia)

  • Comment removed

  • Thanks so much for this. I have been pulling my hair out for days because I could not figure out how to control the lay out of my fields in D7! This was a HUGE help.

    The only question i am left with is can you give us a brief additional tutorial on how you easily accomplished the CSS styling around 8:45 seconds. There are so many css files in D7 i struggle with where to make the changes to affect my fields. Is it in the fields.css or elsewhere?

  • @sammyframson I've been there before, glad to hear it helped :) Instead of altering any of the css files that come with core or contrib modules and themes, you should add css either in your own theme or module. This is because the core or contrib themes and modules will be changed on drupal.org and you want to make sure that when they are, you can update easily.

  • @linwclark Thanks Lin, That makes great sense. Unfortunately, I simply cannot get anywhere near as sophisticated in the appearance of my site as when I use the contributed Marinelli theme. All i really want to do is have an image field that will float right next to the body but it is quite a bit more complicated than anticipated. Thanks again for your help and info.

  • @sammyframson you might consider using panels module for that, or if you definitely want to use hand coded CSS, you could create a small module that uses hook_preprocess_page to add your small css file using drupal_add_css

  • Comment removed

  • Great series. I like how you let us watch over your shoulder as you work.

    Thanks for posting :)

  • On 09:43 you missed a slash in you closing tag of <strong>

  • @hvidstue aah, 09:40 then

  • You have no idea how much this has helped.

  • @fonq8e3ra excellent! glad to hear it

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more