Archive

Posts Tagged ‘Drupal’

Read This Before Creating A New Drupal Node Or Getting A New Node Identifier From Module Code

October 20th, 2011 No comments

Drupal is one of the most popular CMS on web hosting accounts. When you are new to Drupal and  you try to modify the code of a module directly so that you can add some features, In such situations you should be able to create several nodes from a single form. While doing this most of the newbies forget that one should never try to modify a core or make any changes directly to modules. You can either implement changes using hook_ and theme_architecture and if these are not supported then the safest option is to copy the function in which you want to make changes, and override it. This way the changes will remain limited up to your code and won’t affect after you override a module or Drupal core.
There are two ways to create a new Drupal Node or to get a newer Node Identifier. You can select one of the two you depending on your choice.
hook_nodeapi ()
hook_nodeapi() - This hook is not reserved for any node modules, but still it allows changes in modules  which affect on nodes, despite that module defines the node. One can turn off a particular operation of a newly created node and run other function as per requirements. If you want to repeat it when the nodes are saved then you can also use the ‘update’ operation.
hook_form_alter ()
By using ‘hook_form_alter ()’ you can perform many alterations before rendering a form. Another well known user of this hook is for addition of form elements to the node form. When you are altering a node form, at that time the node object is retrieved from $form['#node']. Also remember that ‘hook_form_alter()’ works for all forms and if you want to alter a specific form then you need to use ‘hook_form_FORM_ID_alter()’ this hook.

Drupal Web Hosting : Explained

June 4th, 2009 No comments

Drupal is one among the different Open source Content Management Systems (CMS). It enables a user with an ease to publish, organize and manage large variety of content on a web-site. Many enterprises and Organisations use Drupal for their Community Portals, Blogs, E-commerce and other purposes.
Drupal LogoMany web hosting service providers offer Drupal Web Hosting packages. Once a relevant domain name is chosen, you can choose an appropriate web hosting plan. You should be clear with your web hosting requirements such as bandwidth, disk-space etc. The web hosting provider can suggest you the best suitable plan for hosting your Drupal website. Drupal offers  an advanced portal with collaborative book, search engines friendly URLs, online help, roles, full content search, site watching, threaded comments, version control, blogging, news aggregator. Drupal can be installed through cPanel which can be used with any Linux Hosting package.

Drupal application is developed by PHP and can be run against MySQL and PostgreSQL. Hence, one should search for a web hosting provider that offers support for PHP alongwith MySQL database support and PostgreSQL. Therefore, a Linux Web Hosting package is the perfect for your requirements. It is also important that the web host enable mod_rewrite module.

A hosting control panel along with the package can help you in multiple ways for managing the account. It can ease you to use the tools to create MySQL or Postgre SQL database as well as grant the access to others. You can execute back-ups as well  as restore it. With a control panel, you get an editor to modify the Cron jobs, which is extremely important for shared web hosting solution. There are many tasks that needs to be run at the same time, hence a permission to change the Cron file proves helpful for the Drupal Webmasters. With it you also get the privilege to access permission of the file and directory.

Before choosing a web hosting provider, you should get convinced about the connection speed between the web server and the database server. Usually, due to un-optimization of the connection speed between the two servers can run Drupal real slow. A stable server environment is very important for Drupal. One should make use of the review websites and customer testimonials while choosing a web hosting provider.

 
 

Need Help ?

-- Client Area
-- Sitemap
-- Help Center
-- Tutorials

Resources

-- Web Hosting Forum
-- Web Hosting Blog
-- Knowledgebase

Partners

-- Affiliate program

Legal Information

-- Terms of Service
-- Service Level Agreement
-- Privacy Policy

Toll Free : 866 662 0909
1.213.255.7012 &
1.302.294.5628