Secure development with Drupal 7- part 2

Mon, 04/01/2013 - 13:55 -- meladawy

In Part 1 I discussed Cross Site Scripting attacks and how to prevent and avoid it while coding, In this part I will talk about SQL Injection attacks and how to prevent it by using Drupal API functions

SQL Injection Attacks

While Drupal is a secure CMS, We don't have to use another functions to avoid such expoits we just need to follow the Drupal way in development, That's why i'm going to focus on the bad and good behaviors of development.

Get Drush to work in Godaddy shared hosting plane

Sun, 03/04/2012 - 13:49 -- meladawy

Drush is very important tool for drupal Developers, Its managed from Shell so a lot of people failed in getting it work at shared hosts like godaddy, I will explain briefly how to install Drush on godaddy shared hosting plane. 1- Open your Linux Terminal and create SSH Connection to you account


and Enter your password. 2- Go to your main directory

Secure development with Drupal 7- part 1

Sat, 03/03/2012 - 13:53 -- meladawy

Drupal is one of the most secure CMS because its support its developers with the appropriate API functions that keep drupal applications secure from sql injection and Cross site scripting attacks . In this tutorial i will discuss the most important API functions , bad and good development behaviors that affects your applications security.

How to create Machine name field in drupal 7

Thu, 03/01/2012 - 13:33 -- meladawy

In this tutorial we will use Drupal 7 Form Api to create Machine name Field which is not well Documented in . To create Machine name field we need another Field which is the Parent/Source field, Source field contain the Human Readable Text that will be converted Automatically by Using "misc/machine-name.js" to machine Friendly name. End users Usually working Directly with Source Field. Lets Create Form like what we get when we Add vocabulary from Structure > taxonomy > Add vocabulary.

Add overlay View to any page or path

Mon, 02/27/2012 - 13:28 -- meladawy

Drupal come with a great Overlay Module which make you able to display your pages in overlay view,I wonder when i see a lot of drupal developers uses another Jquery libraries such as Fancybox, Lightbox, ShadowBox...etc, Anyway overlay View is usually limited for administration pages, So in order to make our visitors access our pages in overlay view we should tell drupal "Hey Drupal !! This page is for administrators"  ;-) (okkk i know we lie !!) :-#

Add Google Analytics Code to your drupal 7 in 3 steps

Sun, 02/19/2012 - 14:23 -- meladawy

In Our Drupal World there is a lot of modules that can help us in different purposes. Google Analytics is one of the most important modules that help you to integrate your drupal web application with Google Analytics using some GUI configurations. But if you are looking for performance you should reduce the number of installed modules, Thats why we are going to Explain how to Integrate google Analytics Code to your Drupal web applications Easly in 3 Steps by using "drupal_add_js()" function .

How your Drupal 7 Application appear in facebook ?

Sat, 02/18/2012 - 16:41 -- meladawy

What if you shared your Drupal web site URL in Facebook !! What is the Title, Description and Image You will Got ? Is that Exactly what You want ?
In this Tutorial i will show You How To control The Appearance of your Drupal Front page In Facebook .

1- Open your Theme Directory "sites/all/themes/XXX" or "themes/XXX" where XXX is your theme name .

2- Open the "template.php" file if its Exists or Create it if its not Exists .