
As most of you are probably aware, Drupal is the best PHP Open Source Content Management System. Most serious big players in the web industry always prefer Drupal over any other CMS applications, mainly because Drupal is more powerful and reliable. But after trying both Drupal & Joomla, I feel like Drupal is really flexible and reliable. But when it comes to user friendliness, Drupal is way behind Joomla. Drupal is such a good CMS system, but it’s not that easy for a beginner to learn it himself. Drupal documentation is not up to the mark for a beginner. So it requires extensive research and lot of googling to master Drupal yourself.
A few months ago, I started learning Drupal theming – I found myself spending a lot of time searching Google for answers to my basic doubts about Drupal. Being self taught, I thought I will archive these questions that troubled me and took up so much of my time. I hope this post would save some Drupal enthusiast some precious time.
Well, here are the questions – go ahead and read ![]()
This is really a common question among Drupal beginners; we need not always want the login block to be displayed in our site. Since most of these cases the login block will be turned off in the administration. In those cases, we can access the login screen simply through the following URL.
1 | http://sitename.com/?q=user |
or if the clean URL is enabled
1 | http://sitename.com/user |
Similarly if you can’t access the logout link and need to logout, you can do so by using the URL
1 | http://sitename.com/?q=logout |
alternatively with clean URLs enabled you can try
1 | http://sitename.com/logout |
You can set your Drupal site in off-line mode, while it is being developed. Just click Administer » Site maintenance. There you can set the status to off-line. If you wants, you can also set your own custom off-line message. When set to Off-line, only users with the administer site configuration permission will be able to access your site to perform maintenance; all other visitors will see the site off-line message configured there. Authorized users can log in during Off-line mode directly via the user login page.
This is another common question among Drupal newbies all time. After trying out all available themes under Drupals theme directory, we may naturally want to try new themes. Installing a new theme is very simple and straightforward. Follow the steps below.
After finding and downloading a module, the next step would be to copy it the modules folder. Most people copy the file to the default modules folder here http://sitename.com/drupal/modules this is where all the modules that ship with Drupal are stored so it seems somewhat logical to do this. But this folder is actually meant to store only Drupal’s default modules. Instead you should go to http://sitename.com/drupal/sites/all folder, there you will see a readme.txt file. This file will clearly tell you the trick. You just need to create a new folder named modules here. Now copy the modules folder here. That’s all, you have successfully installed the module.
Next step would be to enable the module through the Admin interface. To do this navigate to Administer » Site Building » Modules. Here you will see a list off all installed modules, and our newly installed module will also be listed here. You just have to check the enable check box against the new module and then click the Save Configuration button. That’s all.
Read a detailed post on Drupal module installation here
A favicon (short for favorites icon), also known as a website icon or bookmark icon is a 16×16 pixel square icon that appears near the address bar and in the bookmarks folder in a visitor’s browser. By default, a drupal site shows that water drop kinda drupal logo as favicon. If you want to make your site unique by all means, you can easily change the favicon to your customized icon by following the steps below.
The changes may not appear immediately in your browser, you need to clear your browser’s cache and reload the page. If you have bookmarked your site, you may need to delete the bookmark and then recreate it again so that the new favicon will appear in the bookmarks menu.
Documentation
Drupal’s default URL structure is like “http://www.sitename.com/?q=node/10″ This URL format can be hard to read, and can sometimes prevent search engines from indexing all your pages properly. In this case you can eliminate this “?q=” and clean the URLs through the following steps.
Navigate to Administer » Site configuration » Clean URLs. By default, it will be disabled. Select enabled and click the save configuration button. You are done.
You can make your URLs even more cleaner with the help of path module.
Home » Administer » Site building » Modules: enable the Path Module.
See the Path module handbook page for more information on using the path module.
To prevent the navigation block title or any other block title from appearing in the pages, just do the following.
Administer » Site building » Blocks and click the configure link next to the Navigation block.The interface text (like the “Log in” button and the “Add new comment” text) is in English by default, but can be translated. For many languages, there are completed or partly completed translations available. (See the locale module on how to use them.)
All languages need more translation contributions. Some have only incomplete versions of the text in core, so that parts of the interface will show up in English. Others may be complete but need corrections and improvements of the language. And no language has a complete set of translations for all contributed modules… Read More
Yeah it’s possible! You can apply different themes to different pages in your drupal site simply with the help of a cool module called ‘Sections’. A detailed post on using sections module is available here
Create a new page with some extra information, so that your visitors don’t ever plunge on to the default boring 404 – page not found error page.
Once this page is created:
You can also use the Search 404 module as an alternative.
Adding a new block is a simple process in drupal 6.
A detailed post on adding a new block is available HERE.
Adding a new region in your drupal template is not a hard thing, but its not as easy as adding a new block. It’s basically a two-step process:
So, here’s a tutorial on how to create custom regions in your Drupal 6 themes… More
By default, drupal will not allow inserting PHP code directly inside a post or in a block. To do this, you need to activate a drupal module called PHP filter via, Administer » Site building » Modules. Even though this module ships with drupal, it remains disabled by default.
Breadcrumbs or breadcrumb trail is a navigation aid used in drupal interfaces. Normally it appears in between the top banner area and the page title. It gives users a way to keep track of their location within programs. Breadcrumbs are really useful in a comparatively bigger website with plenty of sections and subsections. But when it comes to smaller websites, it may found useless. In those cases you may either hide it using CSS (eg. .breadcrumb {display: none;}) or in the page.tpl.php file remove the line that says <?php if ($breadcrumb) print $breadcrumb; ?>
Preparing your computer with a local installation of Drupal with WampServer is comparatively a trouble-free process to follow. Since WampServer will install an Apache-server, SQL, PHP and phpMySQL on your computer, with those tools you can install and run Drupal locally even without an internet connection.
To get more information on installing WAMP & Drupal in your local machine, just go through the following quick tutorials.
Installing WAMP Server
Installing Drupal
Moving your drupal website from one server / host to another is not a simple process, we need to be really careful and process oriented. Here are the detailed steps how to successfully move a complete Drupal installation from one host to another…. Read More
Backing up your Drupal site is now very easy, you just need to download and install a module called Backup & Migrate. To install the module click on the Administer » Modules check the Backup and Migrate module and enable it and save the settings.
Then navigate to the Administer » Content Management » Backup and Migrate then do the following settings.
Alternately you can take backups using PhpMyAdmin.
If you want to customize your Drupal Syndicate Feed Icon, just follow the steps described in this tutorial. Read Now
In such a worst scenario, drupal admin password can easily be reset from the Drupal database. The Drupal database can be accessed through phpMyAdmin tool available with your web hosting account. Follow the below steps to get your drupal admin password reset quickly:
update users set pass=md5(’NEWPASS’) where uid = 1; where “NEWPASS” is your new Drupal administrative password.
Click the GO button to submit the query. If the query is executed correctly and no errors are displayed then you should be able to login with the new password.
More Details
[...] This post was mentioned on Twitter by aashiks, bdeepu. bdeepu said: Common questions of a drupal beginner http://goo.gl/fb/9LvJ [...]
Common questions of a drupal beginner @ Deepu Balan – Scribblings of a cyber geek…
As most of you are probably aware, Drupal is the best PHP Open Source Content Management System. Most serious big players in the web industry always prefer Drupal over any other CMS applications, mainly because Drupal is more powerful and reliable. But…
Common questions of a drupal beginner @ Deepu Balan – Scribblings of a cyber geek…
As most of you are probably aware, Drupal is the best PHP Open Source Content Management System. Most serious big players in the web industry always prefer Drupal over any other CMS applications, mainly because Drupal is more powerful and reliable. But…
Common questions of a drupal beginner @ Deepu Balan – Scribblings of a cyber geek…
As most of you are probably aware, Drupal is the best PHP Open Source Content Management System. Most serious big players in the web industry always prefer Drupal over any other CMS applications, mainly because Drupal is more powerful and reliable. But…
Social comments and analytics for this post…
This post was mentioned on Twitter by bdeepu: Common questions of a drupal beginner http://goo.gl/fb/9LvJ…
Common questions of a drupal beginner @ Deepu Balan – Scribblings of a cyber geek…
As most of you are probably aware, Drupal is the best PHP Open Source Content Management System. Most serious big players in the web industry always prefer Drupal over any other CMS applications, mainly because Drupal is more powerful and reliable. But…
[...] more: Common questions of a drupal beginner @ Deepu Balan – Scribblings … Share and [...]
Thursday, 11 February, 2010 at 2:22
Well drupal just won the CMS award..I wanted to play with it too..Thanks for some FAq..!
Thursday, 11 February, 2010 at 7:50
Thanks Deepu, Drupal little bit tough to learn ?.
Thursday, 11 February, 2010 at 10:40
Thanks a lot, deepub, really useful article, specially cause I’m building my social network zeemp.com in drupal.
I hope you write another cool tips, they could be about specific modules like views and cck.
Wednesday, 17 February, 2010 at 20:18
very nice.. Thanks.
Thursday, 25 February, 2010 at 14:15
I am working on Drupal project,recently launched ShoutMeme in India for Technology Community which is based on Drupal Core.
I am really happy to see you here teaching about Drupal tricks.
Thanks buddy !!
Sunday, 28 February, 2010 at 23:24
nice post. thanks.
Thursday, 6 May, 2010 at 20:29
I am a new convert to Durpal from Joomla and I must say it’s functionality is easier, thanks for the blog !