Skip to Content

Blogs

Sharing content type, content and users on two different drupal 6 sites

Hello,
I would like to share this blog for those drupal developers who are stuck for sharing the content, users and seperate themes and structures.
You can try this on your local machines windows / linux both.We will be using ip based virtual hosts in this tutorial.
Just follow the steps for installing multisite with same database and same codebase with two different domains.
A. Basic domain setup :
open the "hosts"  file
linux - /etc/hosts
windows - c:/windows/system32/drivers/etc/hosts :
Add the hosts as

Tags: 

Enable SSL or HTTPS on Ubuntu 11.04 with Apache 2

This article refers to those people who want to enable their ssl on their local system or on servers.
More specifically on Ubuntu 11.04 and Apache2 we have to use fullowing commands to install apache2 and ssl.

1. First to install apache2
sudo apt-get install apache2
2. Then to install the ssl-certificate
sudo apt-get install ssl-cert
3. To create the ssl directory
sudo mkdir /etc/apache2/ssl
4. Hardcoding cert lifetime
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

Tags: 

Extend Virtualbox Hard disk on CentOS-5

I have been struggling to increase the Hard disk size of my Development Enviornment on Virtualbox with CentOS-5.
Found some nice steps to increase the space of hard disk.
Follow these steps in order to increase the hard disk space.
A) First lets increase the size of current vdi file.
Download the tool CloneVDI in the attachment to copy the current hard disk.
1. Extract the tool and Browse the current .vdi file. suppose cent-os.v1.vdi is your current OS hdd.

Tags: 

Nice Examples of XML and DOMDocument

Its all about the DOMDocument and generating the XML from the same with examples. I have created some of the good documents with the examples for generating the xml and formatting the same. You will get most of the functions with the examples are written in the following post :
$dom = new DOMDocument('1.0', 'UTF-8');
$root = $dom->createElement('root');
$dom->appendChild($root);
echo $dom->saveXML();
 
1. Creating XML Document and Displaying :

Tags: 

Pages

Subscribe to RSS - blogs