Drupal

The default templates and themable functions contribute a good deal to the productivity on a Drupal site, and several are positioned on the page through the assignment of blocks to regions. Today we will focus mainly on how to control the formatting of a site’s various modules and blocks.
1. Dynamically Styling Blocks:
Block [...]

  • Share/Bookmark
Tags:

In drupal the form is rendered using the form rendering system, which doesn’t include template files.
To theme the profile 2 form we use “hook_theme()”.
Go through the steps:
1. In this step copy the code in template.php of the theme or any php file and include the file in template, php used with proper theme name and form [...]

  • Share/Bookmark
Tags: