Made to Order Software Corporation Logo

Blogs

Put the label of an HTML Input inside the Input element

Update:

With HTML5 running on pretty much all platforms, you want to use the placeholder attribute instead of any sort of tricks to place a label inside your input widgets.

This is done like this:

<input type="text" placeholder="Phone Number"/>

This example will show "Phone Number" inside the input box until the user types some text in that box.

You can test with the box right here. This is just that one <input .../> tag I placed in my page HTML. (It is not in a form, but the widget itself will work as expected.)

For additional details, I ...

How to bypass Drupal strong security?

Interestingly enough, today I received a Security Advisory from Drupal saying that users received an email from a hacker asking them to install a Trojan module on their Drupal system.

I find it quite interesting since, if Drupal wasn't secure, the hackers would not have to ask you to make it unsecure, would they?

However, this shows how many CMS systems introduce a security issue problem to your web server installation since it is required to let your web server execute any one PHP file...

All the files installed on your web server and that are directly accessible from the outside (i.e. ...

gVim editor in SeaMonkey and FireFox

Today I discovered It's All Text. This is a FireFox (also works in SeaMonkey) extension that gives you the capability of editing a box of text in your favorite editor.

I love to use SeaMonkey, but the text editor is a bit light when it comes to writing code or fix broken HTML. To palliate to this problem, I often copy and paste the content of my posts from SeaMonkey to gVim, my favorite editor, apply the fixes lightning fast, and then copy the result back in SeaMonkey before saving.

This is a rather tedious process and prone to mistakes. To avoid problems, you can instead install ...

What Country is this Domain Name Extension from?

Domain Descriptions

Got a URL with a weird extension at the end (i.e. not a .com, .org, .info, .tv...) Wondering where that extension is from? Some, you may know because it is the usual country code, such as .de, .fr or .it. Others are harder to know because you probably did not learn the name of the some 276 countries of the world (know of .fm, .vc, .vg, .ws and .ng?)

How do I add my Facebook badge to my Blogger page?

When I created my blog on Blogger, I felt like it was a bit dry at first. So I looked into what to add in the column on the side... Since I like to make friends on Facebook, I thought that adding my badge would be a good idea.

It is quick to do and everyone can do it, really! So... first log in both Blogger and Facebook. In Facebook, go to your wall and click on Edit My Profile. The link is under your picture (and I hope you uploaded a photo! People want to see your face!!! Not your dog or your car.)

Facebook Profile sample (Apr 2010)

Once in your profile, click on the Contact Information bar. Then click on the ...

Flash 64 bit under Ubuntu not letting you click?!

Use this excellent article if you are having difficulty clicking in your flash window (and you’re running Ubuntu 64 9.10):

64bit Java / Flash Deathroll | Speaking What We See. (unfortunately, that page was removed.)

He also rightly clears up the Java issue. This is a way to get native 64 bit installations for both Sun Java and Adobe Flash.

What are yellow pages good for?

Since I work a lot with the Internet, I often have people asking me whether the Yellow Pages are still useful...

The fact is, there are still many people using the Yellow Pages. Most advanced geek will use an online directory such as superpages.com. Yet, for certain things such as looking for a plumber, people still use the Yellow Pages.

So, how do I choose whether to have an ad in the Yellow Pages?

Simple! Take the latest Yellow Pages book you've received and look under your category and see what your competition does. If you have 1 or more full page advertiser, you bet that you have ...

Cell Phones now open to telemarketers!

That's it! The phone commissioners have finally decided that it's OK for telemarketers to call cell phones and try to sell you their products and services.

Personally, I do not think that, in itself, it is a bad thing... except that if I receive even just 1 call a day and have to spend 1 minute each time, I will be burning 30 minutes a month for nothing. (Okay, with 1,000 minutes a month, it wouldn't matter that much, but that's like text messaging... if you receive spam via your phone and you have to pay 20 cents for each spam email you receive, the bill goes up quickly ...

GoldMoney.com

Watching the spiraling price of gold (the spot price as of this writing is $1,213.40/oz) has been a humbling experience for me. There are all kinds of marketing forces happening to cause this, but if you follow what the Austrian School folks are saying, this is not a surprising trend at all. Central banks around the world are dumping their U.S. dollars and buying up gold, which is driving the price up. But I think this is different than just another commodity bubble, because the way gold is perceived--as a store of wealth. Traditionally investors who feel the currency they are in is threatened ...

PostgreSQL and Drupal conflict

We have been running Drupal for some time now and we have noticed that it generates a very large amount of warnings in our log files.

The warning is in link with improperly formatted strings. PostgreSQL tries to follow the SQL specification to the letter and that means you cannot use the backslash character to escape special character sequences (such as \n for a newline character.)

I knew that in most cases the error was generated because of the function saving a full page or some other content in the cache. In that case, the system includes the characters: \012 and \015 (\n and \r.) That ...

Syndicate content Syndicate content