Drupal is a free, open-source content management system (CMS) with a large, supportive community. It's used by millions of people and organizations around the globe to build and maintain their websites. The world’s leading digital experience platform that helps you manage and deliver web content across channels and devices. Drupal enables organizations to build better sites and experiences faster
Note | |
---|---|
Drupal plugin is only available in CodeLobster IDE Professional. |
CodeLobster IDE integrates with Drupal 6, 7, 8, so you can use it from inside the IDE. Drupal support includes the following features:
If you have no application yet, you can generate a CodeLobster IDE project with Drupal - specific structure from a template. Drupal plugin has the wizard that helps you to get and install the latest official framework release.
In order to create a Drupal project:
Choose
main menu item. Select Drupal framework item in the opened dialog.or
Select the
main menu item.Define project location, name and project URL for debugging.
Note | |
---|---|
If you enable Create project in a new folder option CodeLobster IDE creates a subfolder with the project name. |
Click the
button.Select Drupal version and click
button.
Define database parameters:
Database name - the name of the MySQL database where your project data will be stored.
User name - used to connect with MySQL server.
User password - used to connect with MySQL server.
Root login - used to create a MySQL user.
Root password - used to create a MySQL user.
Click the
button.Specify some advanced database options:
Database host - specify a host name, if your database is located on a different server.
Database port - specify database port, if it runs on a non-standard port.
Table prefix - provide a unique prefix for each installation to store multiple Drupal installations in one database.
Use Smarty Engine
Select Minimal or Standard profile
Click the
button.Enter information for administrator account:
Administrator login
Administrator password
Administrator email
Define Project URL to run install scrips.
Click the
button.Choose additional Drupal modules to install.
Click the
button.Select default Drupal theme.
Click the
button to create Drupal project.Drupal plugin offers you the wizard to create a new Drupal module with all necessary files.
In order to create a Drupal module:
Select
main menu itemDefine project name.
Click the
button to specify Drupal directory for user modules.
Click the
button.Enter the information about your module:
Display name - the displayed name of your module.
Description - a short module description.
Module version - the version of your module.
Core version - Drupal core version.
Dependencies - a space separated list of other modules that your module requires.
Click the
button to create Drupal module.CodeLobster IDE provides IntelliSense for Drupal, which helps you write code more quickly and efficiently. IntelliSense saves you time by putting what you’re most likely to use at the top of your completion list. The suggestion list of the automatic completion appears as soon as you start typing. Pressing Tab or Enter will insert the selected item. You can trigger IntelliSense in the Editor window by pressing Ctrl + Space or using main menu item.
The intelliSense suggestion box includes all standard Drupal's hooks and called automatically on placing ModuleName_
IntelliSense suggestion box list contains values for the parameters of the theme function.
Additionally, the IntelliSense suggestion list includes attributes and attributes values of the Drupal Form array.
Attributes autocomplete:
Attributes values autocomplete:
CodeLobster IDE lets you search in the project for specific Drupal function by its name and by path.
To open find menu path by function name:
Select Ctrl + Shift + D.
main menu item or pressMenu functions dialog will appear. It contains all menu functions declared in your project and corresponding menu paths
Find the necessary function name in the list and view the menu path corresponding to it. For search by the function name, enter its name to the textbox at the bottom of the window.
For jumping to path declaration, double click function name in the list.
CodeLobster IDE lets you search in the project for specific Drupal function by the path.
To open the Find menu path by function path:
Select Ctrl + Shift + R.
main menu item or pressMenu functions dialog will appear. It contains all menu functions declared in your project and corresponding menu paths
Find the necessary function name in the list and view the menu path corresponding to it. For search by the function path, enter it to the textbox at the bottom of the window.
For jumping to path declaration, double click function name in the list.
The Dynamic Help window allows opening help topics automatically for an element when the pointer is placed on. Drupal plugin uses the http://api.drupal.org for a quick search for relevant information.
To get help topics using Dynamic Help:
Place the pointer on the target element and press the F1 button.
Select
main menu item.Click the topic item in the Dynamic Help window.
Tip | |
---|---|
To get Dynamic Help to appear, choose main menu item. |