NetBeans support for Drupal Enriched : Wizard for developing Themes

Enriching the existing NetBeans plugin to assist developing Drupal based websites, we have added a wizard for developing a new Drupal Theme. On providing details of new Theme, the wizard auto-generates the mandatory '.info' file with template code under the 'sites/all/themes//' folder.

The wizard works as follows :

1. Right click on the Drupal project to add a theme. Click on New --> Other. Select Other and we see an option to create a Drupal Theme. Select it and click on Next as seen in the screenshot below.

2. In the next screen, enter the theme name (preferably in small letters, as per the naming convention). We see the new file, .info getting enlisted in generated files list. The following screenshot captures this.

Click on Finish.

3. Now, the new theme gets added to the Drupal themes and the info file gets autogenerated with template code, as shown in screenshots below :

Now, the user can go ahead with creating a theme, either by deriving from a base theme and modifying the css/template files accordingly, or creating a new theme using a theme engine. As Drupal provides PHPTemplate Theme Engine by default with the Drupal sources, user can create the template php files required for the 5 components and create a new theme. The plugin is uploaded at the Project Homepage and NetBeans Plugins Portal. The documentation for usage of the plugin has also been uploaded on the Project Homepage.
Comments:

Hi,

Thank you for your great plug-in for Drupal and netbeans. However, its doesn't work in Linux environment. I tired to use the wizard to generate a testing module by following the procedures of document you provided. There is nothing generated at the target directory, sites/all/modules. I think the automatically generated directory path is wrong. "/" is missing at the beginning of the path, so the plug-in cannot find the destination directory as it is a relatively path instead of absolute one.

How can I fix it myself? Or can you generate a new update fixing this bug?

Thanks,
Jack

Posted by Jack on April 21, 2009 at 04:46 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Sujit Nair

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today