Archive

Posts Tagged ‘Web’

Password Protected WordPress blog

January 6th, 2010

A simple way to have a password protected wordpress.org blog. You may ask, if a blog is to be password protected, what is the need for it. Sometimes we may need a small office or company internal blog which may have confidential information of the company. Here you go

Add the following code to the beginning of the index.php file of the Theme you are using.

<?php
if (!is_user_logged_in()) {
auth_redirect();
}
?>

And thats it…

Web , , ,

Firebug a gift for WebDevelopers

August 25th, 2009

Firebug is a firefox plugin, which converts a simple browsers into a powerful debugging tool. When I was learning how to develop a Drupal module i came across the term Firebug. Now it has become part of my life. The day i found firebug, I was just thinking why it didn’t come to my sight all these days when i was surfing the net.

Firebug, gives so many reasons for a web developer to use it. May be let me list in what all ways Firebug helped me

  1. It was very hard to find the bugs in Java Script. Most of the time if there is a syntax error, the code would not respond, Firebug often helps me in tracking the bug in the Java script.
  2. Tracing through the HTML code. When you keep your mouse on each HTML, tag below Firebug will highlight the content at the top of the screen. It would be so helpful to trace, which part of the HTML creates a particular segment.
  3. Then it can also trace CSS. Most commonly when you are trying to edit a template to create you website. Firebug when play a greater role in it.
  4. I don’t think its over, but I am using Firebug for all these, still very often it gets updated with new features added.

Firefox is the Browser that i really love and the two plugins Delicious and Firebug have become my intimate these days, helping me every moment.

Internet, Web , ,