{"id":397,"date":"2010-02-08T01:03:29","date_gmt":"2010-02-08T01:03:29","guid":{"rendered":"https:\/\/deepubalan.com\/blog\/?p=397"},"modified":"2025-03-19T15:49:28","modified_gmt":"2025-03-19T10:19:28","slug":"common-questions-of-a-drupal-beginner","status":"publish","type":"post","link":"https:\/\/deepubalan.com\/blog\/2010\/02\/08\/common-questions-of-a-drupal-beginner\/","title":{"rendered":"Common questions of a drupal beginner"},"content":{"rendered":"<div class=\"splashpic\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-454\" title=\"common questions of a drupal begginer\" src=\"https:\/\/deepubalan.com\/blog\/wp-content\/uploads\/2010\/02\/common-questions-of-a-drupal-begginer.jpg\" alt=\"common-questions-of-a-drupal-begginer\" width=\"520\" height=\"185\" \/><\/div>\n<p>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 &amp; 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\u2019s 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. <span data-sheets-root=\"1\">A dedicated server provides <a href=\"https:\/\/www.dedicatedcore.com\/dedicated-server-uk\/\" target=\"_blank\" rel=\"noopener\">1 Gbit connection with no extra cost<\/a> to get speedy application&#8217;s activities without any disturbance.<\/span><\/p>\n<p>A few months ago, I started learning Drupal theming &#8211; 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.<\/p>\n<p>Well, here are the questions &#8211; go ahead and read \ud83d\ude42<\/p>\n<h2>How do I access the Drupal admin panel, when the login block is disabled?<\/h2>\n<p>This is really a common question among <em>Drupal<\/em> 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.<\/p>\n<pre lang=\"html4strict\" line=\"1\">http:\/\/sitename.com\/?q=user<\/pre>\n<p>or if the clean URL is enabled<\/p>\n<pre lang=\"html4strict\" line=\"1\">http:\/\/sitename.com\/user<\/pre>\n<p>Similarly if you can&#8217;t access the logout link and need to logout, you can do so by using the URL<\/p>\n<pre lang=\"html4strict\" line=\"1\">http:\/\/sitename.com\/?q=logout<\/pre>\n<p>alternatively with clean URLs enabled you can try<\/p>\n<pre lang=\"html4strict\" line=\"1\">http:\/\/sitename.com\/logout<\/pre>\n<p>[ad#ad-1]<\/p>\n<h2>How to make my Drupal site offline to public, while it is under construction?<\/h2>\n<p>You can set your Drupal site in off-line mode, while it is being developed. Just <strong>click Administer \u00bb Site maintenance<\/strong>. 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 <em>Off-line<\/em>, only users with the <em>administer site configuration<\/em> 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 <em>Off-line<\/em> mode directly via the user login page. <!--more--><\/p>\n<h2>How can I install a new theme in Drupal?<\/h2>\n<p>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.<\/p>\n<ul>\n<li>Download a new theme package. Note that themes for different Drupal versions are not compatible, version 5.x themes do not work with Drupal 6.x and reverse.<\/li>\n<li>Read any README or INSTALL files in the package to find out if there are any special steps needed for this theme.<\/li>\n<li>Upload the contents of the theme package to a new directory in the themes directory in your Drupal site. In Drupal 5.x &amp; 6.x, you place your themes in \/sites\/all\/themes\/yourThemeName<\/li>\n<li>Click administer \u00bb themes and enable the new theme (Drupal will auto-detect its presence).<\/li>\n<li>Edit your user preferences and select the new theme. If you want it to be the default theme for all users, check the default box in the themes administration page.<\/li>\n<\/ul>\n<h2>How to install a new module in Drupal?<\/h2>\n<p>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 <em>http:\/\/sitename.com\/drupal\/modules<\/em> 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\u2019s default modules. Instead you should go to <em>http:\/\/sitename.com\/drupal\/sites\/all<\/em> folder, there you will see a <em>readme.txt<\/em> 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\u2019s all, you have successfully installed the module.<br \/>\nNext step would be to enable the module through the Admin interface. To do this navigate to <em>Administer \u00bb Site Building \u00bb Modules<\/em>. 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 <em>enable<\/em> check box against the new module and then click the <em>Save Configuration<\/em> button. That\u2019s all.<br \/>\nRead a detailed post on Drupal module installation <a href=\"http:\/\/www.rundrupal.com\/tutorials\/how-install-drupal-module-correct-way\" rel=\"nofollow\">here<\/a><\/p>\n<h2>How can I change the favicon in my Drupal Site?<\/h2>\n<p>A favicon (short for favorites icon), also known as a website icon or bookmark icon is a 16&#215;16 pixel square icon that appears near the address bar and in the bookmarks folder in a visitor&#8217;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.<\/p>\n<ul>\n<li>Create your own favicon.ico file using any graphic tools or with the help of any online favicon generator tools like <a href=\"http:\/\/tools.dynamicdrive.com\/favicon\/\" target=\"_blank\" rel=\"nofollow noopener\">dnamicdrive<\/a>.<\/li>\n<li>Navigate to admin \u00bb site building \u00bb themes and click the configure link next to your current theme. This will bring up the theme configuration page.<\/li>\n<li>Here you will see a section titled Shortcut icons settings. You can either upload your favicon file or specify the path to your customized icon file.<\/li>\n<\/ul>\n<p>The changes may not appear immediately in your browser, you need to clear your browser&#8217;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.<br \/>\n<a href=\"http:\/\/drupal.org\/node\/362265\" rel=\"nofollow\">Documentation<\/a><\/p>\n<h2>How can I enable clean URLs in Drupal?<\/h2>\n<p>Drupal\u2019s default URL structure is like &#8220;http:\/\/www.sitename.com\/?q=node\/10&#8221; 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 &#8220;<em>?q=<\/em>&#8221; and clean the URLs through the following steps.<\/p>\n<p>Navigate to Administer \u00bb Site configuration \u00bb Clean URLs. By default, it will be <em>disabled<\/em>. Select <em>enabled<\/em> and click the <em>save configuration<\/em> button. You are done.<\/p>\n<p>You can make your URLs <strong>even more cleaner<\/strong> with the help of <strong>path module<\/strong>.<br \/>\nHome \u00bb Administer \u00bb Site building \u00bb Modules: enable the Path Module.<br \/>\nSee the <a href=\"http:\/\/drupal.org\/handbook\/modules\/path\" rel=\"nofollow\">Path module handbook<\/a> page for more information on using the path module.<\/p>\n<h2>How do I remove the title \u2018Navigation\u2019 from the navigation block?<\/h2>\n<p>To prevent the navigation block title or any other block title from appearing in the pages, just do the following.<\/p>\n<ul>\n<li>Navigate to <code>Administer \u00bb Site building \u00bb Blocks<\/code> and click the configure link next to the Navigation block.<\/li>\n<li>In the block configuration page, enter &lt;none&gt; in the Block title filed. This will override the default title for the block and remove the title.<\/li>\n<\/ul>\n<h2>How can I translate Drupal to my local language<\/h2>\n<p>The interface text (like the &#8220;Log in&#8221; button and the &#8220;Add new comment&#8221; text) is in English by default, but can be translated. For many languages, there are completed or partly completed translations available. (See the <a href=\"http:\/\/drupal.org\/handbook\/modules\/locale\" rel=\"nofollow\">locale module<\/a> on how to use them.)<\/p>\n<p>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\u2026 <a href=\"http:\/\/drupal.org\/contribute\/translations\" rel=\"nofollow\">Read More<\/a><\/p>\n<h2>How do I show different Drupal themes on different pages?<\/h2>\n<p>Yeah it\u2019s possible! You can apply different themes to different pages in your drupal site simply with the help of a cool module called \u2018<a href=\"http:\/\/drupal.org\/project\/sections\"><strong>Sections<\/strong><\/a>\u2019. A detailed post on using <em>sections<\/em> module is available <a href=\"http:\/\/geshan.blogspot.com\/2009\/03\/apply-multiple-drupal-themes-for.html\"><strong>here<\/strong><\/a><\/p>\n<h2>How can I customize my 404 \u2013 Page not found page?<\/h2>\n<p>Create a new page with some extra information, so that your visitors don&#8217;t ever plunge on to the default boring 404 &#8211; page not found error page.<br \/>\nOnce this page is created:<\/p>\n<ul>\n<li>Remember its node ID,<\/li>\n<li>Go to Administer &gt; Site configuration &gt; Error reporting<\/li>\n<li>Set Default 404 (not found) page to the node ID you just created<\/li>\n<li>Save your settings<\/li>\n<\/ul>\n<p>You can also use the <a href=\"http:\/\/drupal.org\/project\/search404\" rel=\"nofollow\">Search 404 module<\/a> as an alternative.<\/p>\n<h2>How can I add a new Block In Drupal?<\/h2>\n<p>Adding a new block is a simple process in drupal 6.<\/p>\n<ul>\n<li>Go to Administer \u00bb Blocks and click on the Add Block link (tab).<\/li>\n<li>Fill in the form with the necessary PHP\/HTML code in the block body. And click the \u2018Save Block\u2019 button.<\/li>\n<\/ul>\n<p>A detailed post on adding a new block is available <a href=\"http:\/\/www.expeditionpost.com\/how-to-create-a-new-block-in-drupal-6\/\" rel=\"nofollow\">HERE<\/a>.<\/p>\n<h2>How can I create a custom region in my Drupal template?<\/h2>\n<p>Adding a new region in your drupal template is not a hard thing, but its not as easy as adding a new block. It&#8217;s basically a two-step process:<\/p>\n<ul>\n<li>define the custom region in your theme&#8217;s .info file<\/li>\n<li>insert some PHP in your theme&#8217;s page.tpl.php file wherever you would like the new region to appear<\/li>\n<\/ul>\n<p>So, <a href=\"http:\/\/mydrupalblog.lhmdesign.com\/creating-custom-regions-drupal-6-themes\" rel=\"nofollow\">here&#8217;s a tutorial<\/a> on how to create custom regions in your Drupal 6 themes&#8230; <a href=\"http:\/\/mydrupalblog.lhmdesign.com\/creating-custom-regions-drupal-6-themes\" rel=\"nofollow\">More<\/a><\/p>\n<h2>How can I add custom PHP codes in my Drupal pages or blocks?<\/h2>\n<p>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 \u00bb Site building \u00bb Modules. Even though this module ships with drupal, it remains disabled by default.<\/p>\n<h2>How do I Remove Breadcrumbs from my Drupal pages?<\/h2>\n<p>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. <code>.breadcrumb {display: none;}<\/code>) or in the page.tpl.php file remove the line that says <code>&lt;?php if ($breadcrumb) print $breadcrumb; ?&gt;<\/code><\/p>\n<h2>How can I install Drupal on a local WAMP server?<\/h2>\n<p>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.<br \/>\nTo get more information on installing WAMP &amp; Drupal in your local machine, just go through the following quick tutorials.<br \/>\n<a href=\"http:\/\/sites.google.com\/site\/drupaldebugmultisite\/Home\/installing-wampserver-2\"><strong>Installing WAMP Server<\/strong><\/a><br \/>\n<a href=\"http:\/\/sites.google.com\/site\/drupaldebugmultisite\/Home\/how-to-set-up-your-drupal-environment\"><strong>Installing Drupal<\/strong><\/a><\/p>\n<h2>How do I move a Drupal Site from One host\/server to another?<\/h2>\n<p>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\u2026. <a href=\"http:\/\/www.invision-graphics.com\/article325-moving-a-drupal-site-from-one-host-to-another-how-to.html\" rel=\"nofollow\">Read More<\/a><\/p>\n<h2>How to backup my Drupal site?<\/h2>\n<p>Backing up your Drupal site is now very easy, you just need to download and install a module called <a href=\"http:\/\/drupal.org\/project\/backup_migrate\"><strong>Backup &amp; Migrate<\/strong><\/a>. To install the module click on the Administer \u00bb Modules check the <em>Backup and Migrate<\/em> module and enable it and save the settings.<\/p>\n<p>Then navigate to the Administer \u00bb Content Management \u00bb Backup and Migrate then do the following settings.<\/p>\n<ul>\n<li>Exclude the following tables altogether: select the table which you dont want to take backup.<\/li>\n<li>Give the backup file name.<\/li>\n<li>There are also options to compress the file before download, or add a datestamp.<\/li>\n<li>And then click Backup Database.<\/li>\n<\/ul>\n<p>Alternately you can take backups using <a href=\"http:\/\/www.phpmyadmin.net\/\" rel=\"nofollow\">PhpMyAdmin<\/a>.<\/p>\n<h2>How to Customize my Drupal Syndicate Feed Icon?<\/h2>\n<p>If you want to customize your Drupal Syndicate Feed Icon, just follow the steps described in this tutorial. <a href=\"http:\/\/www.expeditionpost.com\/how-to-customize-the-syndicate-feed-icon-block-in-drupal\/\"><strong>Read Now<\/strong><\/a><\/p>\n<h2>How can I reset my Drupal admin password<\/h2>\n<p>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:<\/p>\n<ul>\n<li>Login to cPanel -&gt; Databases box -&gt; phpMyAdmin;<\/li>\n<li>Select the Druapl database folder from the left navigation bar. The page will refresh and and the Drupal database\u2019s tables will be displayed on it.<\/li>\n<li>Click on the SQL tab.<\/li>\n<li>In the text field write the following SQL query:<\/li>\n<\/ul>\n<p><code>update users set pass=md5(\u2019NEWPASS\u2019) where uid = 1;<\/code> where \u201cNEWPASS\u201d is your new Drupal administrative password.<\/p>\n<p>Click the <strong>GO<\/strong> 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.<br \/>\n<a href=\"http:\/\/www.webhosting.uk.com\/web-hosting\/faq\/how-to-reset-drupal-admin-password\/\" rel=\"nofollow\">More Details<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":1,"featured_media":454,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[15,16,278],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts\/397"}],"collection":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/comments?post=397"}],"version-history":[{"count":1,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions"}],"predecessor-version":[{"id":27935,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions\/27935"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/media\/454"}],"wp:attachment":[{"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/media?parent=397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/categories?post=397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepubalan.com\/blog\/wp-json\/wp\/v2\/tags?post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}