Okay, Im trying to get my head around creating a theme/template for Drupal. Im trying to change over from Joomla to Drupal and obviously things are done a little differently in Drupal, which is a good thing to me as what it does I like better.
However Im not sure how to call up the various parts of Drupal.
For instance, in Joomla I would add the following to my template:
mosLoadModules ( 'user1' );
I could enclose that inside a
tag and be done with it. Then whatever I assigned to 'user1' would show up where that line of code was placed in the template. For instance, in the backend I assigned the Login Form to 'user1'. I could also set it up to where it would only show up on the front page or on selected pages if I wanted to go that route.
I have been trying to read on creating a theme/template with Drupal but I guess Im not completely grasping how its all done. For instance, browsing the handbooks I ran across this for customizing the layout:
if ($node->type == 'blog') {/* check if it's a blog node */
include 'page-blog.tpl.php'; /*load page-blog.tpl.php */
return; }
Do you really need to know php code well to do a theme or template for Drupal? I may be approaching things wrong or looking at them wrong or something. But I would like to convert my current site templates over to Drupal, but man, if I gotta learn php to do so, thats going to take some time and Im not sure that its something I want to tackle at this point so I would greatly appreciate some assistance in either getting started or some tips on what I need to do.