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?
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?
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.
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.
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?
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 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
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.
urubrianm 1 week ago in playlist Más vídeos de linwclark
Hi, i just wanted to thank you for your clear and helpfull tutorials! You are really doing a good job here! Thanks from belgium!
smetteee 2 weeks ago
how do you get the "article"?
where can I find it?
please teach me~
lepapillon421 2 months ago
wow you are very clear and talented. Keep it on. We would like to see more videos from you!!
amitnaik49 2 months ago
Great job, very clear and helpful
Perroud 5 months ago
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?
jmmatuska 6 months ago
Thanks, Lin. Brilliantly done -- great information, very clearly presented.
biondatiziana 7 months ago
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.
spencer951983 7 months ago
Thanks, help me a lot. Keep on the great work!
k4but0x 9 months ago
This was a great tutorial. Thanks a lot. One minor thing though, think you could crank up the volume just a little bit?
warmics 9 months ago
Great tutorial, thanks a lot!
golubovicm 9 months ago
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 .
samm2000100 10 months ago
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 11 months ago
@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 11 months ago
@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 2 months ago in playlist More videos from linwclark
@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.
linwclark 2 months ago
Comment removed
chrisaquakeys 11 months ago
Comment removed
chrisaquakeys 11 months ago
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/D7Question.jpg)
Thanks again, the video was great.
kaspervanlombeek 11 months ago
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.
kaspervanlombeek 11 months ago
Very well explained and actually get's into the dirty workings of themeing.
Thanks very much!
simonw1485 1 year ago
Just discovering Drupal 7 after some works with Wordpress, your videos are great!!
PierreOupa 1 year ago
Just great series!) thank you so much from Russia)
LegatoDi 1 year ago
This has been flagged as spam show
The doll illustration was wonderful. I understand the structure so much better now.
Thank You!
VoidmineHQ 1 year ago
Comment removed
VoidmineHQ 1 year ago
Comment removed
VoidmineHQ 1 year ago
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 1 year ago
@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 1 year ago
@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 1 year ago
@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
linwclark 1 year ago
Comment removed
sammyframson 1 year ago
Great series. I like how you let us watch over your shoulder as you work.
Thanks for posting :)
laughingcrows 1 year ago
On 09:43 you missed a slash in you closing tag of <strong>
hvidstue 1 year ago
@hvidstue aah, 09:40 then
hvidstue 1 year ago
You have no idea how much this has helped.
fonq8e3ra 1 year ago
@fonq8e3ra excellent! glad to hear it
linwclark 1 year ago