Next Tutorial
Drupal 7 Tutorial Part 15: Drupal 7 Advanced Taxonomy Concepts
Blogs
Hi Everyone,
I want to share with you guys how to create a node programatically using drupal_execute function.
There are so many articles which explains it. I googled for the solution to create a node with node reference and result is i didn't find any solution. After some research i found one solution for this. I want to share the same with you guys. Below code explains how to create node programatically.
global $user;
module_load_include('inc', 'node', 'node.pages'); // required
$create = array('type' => 'node_type');
$form_state = array();
Hi ,
Today i found one strange bug with drupal 6 pager_query implementation. When i write part of sql query in small letters like
$result = pager_query("SELECT * from {table1} where placementid = %d", 10, $pager_num, NULL, $vid);
and calling theme('pager', NULL, 10, $pager_num); pager is failed to print.
But writing like this
$result = pager_query("SELECT * FROM {table1} where placementid = %d", 10, $pager_num, NULL, $vid);
and calling theme('pager', NULL, 10, $pager_num); pager is displayed. This is due to case sensitivity of "FROM" in sql query.
Cheers,
Anil Sagar
Hi Everyone,
I want to share my experience of integrating Apache Solr (Full text search and powerful than drupal core search) with Drupal 6.
Step 1: Download Apache Solr module from here http://drupal.org/project/apachesolr, and place it in your drupal contributed modules folder.
Drupal Module Development Training Presentation Delivered at Drupal Con San Francisco.
Hi Everyone,
Its time to play with python and get your hands on most powerful programming language. Before going to say hello to python we need to install python interpreter. You can installation files for various operating systems from here.
http://www.python.org/download/ Installing on windows :
Step 1: Download latest windows installation package from the above mentioned link.
Step 2: Run the installation file and follow instructions.
Step 3: Tada!! your python interpreter is installed and ready to use.
Hi Everyone,
I just started learning python, and i want to share the knowledge with everyone who want to master python programming language. I believe that this is my first step towards mastering Plone Content Management System which uses python as programming language.
Python -- What makes so special ??
** Python is an easy to learn, powerful programming language.
** Python uses simple and effective approach to object oriented programming.
** Python is an ideal language for scripting and rapid application development in many areas and platforms.
What is Mercury?:
Mercury is a standardized best-practice server configuration for running your Drupal website that takes the best of the collected community practices, combines them with cutting-edge open-source tools for high-performance hosting, and delivers it all in a complete package.
Mercury is combination of below mentioned server configurations.
* Varnish :
Hi Every one,
If performance is the issue for your Drupal site then one thing you are missing is memcache. This article explains you step by step process to install and memcache and how memcache helps to boost your drupal website.
What is memcache ?
Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
Hi Everyone,
Alternative PHP Cache (APC) is a free, open source framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory, which will save the compile time of php code and increases the drupal performance which is built using php.
In this article i am going to specify how to install and how to optimize the APC for Drupal.
Step 1:
To install APC we need PECL command. For this we need to install some packages. Run the below command to install php-pear, and php5-dev packages.
Hi Everyone,
I am giving the step by step instructions to install Drupal 6 on linux machine. I am giving this steps for Ubuntu 9.10. For any other linux forks you need some small changes.
Apache Installation:
Step 1: Install apache 2 by entering this command in linux terminal.
~$> sudo apt-get install apache2
Step 2: Now apache is installed and running in your system. You can verify this by typing this url on your bowser.

Recent comments
1 day 4 hours ago
1 day 19 hours ago
3 days 12 hours ago
5 days 9 hours ago
5 days 17 hours ago
1 week 6 days ago
1 week 6 days ago
2 weeks 3 days ago
2 weeks 3 days ago
4 weeks 1 day ago