Drupal Config

Step by Step Enable View Post Access Counter on Drupal

 

Step by Step Enable View Post Access Counter on Drupal.

 

   The step by step below show how you can enable post access counter on Drupal cms.  The view post access counter as the name implies show the hit or view read count statistic for each Drupal page or post... this include the forums.  The view post access counter module comes with default Drupal cms system installation... so you do not need to install any extra module to track page views for every page on  the system.  Please note that the page counter configuration below tested on Drupal 6.13 version.

 

1.  The figure below show how the view post access counter look like on Drupal page.

drupal page view counter

 


Adsense Injector No Google Adsense client ID choosing module is enabled. Please check your settings

 

Drupal No Google Adsense client ID choosing module is enabled. Please check your settings

 

   Today i'm upgrade the Adsense Injector module for my Drupal site. but then the error message * No Google Adsense client ID choosing module is enabled. Please check your settings appear.  What a pity... my adsense CTR is low then ever... now my Adsense not working anymore... try to search the net to find the solution for No Google Adsense client ID choosing module is enabled. Please check your settings... nothing that make sense appear... after hours... and lot trial an error... I think I got the solution for the No Google Adsense client ID choosing module is enabled. Please check your settings message and hope this solution could be use for other that have the same problem.

 

 The No Google Adsense client ID choosing module is enabled. Please check your settings message example on Drupal page:


Step by step to remove Submitted by on date Drupal

 

Remove Submitted by on date in Drupal post contents

 

   Step by step below show how to remove Submitted by on date near the Drupal post title.  When you create new page on Drupal... you usually get the "Submitted by on date" near the page title... to remove or prevent the "Submitted by on date" from display on every new contents or post... just follow the step below:

 

The post example that show "Submitted by on date" example on the Drupal page:

remove submitted by on Drupal post

1.  Go to Home » Administer » Site building » Themes

http://drupal_site_name.com/admin/build/themes

 


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.


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)


Google Search

Google Search

Search the site contents with Google Search.


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>

Custom Search

Syndicate content