Skip to main content

GROWING AND SUSTAINING RELATIONSHIPS

GROWING AND SUSTAINING RELATIONSHIPS
Close
Abril Rocabert

Administrator and End-user

http://www.alternativasycapacidades.org

CiviCRM is a powerful tool that could be really useful for many non-profits in Mexico.
Unfortunately the community is very small in my country. I hope that in the next years the community expands around Latin America.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Michal Mach

Core Team Member, Developer, Implementor

CiviCRM, Caltha

http://civicrm.org

I've always been passionate about what non-profits and advocacy groups can achieve using technology. For me, CiviCRM shows an essential example of how non-profit and technology worlds can come together to provide real change - working as community, creating value for yourself, but also for others in non-profit sector.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Adam Wight

Developer

Giant Rabbit

http://giantrabbit.com/

Saves us from writing monstrous, custom database apps.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Andrew Hunt

Implementor, Developer

AGH Strategies

http://aghstrategies.com

CiviCRM allows our clients to have a robust tool for tracking and engaging their supporters that can grow with them. I began as an end user, and now I work with CiviCRM full-time.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Ken West

End-user, Administrator

City Bible Forum

http://citybibleforum.org

City Bible Forum is an Australian not-for-profit Christian organisation. We need to communicate effectively with our constituents, and CiviCRM gives us a comprehensive set of tools for managing relationships. Interestingly, we often find that new features are being added just as our need for those features is becoming apparent. It's the right fit for us.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Jon Goldberg

Implementor

Palante Technology Cooperative

http://palantetech.com

Palante Tech works with social justice organizations on a tight budget to be more effective through technology. CiviCRM allows us to provide a high-quality low-cost database for community organizing, donor and membership management.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Richard Hunter

Administrator, End-user

AustLII

http://www.austlii.edu.au

AustLII is the leader in the free access to law movement and has a philospophical bias towards open source systems. After investigating all the other possible major alternatives it seemed logical to turn to CiviCRM. We have software developer resources, and though it is not core business, we may be able to direct some of these resources towards improving CiviCRM for the community.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Katy Jockelson

Implementor, administrator

Third Sector Design

http://thirdsectordesign.org

We work with non-profits to help them use and understand Civi. It's such an important tool for these organisations and it's great to see people using it in different and interesting ways. Using and working with Civi is made so much more fun and useful by the enthusiastic and talented community surrounding it.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Stacy Liou

Implementor, Developer, Trainer

elMobile Inc.

http://www.elmobile.com

As developers for various OpenSource CRM applications, we learned a lot from CiviCRM on its scalability and ease of customization.
CiviCRM community is truly organic cultivating growth for users and developers.
We wish to continue learning with CiviCRM and to tackle future challenges with CiviCRM.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Coleman Watts

End-user and Developer

Woolman Sierra Friends Center

http://woolman.org

If it weren't for CiviCRM we'd be using at least 5 different
systems for Woolman: one for donor management, another for email newsletters, a third for our school enrollment, a fourth for our summer camp registration, and then a whole bunch of spreadsheets for keeping track of things like event attendance, prospective students, CSA memberships, etc. And of course none of those systems would talk to each other or make it possible to get a whole picture of the many ways one person might participate in our education center's activities. Migrating all of our scattered data and disparate systems to CiviCRM was a long and challenging process, but the results have been more than worth it. Our ability to track and report on our programs has improved dramatically, while the burden on staff to do data entry has been greatly reduced, and our participants are happy that they can now register/enroll online rather than mailing or faxing paper forms.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Kellie Brownell

End-user

EFF

https://www.eff.org

The CiviCRM community has been a tremendous resource for new ideas and helping us solve problems. We are excited to contribute customizations EFF makes back to core and support new features such as batch entry for offline donations or multiple payment processors on one donation form.

GROWING AND SUSTAINING RELATIONSHIPS
Close
Merlise Clyde

End-user, administrator

International Society of Bayesian Analysis

http://bayesian.org

ISBA is an international non-profit society with members from all over the world. We have sections that represent different scientific areas and chapters that represent different regions of the world. Civi Member powers our membership system! We use CiviEvent for Conference and Workship registration, and utilize CiviPetition for creating new sections to our society through member petitions. We are epxloring how CiviGrants can be used to track our travel awards and look forward to features for integrating accounting and finance. As a growing non-profit CiviCRM plays a major role in managing our membership system!

LOGIN | REGISTER
  • Create new account
  • Request new password

