Disabling the Javascript in Drupal Comment Forms

In Drupal, forms have nice little features which slide up and down some areas and make textareas resizable. The example is in the search page, where the “advanced search” field slides down when you click on it. It is a nice feature, especially in administration pages where forms tend to get very long. And it is tightly integrated to Drupal so you don’t need to waste some precious time implementing it.

The reason I am saying this is because those effects require Javascript (and more specifically, the JQuery library), which itself weights around 19 KB, and Drupal’s own Javascript flavor, drupal.js which is around 5 KB. 24 KB is admittedly small for that kind of effect, but surely you won’t want to double your page size just for it, will you? And don’t mention the extra HTTP requests and additional script for each effects…

Now suppose that you are a blogger who dreads for comments very much that you make the process of submitting comments as easy as possible. You will put the comment form right under the content, in the same page. Suddenly all your content pages need Javascript for it to function, just because of that tiny little form which only a bit of your site visitors care!

Fortunately enough, there is a way to remove this functionality which in turn removes the need of Javascript for a particular page. Behold Comment Form, my own tiny little Drupal module! (download link below) After downloading, installing, and enabling this module, you can go to comments admin page, and there’ll be a new tab, ‘Comment form display’. There, you can disable and enable those Javscript-hungry effects as you wish. As a bonus, you can configure how many rows the comment form textarea will have (because I really think it is too high).

My investigation concludes that by using this module properly, you can reduce the total size of one page by 28 KB.

I hope that this module helps bloggers using Drupal a bit. And the reason I’m not putting this in drupal.org is that it is so lightweight (the code is just 2.5 KB) that I don’t want to bother setting up CVS, maintaining it, etc. If someone wants to take care of it I would be glad, just drop me a line here (it is GPL, by the way).

comment_form.tar.gz6.61 KB


Do you have a module for.

Do you have a module for disabling javascript in comments form for drupal 6?

VGreat conclusion to end up.

