Newsfeeds
Modules Quickjump
I get fed up with scrolling down the modules admin page looking for the right module to enable/disable. This module injects a tiny javascript into the page head that adds a drop down to local menus. This then allows a quick jump to sections in the page.
Shortcode
Provides a shortcode API and basic shortcodes through Drupal filters.
Initial works based on the Wordpress Shortcode API but I rewritten it for the drupal and solved the nested tag problem. Now you can nesting tags (same tags too) no need special recursion handling.
All tags can be themeable and you can make tags in your module.
Shortcode
Provides a shortcode API and basic shortcodes through Drupal filters.
Initial works based on the Wordpress Shortcode API but I rewritten it for the drupal and solved the nested tag problem. Now you can nesting tags (same tags too) no need special recursion handling.
All tags can be themeable and you can make tags in your module.
Taxonomy Machine Names
This module's audience is developers who require machine names for taxonomy vocabularies, including views support. This module allows existing (and new) installations to continue using the Drupal 6 taxonomy API while gaining the benefits of vocabulary machine names.
As such, it should play nice with any taxonomy related modules (such as those that provide import / export features, etc...)
BackgroundTaxonomies are a bit of an issue to deal with in Drupal, specifically in terms of using them in install profile or update hooks, team development, and deployment through environments.
There are a few modules out there which try to get around this issue. However, they are limited in a number of ways. Currently there are 3 methods I can see in trying to solve this. This module goes with #3.
- Use existing modules (such as features_extras or exportables). This provides taxonomy (among other) machine name support, however, it can require multi-module dependencies, and typically require additional calls while programming. As well, there is typically no views support to remove "vid"s from view exports.
Taxonomy Machine Names
This module's audience is developers who require machine names for taxonomy vocabularies, including views support. This module allows existing (and new) installations to continue using the Drupal 6 taxonomy API while gaining the benefits of vocabulary machine names.
As such, it should play nice with any taxonomy related modules (such as those that provide import / export features, etc...)
BackgroundTaxonomies are a bit of an issue to deal with in Drupal, specifically in terms of using them in install profile or update hooks, team development, and deployment through environments.
There are a few modules out there which try to get around this issue. However, they are limited in a number of ways. Currently there are 3 methods I can see in trying to solve this. This module goes with #3.
- Use existing modules (such as features_extras or exportables). This provides taxonomy (among other) machine name support, however, it can require multi-module dependencies, and typically require additional calls while programming. As well, there is typically no views support to remove "vid"s from view exports.
DrupalCon Chicago 2011: Now Seeking Trainers for DrupalCon Chicago
It’s by sharing knowledge with others that the Drupal community continues to grow and flourish. In that spirit, DrupalCon Chicago will be offering pre-conference training courses and workshops to attendees interested in gaining additional hands-on knowledge on a variety of topics related to Web and Drupal development. We are looking for talented, professional trainers who can share their knowledge at pre-conference training courses and workshops.
These courses will take place on March 7, 2011, before the main conference begins and will be held in the classroom facilities of the University of Chicago’s Gleacher Center, located steps from the conference venue. We are looking for sessions and workshops that touch on all aspects of Web development, from Drupal site-building, module development, user experience design, and beyond.
EchoDitto Tech Blog: Tutorial: How to Group Fields in Views With a Div or Span Tag
This is a howto for wrapping a div around a few of your view fields (and not others). This is useful, for instance, for being able to group all one's content so that it floats left but does not float around an image.
First, create a template for your view.
Create a template file in your theme directory with the same name as the views and paste the code from the level of specificity that you desire. For more information, read this introduction to views template files.
Here is the code from the stock Row Style Output:
EmmaJane: New Ebook: Code-Free Layout with Skinr, Fusion and Panels
Earlier this year I delivered a series of talks and workshops on how to use "advanced" modules to create Drupal layouts without ever having to crack open a PHP file. The slides from my CMS Expo talk "Advanced Design for Drupal" were uploaded to SlideShare. Now, for the first time ever, the notes from this talk (which became a three-week workshop) are available for sale.
Chuck Norris
Chuck Norris ordered a Big Mac at Burger King, and got one.
Module DescriptionMinimal feature set: creates a block with random Chuck Norris "facts". Could be used to display in admin UI to prevent admins from falling asleep while administering boring Drupal sites.
Soliciting IdeasWe are pretty sure Chuck Norris deserves a dedicated module and have some ideas about what the module functionality should be. However, Chuck Norris is too much for a single brain to comprehend, therefore we ask the community to contribute ideas for the Chuck Norris module.
cheers.
Chuck Norris
Chuck Norris ordered a Big Mac at Burger King, and got one.
Module DescriptionMinimal feature set: creates a block with random Chuck Norris "facts". Could be used to display in admin UI to prevent admins from falling asleep while administering boring Drupal sites.
Soliciting IdeasWe are pretty sure Chuck Norris deserves a dedicated module and have some ideas about what the module functionality should be. However, Chuck Norris is too much for a single brain to comprehend, therefore we ask the community to contribute ideas for the Chuck Norris module.
cheers.
Lullabot: Drupal Voices 159: John Albin Wilkins on Drupal 7 Theming
John Albin Wilkins (aka JohnAlbin) talks about some of the new extensions to the theming system that are new in Drupal 7 including render elements, hook_page_alter(), show, hide, theme_get_suggestions(), and improvements to theme_links(). He also talks about the theme administration page overhaul, how it's now a lot easier to create "mega-menus" dropdown panels when hovering over the primary navigation, as well as another presentation that Palantir gave on previewing Drupal 7.
Flag Lists
Flag Lists is in the early stages of development and should not be installed unless you're helping to work on it. Please help!
Flag lists allows a user to create personal flags that only he can use. For example, on a site with a content type "cars" you could make one list called "Favorite front-wheel drive cars" and another for rear or 4-wheel drive.
Requires Flag version 2 and the patch here #750578: Patch creates hook_flag_delete() and uses db_rewrite_sql on flag_get_flags() but this all may change.
Flag Lists
Flag Lists is in the early stages of development and should not be installed unless you're helping to work on it. Please help!
Flag lists allows a user to create personal flags that only he can use. For example, on a site with a content type "cars" you could make one list called "Favorite front-wheel drive cars" and another for rear or 4-wheel drive.
Requires Flag version 2 and the patch here #750578: Patch creates hook_flag_delete() and uses db_rewrite_sql on flag_get_flags() but this all may change.
Reinvigorate
Reinvigorate is a simple, real-time web analytics + heatmaps solution that measures your influence on the web. This module provides an easy to use interface to adding reinvigorate tracking to your Drupal site.
Read more at their website.
This module will be released soon, just spiffing up the admin, and checking coding standards.
Layar Module
A module that allows you to display your location nodes in the Layar Augmented Reality App.
It's a Views based module that uses a style and filter plug-in to create the Layar compatible JSON from your nodes. Create your views and then create a "Layar" node and select the views you want to include in your Layer, View the the node and your Points of Interest URL is displayed. Which you can then use on the Layar website as the server for your Layer.
John Albin Wilkins: A complete idiot’s guide to git-svn-migrate, 3 steps to batch convert Subversion to Git
If you read my previous post about converting Subversion repositories to git, you’ll know that to do a proper Subversion-to-Git transformation on a batch of repositories is going to take some time (what with all that command line typing). I had 142 legacy project Subversion repositories lying around I wanted converted to Git and, since I’m lazy, I pulled on my bash boots and wrote me a script to do the work!
With the git-svn-migrate scripts I wrote, you can batch convert all of your Subversion repositories in just 3 steps. And I’ve GPLed them and put them on GitHub if you’d like to collaborate and improve them; see the git-svn-migrate project page.
git-svn-migrate: a reverse glue factory
Researchers develop simulation to better understand the effects of sound on marine life
Matthew Saunders: Drupalcon CPH - Sharpen your Axe
Richard Jones of iKos gave a presentation on simplifying and streamlining the development of Drupal sites. His team observed that they were creating the same basic sites over and over again. To this end, rather than starting from scratch each and every time, the team created basic sites to start from and rapidly built out the basic site for a client in several weeks. This allows the client to start entering data early in the process - which means come theming time, you are working against real client data. This is a plus when you are trying to achieve the results your client is seeking. In the iKos model, design comes last and is somewhat subject to the functionality that has been developed.
iKos set the the goal to reduce Drupal development time by 80% - to radically reduced the repeated effort that the company engaged project after project. They created a model of a site "startpoint" that begins each new client effort.
Dale McGladdery: Creating and Updating Nodes Programmatically in Drupal 7
The steps for programmatically creating a node are:
- Create a PHP object representing the node data
- Save the object using the node_save() function
While the mechanics are simple, there is an important responsibility involved. The Drupal work flow does data validation before calling the node_save() function; node_save() does no validation. By calling node_save() directly your code takes the responsibility for providing valid data.
Drupal 7 ChangesA quick note for those of you familiar with Drupal 6. You'll notice two changes in Drupal 7:
Body Field Is No Longer Special
In Drupal 6 the body field was special. Specifically, it had a different data structure than other fields and it always existed, even if it wasn't used. With Drupal 7 the body field is a standard field provided by core and is truly optional.
Language
Language specification is required for the node and some fields.
Basic Node CreationThe following code assumes an unchanged Drupal 7 Standard installation and will create a Drupal 7 article node.