I just committed the initial development version of a Drupal module I recently created for a client. The module, OG Invite Restrict, allows a site administrator to restrict thier users' ability to invite people to groups to only current users.
Normally, the organic groups' (OG) invite functionality allows users to enter both usernames and email addresses on the invite form. In some cases, a site administrator may want to limit entry to only current users.
The module not only restricts the form to only usernames, it also adds autocomplete to the username field.
Thanks to Ozmosis for sponsoring development of this module.
Ever need to create additional search blocks for your Drupal installation? One use might be so that you can theme or position the block differently depending on which page the block appears on.
It's actually quite easy to do - all you need to do is create a new module that implements "hook_block" and then create a new block and call the "search_box" function (from search.module) to populate the box with the correct form elements. Here's the code:
Everytime I have to dig a little deeper into the views module, I'm always more and more impressed with the thought that went into the module by Earl Miles and the other authors. A recently had a request from a client to modify the "more" link that is shown at the bottom of blocks that are generated by views.
Let me start this post by saying that I'm not an expert on Search Engine Optimization (SEO). I do know the basics about Google's PageRank and keywords, but I've made it a point in the past few months to start getting to know some of the various Drupal modules that can assist in SEO.
SEO is at best an artform. If you're looking for strategies that will guarantee your site a top ranking on Google, you've come to the wrong place.