You are here


Calendar Event Countdown Display with CSS

Submitted by Jerimee on January 11, 2012 - 9:07pm

I made minor modifications to the CSS provided here to style an event countdown ("Only 5 days until...") for HK Activists. The HTML is simple; we just need the selectors for the CSS to act upon. Some of the CSS is newfangled CSS3, and the display looks fine without CSS3 too.

The display has been (briefly) tested in the latest versions of Safari, Chrome, IE, and Firefox as of January 2012.

My result:

My HTML (note that "<?php print $daysuntil; ?>" should be replaced with your number or variable outputting the number of days left):

Here's to a Strong 2012!

Submitted by Meredith on January 5, 2012 - 5:25pm

As 2012 begins, Richir Outreach is taking a moment to reflect. It's been a busy year for us! In addition to all the work we’ve done for our clients, we’ve also given our own website a complete redesign, and welcomed several new members to our team.

We’ve really enjoyed all the work we’ve done this year, and are proud of our ever-expanding portfolio and all of the clients in it. Most of all we feel honored to have been a part of so many important advocacy efforts in North Carolina and across the country.

Our passionate clients and the causes they advance are what motivate us to get out of bed in the morning and work hard. So, we want to thank you for using Richir Outreach for your online campaigning, fundraising and communication strategies. We look forward to working with you in 2012.

Wishing you a Happy New Year!

Web Troubleshooting 101: Hard Refresh and Cache Clearing

Submitted by Meredith on December 28, 2011 - 10:59am

Worried that something is wrong with your web page? Are elements loading oddly or not at all? Don’t panic! There are a few easy fixes that might solve your problem in a snap.

As you browse the Internet, your web browser downloads elements of the web pages you view often and stores them on your computer in a cache. This was designed as a way to improve your browsing experience - your web browser accesses the cache on your computer instead of the server so that your page will load faster.

However, if you are making frequent changes to a web page, this same caching mechanism can sometimes cause confusion. Some changed elements on your page may load and some may not because your browser is still using the older, cached version of your site rather than your updated version. Even after a normal refresh in the browser your page may still look wrong.

Client Spotlight: Action NC

Submitted by Jerimee on December 20, 2011 - 7:16pm

Grassroots and community organization is as old as our country. The American Revolution, abolition, social reform, women’s suffrage, and civil rights all started out as organic movements sprouting from the community. In 1912, Indiana Senator, Albert Jeremiah Beveridge, said of the newly formed Progressive Party that "This party has come from the grass roots. It has grown from the soil of people's hard necessities." That’s what it means to be grassroots. A need germinates in the hearts of the people to the point where the people can no longer sit back and be silent. Something needs to happen and somebody, some people, need to step up to the plate. That’s what gives birth to change. That’s what Action NC is all about.

Embedding Google Forms

Submitted by Jerimee on October 28, 2011 - 1:56pm

For organizations who might be on a tight budget, or need to get a form or survey up quickly, there is always the option of embedding a Google Form on your site. The form will actually take in the information from your site and put it into a Google Spreadsheet so that it is available for you to analyze. Here's how it works:

How to create a form:

To create a Google form, you of course need to have a Google account. From your Gmail account, click on Documents in the top navigation bar. Next, click on [Create new] and select form. Fill in the information for your form, including title, text or instructions, questions, etc. To add more questions, click on [Add item] and select what you would like to add. In this dropdown, you can also add section headers and pagebreaks if you have a large amount of data to collect and need to make it feel more organized. You can always go back and edit or add questions, so don't worry if you're not sure what you want on the form.

How is NationBuilder different?

Submitted by Jerimee on October 7, 2011 - 12:18pm

As an independent developer, we love our NationBuilder clients! Here's how NationBuilder is different than other online organizing tools:

Cross-posted from

How is NationBuilder different?


NationBuilder is a unique nonpartisan platform for organizing, bringing together a comprehensive suite of tools that today's leaders and creators need to gather their tribes.

Custom Triggers in Drupal

Submitted by Jerimee on October 7, 2011 - 8:34pm

Drupal allows you to define actions that will occur when specific system events occur. Those system events are called triggers. With some code you can add new triggers.

A default trigger is "New content submitted." That was too broad for my need, so I added a trigger "New content of type blogpost."

I found the instructions I needed at Scott Hadfield's blog post, "Creating Custom Triggers in Drupal".

The code below is a copy of his with one a simple change. Scott's cck content type is "script" and his module is also called "script." That is really confusing.

In my vesion, the custom code module is called customtrigger and my content type is called blogpost. Here is the code:

Fine-tuning videos in NationBuilder

Submitted by Kate on October 5, 2011 - 3:32pm

NationBuilder uses, a service that lets you embed media with only a URL. That means no crazy embed code to fuss with, just the URL from your browser's address bar. That also means that you have limited control over the size of your media, especially videos. But what if you want to make your video bigger or smaller? We've got you covered.

NOTE: this tutorial explains how to add a YouTube video before or after the main content of a basic HTML page. To add your video to a different type of page or in a different place on the page, you'll have to dig a little deeper in the template.

Create a basic HTML page and add whatever content you would like in the Content tab. Don't add your video URL just yet, but go ahead and save your work.

On the YouTube page of the video you want to add, grab the embed code, selecting whatever size you'd like:

Get Money Out and NationBuilder

Submitted by Jerimee on October 4, 2011 - 1:55pm

A week ago, MSNBC host Dylan Ratigan sent out a call: Let’s Get Money Out of Politics! Dylan commissioned long-time Washington lobbyist, Jimmy William, to create a constitutional amendment to separate money from political races. The draft reads as follows:

"No person, corporation or business entity of any type, domestic or foreign, shall be allowed to contribute money, directly or indirectly, to any candidate for Federal office or to contribute money on behalf of or opposed to any type of campaign for Federal office. Notwithstanding any other provision of law, campaign contributions to candidates for Federal office shall not constitute speech of any kind as guaranteed by the U.S. Constitution or any amendment to the U.S. Constitution. Congress shall set forth a federal holiday for the purposes of voting for candidates for Federal office."