How to include multiple CSS and JS files using Typoscript

You may include multiple CSS files using the following code:

page.includeCSS {

file1 = fileadmin/templates/project1/css/file1.css
file2 = fileadmin/templates/project1/css/file2.css
file3 = fileadmin/templates/project1/css/file3.css


Use this code to include Javascript files:

page.includeJS {

file1 = fileadmin/templates/project1/js/file1.js
file2 = fileadmin/templates/project1/js/file2.js
file3 = fileadmin/templates/project1/js/file3.js


Consider you wish to have a CSS specifically for IE 6 and below:

[version= < 7][browser = msie]
page.includeCSS.file4 = fileadmin/templates/prj1/css/ie6fix.css

Running several name-based web sites on single IP address on Fedora 8

I have given below a few main points which may be useful in setting up a virtual host on Fedora 8.

I would give these examples considering you wish to have and

Step 1: Add your new domain to hosts file.

This is very essential else you will get address not found error!

Host file is usually located in /etc/hosts

Double click on the "hosts" file, and it should open in "gedit".
The configuration should resemble something like this:

#if you would like to setup only for local system

#setting up for a IP which can be accessessible outside


Step 2: Load VHOST Module in Apache

Now open the Apache configuration file "httpd.conf" and make sure that vhost alias module is loaded as shown.

Usual FILE LOCATION: etc/httpd/conf/httpd.conf

LoadModule vhost_alias_module modules/

Step 3: Add Virtual Host Entries
Now it is time to make proceed and configure Apache Server (the httpd service) to serve files for the different websites.


      DocumentRoot /var/www/url1-folder
      DocumentRoot /var/www/url2-folder



      DocumentRoot /var/www/url1-folder

      DocumentRoot /var/www/url2-folder

NOTE: The following settings usually do not work on Linux platform:

<VirtualHost *:80> or NameVirtualHost *.80

Instead you need to use the actual IP address such as:

<VirtualHost> or NameVirtualHost

If you use *.80, you may always see the default website for both and

You may find more virtualhost examples at the following URL:

For CentOS There are a few strict rules to follow as given in:


Setup 4: The final Step – Restart Apache
      The final step is to re-start httpd service using the following command.

service httpd restart


Now you should be able to browse and using any web-browser such as Mozilla firefox.

How to read and print body field value in drupal

While I browsed through several documentation, I come across users who ignorantly tried to display the code in the following way:

// $node->body;
// print $body;
// print $field-body[0][‘view’];
// print $body->content[‘body’][‘#value’];
// print $content[‘body’][‘#value’];

print $node->content[‘body’][‘#value’];

This last line contains the code that worked fine for me.

print $node->content[‘body’][‘#value’];

1 21 22 23