Search form

  • BLOG
  • DEMO
  • Find An Expert
  • NEED HELP
  • SUPPORT US
  • DEVELOPER RESOURCES
CiviCRM Community Site logo CiviCRM Community Site
  • WHAT IS CIVICRM
    • Community
    • Case Studies
    • Experts
    • Contributors
    • Core Team
    • Licensing
    • Contact Us
  • WILL CIVICRM MEET YOUR NEEDS?
    • Contacts
    • Contributions
    • Communications
    • Peer-To-Peer Fundraisers
    • Advocacy Campaigns
    • Events
    • Members
    • Reports
    • Case Management
  • GET STARTED
    • Evaluate Your CRM Needs
    • Evaluate CiviCRM Features
    • Read Books
    • Demo CiviCRM
    • Download CiviCRM
    • Find An Expert
  • PARTICIPATE
    • Join the CiviCRM Community
    • Read Our Blog
    • Community Forum
    • Attend a Training or Meetup
    • Make It Happen
    • Contribute
    • Become A CiviCRM Developer
    • Issue Tracker
    • Help with Documentation
    • Translate

You are here

Home » Blogs » xavier's blog

Blog

  • Architecture Series
  • CiviCampaign
  • CiviCase
  • CiviCon
  • CiviContribute
  • CiviCRM
  • CiviCRM API
  • CiviCRM Code Sprint
  • CiviCRM Meetups
  • CiviCRM Release
  • CiviCRM Solutions (case studies and user stories)
  • CiviCRM Team
  • CiviCRM Training
  • CiviCRM v1.6
  • CiviCRM v1.7
  • CiviCRM v1.8
  • CiviCRM v1.9
  • CiviCRM v2.0
  • CiviCRM v2.1
  • CiviCRM v2.2
  • CiviCRM v2.3
  • CiviCRM v3.0
  • CiviCRM v3.1
  • CiviCRM v3.2
  • CiviCRM v3.3
  • CiviCRM v3.4 and v4.0
  • CiviCRM v4.1
  • CiviCRM v4.2
  • CiviEvent
  • CiviMail
  • CiviMember
  • CiviMobile
  • CiviPledge
  • CiviReport
  • Documentation
  • Drupal
  • Extensions
  • Finance and Accounting
  • Interface Design and Layout Standards
  • Internationalization and Localization
  • Joomla
  • Older Versions
  • Schools
  • WordPress

New features on civiEvent 3.2: Name badges and place cards

Submitted by xavier on June 19, 2010 - 06:35

Thanks to the good folks at the Party of European Socialists that sponsored the feature, Tech To the People & CiviCrm have made easier to generate name badges and place cards for your events.

If you ever had to export the list of participants, do a mail merge in word, print it 20 times until the margin and the space between each badge is aligned with the one on your paper, you already know that it's going to save you hours. If you ever had a José or a Åsa and screamed because excel decided to replace é or Å by weird symbols, you definitely are going to love it.

How to use it ?

From the list of participants, you have a new action "print event name badge". Select all the participants you want to print a name badge for, choose the format and voila, you have your pdf, ready to print.

You can also print only one badge from the participant record.

By default, they are 3 formats: Simple (text only), badge with logo and place setting card. It is shipped with the civicrm logo:

Granted, not as charming as the handmade one Lobo had for civiCon 2010, but in 2 clicks, you can generate a pdf with the name badges for all the participants.

How can I change the logo ?

You can easily change the logo by adding a custom directory for your template, and putting the background image you want to use in
templates/CRM/Event/Badge/CRM_Event_Badge_Logo.png for the logo, and in templates/CRM/Event/Badge/CRM_Event_Badge_NameTent.png for the name tent.

We had best results using png, and the image is assumed to be 300dpi (to have a proper result when printed)

How can I change the logo for one event specifically?

Let's say that you have designed a specific logo for the meeting "General Assembly 2011", event number 42. Simply put your logo under
templates/CRM/Event/Badge/42/CRM_Event_Badge_Logo.png and voila, it will use it.

How can I change the format and print different information?

You will need to code a little bit to print the data you want in the space you want.

You need first to go to the admin interface:
http://example.org/civicrm/admin/options/event_badge?group=event_badge&reset=1
And add a new format, with a class name CRM_Event_Badge_{yourname}.

You then have to create that class in CRM/Event/Badge/CRM_Event_Badge_{yourname}.php

Say that you want to create a new template that has only one badge per page, but that prints it on both side (one of the side has to be upside down).

