Web Design, Development, Drupal, Sales Executives

Ajay on March 2nd, 2008

SwamiWebDesign is UK’s leading Web Design, Web Development Company. We offer Web Design, PHP/mySQL, CSS, XHTML, Drupal Development, Ecommerce, Shopping carts viz. osCommerce, CRE Loaded, Digishop, Zencart, X-cart, Avactis, Cubecart etc., Payment Gateway Solution, Print Design, CMS, Logo Design, Web Hosting and Domain Registration services.
We have clients all over the world and within [...]

Drupal and WAI Accessibility

Ajay on February 10th, 2008

One question people frequently ask is whether Drupal is WAI compatible?
Well the question itself is not quite correct. Drupal is just a framework and no one writes any code to always keep it WAI compatible.
You have to “Do Extra Work” to make any website, whether based on Drupal or any open source framework or developed [...]

Drupal’s page serving mechanism

Ajay on January 31st, 2008

An excellent topic to understand the flow of Drupal’s page serving mechanism
http://drupal.org/node/10858

Call to undefined function db_query()

Ajay on

Drupal provides the function db_query() to interact with database.
This function is defined in includes/database.inc file.
You have to include database.inc in your file to get db_query() working.
<?php include(“includes/database.inc”); ?>
However if you are trying to access drupal database from a non-drupal .php file then all you need to do is to include following lines at the [...]

Drupal Theming – How to print the attached image?

Ajay on January 29th, 2008

If you are modifying Drupal theme and wish to play with attached image then following code might be helpful.
This code prints attached image (to a node) .
<?php
foreach ($node->files as $file)
{
$fileType = $file->filemime;
if($fileType == ‘image/jpeg’)
{
$imagePath = $file->filepath;
$imageTitle = $file->description;
print ‘<img class=”contentImage” width=”100″ height=”80″ src=”/’.$imagePath.’” alt=”‘.$imageTitle.’” title=”” />’;
}
}
?>
You [...]

Free Wordpress Themes

Ajay on January 19th, 2008

http://themes.wordpress.net
http://wordpressthemes.pro

List of useful Wordpress Plugins

Ajay on

Following is a list of most useful Wordpress plugins.
Make sure that these plugins are compatibble with your installed wordpress version. It is common that some of plugins might not be immediately updated to be compatible with latest Wordpress release.
Wordpress Plugin Directory
Wordpress SEO
All in One SEO Pack
SEO Title Tag
Top Level Categories
Google Sitemap Generator
Sociable
WYSIWYG
Adsense Manager
Most of the [...]

My Favorite Websites

Ajay on

Corporate Websites
A K Singh Limited
SAIPL
Desktop PC / Laptop / PC Accessories / Laptop Accessories
Desktop PC
PC Finance
SwamiPC Blog
Laptop
SwamiLaptops Blog
Web Design / Web Development / SEO
Web Design
UK Web Design
Web Design Blog
India Tech Forum
SEO
SEO Blog
PHP Real Estate Scripts
PHP Real Estate Script
PHP Real Estate Script UK
Jobs
India’s No. 1 Job Site
UK Jobs
Text Advertisement
Text Advertisement
Text Advertisement UK
Text Advertisement India
Bharat News and [...]

Drupal pathauto tutorial

Ajay on January 14th, 2008

pathauto module could be extremely frustrating for any newcomer to Drupal.
pathauto module generates URL automatically based on the pattern which you specify in the configuration.
pathauto home page: http://drupal.org/handbook/modules/pathauto
First delete the alias settings for the types for which you wish to change pathauto settings.
E.g. if you want to change the Category URLs then delete all existing [...]

Reasons why I don’t like Drupal

Ajay on January 13th, 2008

Reason No. 1
It is not developed by native English speaking people. This is biggest drawback of Drupal which is reflected in almost all aspect of Drupal for which I don’t like it.
Few years back when I first started exploring Drupal I gave up as I could not understand the way it was written.
On the contrary [...]