drupal's blog

hide DRUPAL login from front page of DRUPAL site.

Hide the DRUPAL login or Remove DRUPAL login from the from page.

The DRUPAL login (as shown on below figure) can be hide or remove from the front page of your site by disable the longin block. You can access or you can login to you site by adding 'user' on the end of your url link.

example:

www.your_domain_name.com/?q=user or if the site using clean Url www.your_domain_name.com/user

Drupal Login Example:

Example of Drupal Login Block

How To Disable / Hide / Remove Drupal Login.

1. Login to your site.

2. Go to Administer ->> Site Building ->> Block.

administrator -> site building -> block

3. Find the User Login and set the user login to disable by select <none> on the region drop down box.


Best DRUPAL Module.

List of Best DRUPAL Module.

 

http://drupal.org/project/google_analytics - The module allows you to add Google Analytics web statistics tracking system to your website. 

 

http://drupal.org/project/similar - A module that displays a block with the most similar nodes to the currently viewed one, based on the title and body fields.

 


Best Firefox Extension.

List of the Best Firefox Extension.

 

Url: https://addons.mozilla.org/en-US/firefox/addon/500

Description: Adsense Notifier displays your Adsense earnings on the Firefox statusbar and automates the login process to Google Adsense.

 

Url: https://addons.mozilla.org/en-US/firefox/addon/570

Description: SEOpen - Search Engine Optimization tools.

 

Url: https://addons.mozilla.org/en-US/firefox/addon/60

Description: Web Developer - Contains many Web Developer tools.

 

Url: https://addons.mozilla.org/en-US/firefox/addon/722

Description: NoScript - Block and allow java script to be executed.

 

https://addons.mozilla.org/en-US/firefox/addon/5648

Description: FireShot is a Firefox extension that creates screenshots of web pages and provide the editing and annotation tools, which let users quickly modify captures and insert text and graphical annotations.

 

other:

https://addons.mozilla.org/en-US/firefox/addon/220

https://addons.mozilla.org/en-US/firefox/addon/201

https://addons.mozilla.org/en-US/firefox/addon/636

https://addons.mozilla.org/en-US/firefox/addon/1146


Drupal RewriteRule for Enable or disable clean URLs for Drupal site - Rewrite Rule.

 

Drupal RewriteRule for Enable or disable clean URLs for Drupal site (Rewrite Rule).

 

Part 1: htaccess for domain.

 

#

# Apache/PHP/Drupal settings:

#

 

# Protect files and directories from prying eyes.

<FilesMatch "(\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*| Repository|Root|Tag|Template)$">

Order allow,deny

</FilesMatch>

 

# Don't show directory listings for URLs which map to a directory.


Godaddy Backup Database Drupal

Backup Database for Drupal on Godaddy Web Hosting.

 

This most important thing for CMS abse web site is their database, without them you lost your site... this drupal site currently hosting on Godaddy, so this is the step by step procedure that i use to backup drupal database.

1. Login to Godaddy.

Login godaddy

2. Go to your hosting & Server -> point and click My Hosting Account.

Godaddy hosting account

3. Open hosting Control Panel for your drupal site, that the one youwant to make database bacup.

Open hosting account control panel

4. Select Manage Database.

select manage database


List of web site that use Drupal.

List of web site that use Drupal.

 

Business, companies, products, services, and information.

Drupal
www.drupal.org
Category: Social Media
Founded: 2001
Employees: none
Chief Officer: Dries Buytaert, President

http://www.lullabot.com - Come build an entire Drupal project with team Lullabot.

http://www.mtv.co.uk - MTV UK.

http://warnerbrosrecords.com/ - Warner Bros records 

http://www.preloaded.com - UK base comp.

http://twit.tv - Netcast.

http://dabble.com/ - Dabble's mission is to help you find and collect videos from all over the web, no matter where they are hosted.

http://musicbox.sonybmg.com - SONY BMG.

http://www.lifetimetv.com - Lifetime Entertainment, lifetimetv.com is one of the most popular cable networks in the United States..

http://www.participate.net - Community of film lovers and activists.

http://www.fearlessliving.org - The Fearless Living Institute exists to support individuals in overcoming the emotional fears that keep them from fulfilling their potential, their life dreams and their business goals.


Customize and Modify Drupal login for Drupal 5.x

The latest modification for Drupal 5 login form / block.

My code modification of drupal login block on 18-10-2007. The latest modification of the login block is to make sure that user stay on the current page or post after they logout.

1. Now user can stay on the page as they login to the site.

2. Stay on the same page after they logout from the site (base on the permisssion).

p.s: if something happen and you cannot login using the custome login page, you can always use the default Drupal loging page located at http://yoursite_name.com/?q=user. Make sure that you anable clean URLs for your site that located at = Administer -> Site configuration -> Clean URLs (set to enable)

Add below code on = Administer -> Site building -> Blocks (add new login block)


Unable to connect to database server

Today try to access my drupal site on Fedora Core 6 server but,

the only page apper is error message that say!

" Unable to connect to database server "

 

drupal icon

Unable to connect to database server

If you still have to install Drupal, proceed to the installation page.

If you have already finished installed Drupal, this either means that the username and password information in your settings.php file is incorrect or that we can't connect to the MySQL database server. This could mean your hosting provider's database server is down.

The MySQL error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).

Currently, the username is XXXXXXXXXX and the database server is localhost.

  • Are you sure you have the correct username and password?
  • Are you sure that you have typed the correct hostname?
  • Are you sure that the database server is running?

For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.


Customize User Login Block for Drupal 5.1

Customize User Login Block for Drupal 5.1

The code below is to make customize user login block for drupal 5.1. This is the sample code, you can customize this code to better suit your site configuration :-).

<?php global $user; ?>
<?php if ($user->uid) : ?>
<span class="login_text">Welcome, </span> <?php print ($user->name); ?> <br>
<?php print l("Your Account",'user/'.$user->uid); ?> |
<?php print l("Log-Out","logout"); ?>
<?php else : ?>
<form action="/user" method="post" id="user-login-form">
Username:
<input type="text" maxlength="60" name="name" id="edit-name" size="15" value="" tabindex="1" class="form-text required" />
<br>
Password:
<input type="password" name="pass" id="edit-pass" size="15" tabindex="2" class="form-text required" />
<br>
<input type="submit" name="op" id="edit-submit" value="Log in" tabindex="3" class="form-submit" />
<br>
<a href="/drupal/?q=user/register" title="Create account">Create account</a>

Drupal display blank page after adding enabling Drupal modules

 

Drupal display blank page after adding or enabling new Drupal modules.

 

Page access control not found or Drupal display blank page after you adding or enabling new Drupal modules.  The example that I get, gallery2 just display blank page. The reason is that you may be running out of memory, you may need to check the PHP configuration file and check default memory setting for your PHP.
 

The default PHP memory limits for:
Fedora Core 5: 8M
Fedora Core 6: 16M

Solution: increase PHP memory by editing the PHP configuration file located at /etc/php.ini or use find command to locate the PHP (php.ini) configuration files.
[root@fedora ~]# find / -name php.ini
 


Custom Search

Syndicate content