Your class inherits from CRM_Event_Badge, that does most of the work. You simply have to code the function generateLabel, with the layout you want. You might also override the constructor, for instance if you want to set a different page format or a different number of columns and row for your namebadges.

require_once 'CRM/Event/Badge.php';
require_once 'CRM/Utils/Date.php';

class CRM_Event_Badge_W7100 extends CRM_Event_Badge {

  function __construct() {
      parent::__construct();
      $pw=105; $this->ph=148;// A6 105 x 148
      $w=85; $h=60;
      $lMargin = ($pw-$w)/2;
      $tMargin = ($this->ph-$h*2)/2;
      // this is the same parameters as for the labels
      $this->format = array('name' => 'W7100', 'paper-size' => 'A6', 'metric' => 'mm', 'lMargin' =>$lMargin, 'tMargin' => $tMargin, 'NX' => 1, 'NY' => 1, 'SpaceX' => 0, 'SpaceY' => 0,'width' => $w, 'height' => $h, 'font-size' => 12);
      $this->lMarginLogo = 5;
      $this->tMarginName = 30;
      //very useful during the development, it puts a border around the name badges and around most of the blocks of text
      $this->setDebug ();
   }


    public function generateLabel($participant) {
        $this->writeOneSide($participant);
        $this->pdf->StartTransform();
        $this->pdf->Rotate (180, $this->pdf->width/2+$this->pdf->marginLeft, $this->pdf->height+$this->pdf->marginTop);
        $this->writeOneSide($participant);
        $this->pdf->StopTransform();
   }

   public function writeOneSide($participant) {
     $x = $this->pdf->marginLeft;
     $y = $this->ph/2;
     $this->pdf->SetXY($x,$y);
     $this->printBackground (true);

     $this->pdf->SetFontSize(8);
     $this->pdf->MultiCell ($this->pdf->width, 0, $this->event->title ,$this->border,"L",0,1,$x ,$y+$this->pdf->height-6);

     $this->pdf->SetXY($x,$y+$this->pdf->height-5);
     $date = CRM_Utils_Date::customFormat($this->event->start_date, "%e %b");
     $this->pdf->Cell ($this->pdf->width, 0, $date ,$this->border,2,"R");

     $this->pdf->SetFontSize(15);
     $this->pdf->MultiCell ($this->pdf->width,10, $participant['first_name']. " ".$participant['last_name'] ,$this->border,"C",0,1,$x ,$y+$this->tMarginName);
     $this->pdf->SetFontSize(10);
     $this->pdf->MultiCell ($this->pdf->width, 0, $participant['current_employer'] ,$this->border,"C",0,1,$x,$this->pdf->getY()-3);
   }

}

The array $participant contains a lot of fields beside the first and last name, and you might want to print the country of the participant, or have a different layout based on the role (eg the speakers and hosts have a different logo than the volunteers).

AttachmentSize
LoboBadge.png7.6 KB
Badges.png13.65 KB
civicon2010.JPG28.14 KB
  • xavier's blog
  • Log in or register to post comments

Comments

Kudos for contributing a much requested feature!

Permalink Submitted by Dave Greenberg on June 29, 2010 - 12:27

Event name badges have been on lots of folks wish-lists for several years. Really great that the Party of European Socialists and Tech to the People stepped up to make this happen!

  • Log in or register to post comments

How to select and print multiple badges

Permalink Submitted by Ira (not verified) on September 8, 2011 - 09:11

How can you print multiple badges on CiviCRM? Your instructions are not clear of how to do what.

  • Log in or register to post comments

CIVICRM


GROWING AND SUSTAINING RELATIONSHIPS

WHAT IS CIVICRM
  • Community
  • Case Studies
  • Experts
  • Contributors
  • Core Team
  • Licensing
  • Contact Us
WILL CIVICRM MEET YOUR NEEDS?
  • Contacts
  • Contributions
  • Communications
  • Peer-To-Peer Fundraisers
  • Advocacy Campaigns
  • Events
  • Members
  • Reports
  • Case Management
GET STARTED
  • Evaluate Your CRM Needs
  • Evaluate CiviCRM Features
  • Read Books
  • Documentation
  • Demo CiviCRM
  • Download CiviCRM
  • Find An Expert
PARTICIPATE
  • Join the CiviCRM Community
  • Read Our Blog
  • Community Forum
  • Attend a Training or Meetup
  • Make It Happen
  • Contribute
  • Become A CiviCRM Developer
  • Issue Tracker
  • Help with Documentation
  • Translate