Drupal Custom Error Module Upgraded for 4.7
The custom error module for Drupal has been upgraded for the new 4.7 Form API. Thanks to Markus Petrux for provided a patch.
The custom error module for Drupal has been upgraded for the new 4.7 Form API. Thanks to Markus Petrux for provided a patch.
The Drupal Adsense module has been updated to work with the upcoming 4.7 version of Drupal.
While you are here, make sure you check the Google Adsense resources for Drupal for tips, hints, and more
This update was sponsored by Scribendi.
The title should really read: "Distant relatives finding you via the internet" ...Running a web site is an experience that is full of surprises.One pleasant surprise is when someone reads your web site and discovers that they are a relative of you, and gets in touch with you for details.About a year ago, I had someone contact me after reading the paternal side of my ancestry. He is living in the village my father is from. After some emails, we discovered that my paternal grandfather and his paternal grandfather are brothers.
In a comment on a previous post, Marco pointed out to a page on his site were he used Google searching to uncover Drupal sites on the web based on two criteria. In early November 2005, he found 54,700 Drupal sites based on this search. See his Drupal.org post on this. This same search today says that there are 60,700 sites.
I got this in my inbox yesterday:
Dear Sir, We know you from Internet. We are one of the strongest oil paintings supplier in China. Following is the wholesale price for the paintings from our website url deleted. 20 x 24 inches on canvas ... US$4.95 for each 24 x 36 inches on canvas ... US$7.95 for each 36 x 48 inches on canvas ... US$14.95 for each All the paintings are reproduced and handmade on canvas by our artists. And also the custom painting is acceptable. If you have interest,please contact me. I will reply you as soon as possible! We hope hear from you soon! Yours sincerely, Shirley
A often repeated fallacy is that Windows is more prone to security vulnerabilities because it has the largest installed base among desktops and servers, both at home and in the corporate world. The fallacy says that if Linux and Apple had a similarly large installed base, they would also be found to be vulnerable.This claim seems to be widespread even among those who are technically savvy. The facts do contradict this claim. For example, Apache is the most widely used web server on the internet, with more web sites running it than all others combined. Apache is not found to be prone to attacks and security issues as much as Microsoft IIS for example.
In Dubai, UAE, the largest snowdome in the world has opened. Complete with an indoor ski slope, it has to stay at -2C while temperature outside exceeds +40C in summer. Its cost is 272 million US dollars.And here I am in Southern Ontario, where it is snowing outside as I type this, and wondering why would anyone want snow when they have warm weather?
Darrel O'Pry posted this gem on the Drupal Themes mailing list, and it deserves to be publicized.Paste this in your page.tpl.php below the <body> tag, to see what functions are available for you, the theme developer. <ul> <?php $functions = get_defined_functions(); foreach($functions['user'] as $function) : print "<li>$function</li>"; endforeach; ?> </ul> Similarly, one can use the get_defined_vars() and get_defined_constants() to see what variables are available.
In a recent article, I stated that the latest adsense.module has integrated section targeting.Today, I explain how to modify your theme so that section targeting applies to comments as well.I am assuming that you will be using a phptemplate based theme.What you need is to modify the comment.tpl.php for your theme. This should look something like this: <div class="comment"> <?php if ($picture) : ?> <?php print $picture; ?> <?php endif; ?> <h3 class="title"><?php print $title; ?></h3> <?php if ($new != '') : ?> <span class="new"><?php print $new; ?></span> <?php endif; ?> <div class="submitted"><?php print $submitted; ?></div> <div class="content"><?php print $content; ?></div> <div class="links">» <?php print $links; ?></div></div> What you need to do is wrap the content part in the section tags, like so:
I have never kept track of what languages my modules are translated to. However, last week, I got a language code that I had to look up, despite my above average familiarity with linguistics in general!
The language code was CA, which when used as a country code stands for Canada, but is also used for California. It turns out that as a language code, it stands for Catalan, a language that I am aware of, but not the language code. The language shares its name with the region of Catalonia in South Eastern Spain. The language is spoken or understood by some10 million people.
Various little bits of information ...
Most Comments
Most commented on articles ...