Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
How to get Clean URL in Drupal 7
Hello Friends,
In Drupal generally URL setup like "http://www.abc.com/?=node/38". If you are looking to setup clean URL like "http://www.abc.com/node/38". Please follow the below steps for the same::
1) Open administrative panel
2) After...
Theming the maintenance page and Database offline Page
Maintenance page overriding
Though Drupal provide very elegant page for the maintenance. What if you want to customize it. Yes this could be done by overwriting the page
The system includes a default maintenance template, which is loca...
How to change site wide validation required maker, Drupal 7
The below code will help you to to change the site wide validation required marker as well the hover text. Though there are various approach you can do but this is one of the massively used approach.
Go to Drupal Root Folder->includes-&...
How to define category in contact us page
In this post we have learner how to enable contact us page
This form will always send email to the particular listed recipient email id's . But What if you have different departments in your company and each department want to use this con...
Controlling visiblility of blocks in Drupal 7
Go to Structure -> Blocks Here you can fill the information regarding a block like,
Block Title (you can override the default title for the block. Use to display no title, or leave blank to use the default block title. This field suppor...
The default Drupal themes
There are four default themes included with Drupal 7
To view available themes, log in to your site as an administrator then click on the Appearance link on the Toolbar. The Theme Manager displays a list of all the themes installed ...
print drupal 7 db_select() query
This how you can can print the query with parameters generated by db_select() .
print strtr((string) $query, $query->arguments());
die; //Stop execution here and show me the query
make sure you print it befo...
problem in implementing Clean URLs, Drupal 7
if your drupal installation having problem in implementing Clean URLs then please check your Apache is configured as mentioned below
Apache uses httpd.conf file for its configuration.
In order for Drupal to implement clean URLs, Ap...
Actions and triggers in Druppal 7
Many time it happen we want the Drupal to perform certain task or action automatically We use action in drupal to automate certain task mainly task which need to be acted upon content and user account. By default there are number of simple and ad...
User login to appear in a block
There could be a situation where you need to call login on multiple pages or block the below snippet of code could be helpful in this situation
Calling the form function directly could help you getting the login form in a block or page
...
Drupal t() function and translations
syntax :
t($string, array $args = array(), array $options = array())
Every string that may be displayed to a user should be wrapped in the t() function actually it takes the responsibility for translating strings from one language into ot...
Creating Your First Module
Creating module is easy in drupal
Steps you need to follows are as below.
Creating the module directory
Creating the .info file
Creating the .module file
Where does your custom module goes?
Its always better to keep contrib and cu...