VGreat conclusion to end up in this article for releasing a depth of knowledge and making us a more broad thinkers now.
[ Garcinium ][ http://garciniumfact.com ]

Memiliki sebuah usaha adalah.

Memiliki sebuah usaha adalah impian banyak orang, dan jika anda bingung ingin memulai usaha apa anda bisa berkunjung ke http://peluangusahasampingan99.blogspot.com untuk membaca artikel yang kami tulis seputar ide peluang usaha yang mungkin cocok untuk anda. Kisah sukses wirausahawan yang sukses baca di Kisah sukses jutawan usaha sampingan rumahan sebagai penyemanagat anda. Punya modal yang minim usaha berikut ini Waralaba peluang usaha modal kecil bisa anda coba. UKM memang peluang usaha yang menarik baca Peluang usaha ukm modal kecil sebagai inspirasi anda. Berbisnis kuliner memang menguntungkan baca Peluang usaha sampingan kuliner yang terlewatkan. Mencari usaha sampingan mungkin artikel Peluang usaha industri rumahan bisa anda pertimbangkan. Khusus untuk wanita yang ingin berbisnis bisa mencoba bisnis Peluang usaha sampingan kosmetik wanita yang potensial. Selain makanan minuman juga bisnis menggiurkan baca Peluang usaha sampingan minuman sebagai motivasi anda. Baca juga Peluang usaha rumahan kerajinan tulang ikan salah satu usaha kreatif. Dan lihat juga Peluang usaha sampingan toko online dropship jika anda belum tahu apa itu dropship. Hasilkan jutaan dari bisnis sederhana simak artikel Peluang usaha rumahan kreasi jilbab yang sangat cocok untuk wanita. Untuk itu baca kontennya disini untuk melihat usaha potensial lainnya. OK, don't forget to Visit here for more information about part time business. And then Read more article in my website about lovebird.

Hello! I know this is kinda.

Hello! I know this is kinda off topic nevertheless I’d figured I’d ask. Would you be interested in exchanging links or maybe guest authoring a blog article or vice-versa? My blog addresses a lot of the same subjects as yours and I think we could greatly benefit from each other.
If you might be interested feel free to send me an email. I look forward to hearing from you! Great blog by the way!

Cara Mengatasi Gatal Pada Kulit Obat Sirosis Hati Herbal Cara Mengatasi Infeksi Saluran Pernapasan Akut Cara Menjadi Agen Green World

It’s an awesome post designed.

It’s an awesome post designed for all the online users; they
will obtain benefit from it I am sure. Cara Mengatasi Infeksi Saluran Pernapasan Akut

i'am visiting this website dailly and obtain fastidious information from here every day. Obat Fatty Liver Herbal

These are really a superb.

These are really a superb showcases here I am glad to have a review of it and feel to roll on its steps for my benefit always

Jisoled Mark.

The second method that Forskolin works is through increasing the levels of thyroid hormone production. Thyroid production is stimulated meaning that our metabolisms are sped up, which in turn, can lead to a loss in weight.

Thanks for sharing the.

Thanks for sharing the information, it is very good and fabulous to see
get info sharing

Sbobet Asia.

You can definitely see your enthusiasm in the work you write. The sector hopes for even more passionate writers such as you who are not afraid to say how they believe. Always follow your heart. Sbobet

looking a good site?visit this site.

Excellent goods from you, man. I’ve understand your stuff previous to and you’re just extremely fantastic. I actually like what you’ve acquired here, really like what you’re stating and the way in which you say it. You make it enjoyable and you still take care of to keep it sensible. I can not wait to read far more from you. This is really a wonderful web sitesbobet

I have already added your.

I have already added your blog link to favorite and have recommended my friends as it is very helpful for us. Usually I don’t like to write the articles but after started going through your articles, I started blogging and the comments I got from my visitors and readers is amazing. I would thank you many a times, may be that would be also less. You are my inspiration

Thanks for taking the time to.

Thanks for taking the time to that, I feel strongly about this and so really like getting to know more on this kind of field. Do you mind updating your blog post with additional insight? It should be really useful for all of us.

Thanks so much for this.

Thanks so much for this information. I have to let you know I concur on several of the points you make here and others may require some further review, but I can see your viewpoint.

Really This is great post ?

Really This is great post ? You either have got quality knowledge of what your discussing or you did some great research. Thanks for this excellent post.Keep posting stuff like this i really like it Interesting read.

You have some really great.

You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I'd love to write some material for your blog in exchange for a link back to mine. Please shoot me an email if interested. Thank you!

Hey very nice blog? Amazing.

Hey very nice blog? Amazing .. I will bookmark your blog I am happy to find so many useful information here in the post, we need develop more strategies in this regard, thanks for sharing.

I am really enjoying reading.

I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Ibcbet

In many associated with.

In many associated with lawyer, you’d discover amounts of taxation as well as business sales providers as well because the majority of the lawyers possess taken care of their own near connect ups with one of these taxation as well as insurance coverage staff. law answers

If you're not marketing.

If you're not marketing yourself or your photography business you'd be left behind. Gone are the days when your website could be found instantly without any marketing whatsoever. Much could be said about photography marketing as there are a variety of marketing modules available. 

The original health brought.

The original health brought to you by tupelo smiles family incomes Medicare mystery keeping your Steven  jobs beautiful healthy and strong is about more than just brushing. dental-nutrition

The key is to start paying.

The key is to start paying attention to what you say to yourself. Your self talk tends to be habitual, so at first you may have to work to be aware of it. It is not, however, unconscious, so you don't need to be hypnotized to access it! When you say words to yourself, you are using the conscious part of your mind

Whenever there is a new born.

Whenever there is a new born in the family, we think about buying special and adorable gifts to show our love. There are so many items for babies but it is only those with premium quality that are worth the money sent. easy baby shopping

Research is the key to.

Research is the key to achieve better results. Never limit yourself to a few stores, but make a detailed research of different online stores. Go through all the special offers available with each store and choose the one with a better offer. Doing so can help you achieve better results.

It seems that more and more.

It seems that more and more of us are journeying long distances by air. A regrettable fact is that for many, the simple pressure of journey reduces the entertainment of the location.This does not have to be. Many everyday living aids are developed to help with journey too. Here are just a few described below. medical centres

This website has very good.

This website has very good content. Please let me know if you're looking for a article author for your weblog. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I'd love to write some material for your blog in exchange for a link back to mine. Please shoot me an email if interested. Thank you! -buy twitter packages

Hats off for publishing this.

Hats off for publishing this unique comments here, would be used always for best outcomes more often, the results would be positive always
[ whole body garcinia cambogia ][ Research Verified Garcinia Cambogia ][ where to buy whole body garcinia cambogia ]

No content is comparable and.

No content is comparable and admirable then this mentioned for the explanations, a must one to read for everyone and get assisted a lot]
[ dr oz garcinia cambogia extract ][ forever garcinia plus ]


Hats off for publishing this unique comments here, would be used always for best outcomes.
No content is comparable and admirable then this mentioned for the explanations, a must one to Garcinium
Great information shared with the users here, if eel delighted with it.
A most trusted one to get onto this platform while reading this article, noteworthy one to read

What an article!! Your.

What an article!! Your content is unique and informative. I love to be on your web page on daily basis. I had bookmarked your address.
[ Garcinium ]
[ Original Garcinia Cambogia ]

Cheap iBeacons.

Even the prettiest websites online aren’t the most successful ones. It takes more than a pretty site with bells and whistles to make a website successful. That is where Syracuse Web Pages comes in, located in Syracuse NY we can offer you a great looking site but one that is easy to use and easy to navigate.Cheap iBeacons

This makes the data mapping.

This makes the data mapping exercise extremely user friendly and gives the users freedom to attach an entry JCB Service Parts Catalog 2012 in the part list with it’s respective image with simple mouse clicks only as Encircle the Image section that needs to be mapped with the data.

Sport betting is the art of.

Sport betting is the art of predicting sports results by placing a bet or wager on the outcome of the specified sporting event. Sport betting is competitive not only for the bettors but also for the sports books, so shop around for the one that offers the type of bets that you are interested in betting on. sportzup.org



pay for term papers.

Phd Students visit on www.writeessaysformoney.biz
For Phd Essay papers Writing Service..

obat tradisional kanker.

obat tradisional kanker pankreas kanker pankreas terjadi karena adanya pertumbuhan sel abnormal pada organ pankreas, seseorang yang memiliki penyakit ini harus berhati hati karena berkemungkinan memiliki penyakit lain seperti gangguan hati dan iver. Bagi masyrakat pemilik penyakit gula, peradangan pada pankreas, obesitas, diabetes dan prokok aktif/pastif sangat rentang terkena penyakit ini.

obat tradisional kanker pankreas
cara order ace maxs

thnaks for information guys,

thnaks for information guys, good job hihi ^^ obat hidrosefalus pada bayi tanpa operasi

obat keputihan.

website leapon.net is the best website I have ever visited

ace maxs.

happy saturday, and keep the spirit alive obat maag

Re: About MS-DOS.

Awesome web.. your post and your theme very perfect..

Thank You.

News are very up to date

Obat Hipertensi.

Every successful person must have a failure. Do not be afraid to fail because failure is a part of success.
Jual Obat Obesitas
Obat Lemak Darah
Obat Turun Panas Anak


If you have never dared to get lost, then you will never find a new path.
obat sakit gigi paling ampuh
obat penyakit hepatitis untuk anak
obat ginjal bocor untuk anak

obat hepatitis.

A wise person is who knows who to believe him. People who are more wise is the one who's always believable.
obat lambung
obat penyakit alergi
obat asam lambung

Start your activities with.

Start your activities with reading Basmallah and end with reading Hamdallah, may blessings always surrounds you.


wah information is very interesting to read, full of knowledge and pengetahuan..thanks yes om admin on our willingness to share very useful

obat sinusitis pada anak | obat gagal jantung untuk anak | obat pendarahan pasca keguguran | obat darah tinggi untuk ibu hamil | obat penyakit kanker hati | pengobatan alami asma pada anak |

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <pre> <i> <b>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Recent comments