CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • contributing on behalf of an organization
Pages: [1]

Author Topic: contributing on behalf of an organization  (Read 943 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
contributing on behalf of an organization
July 21, 2009, 01:24:45 am
Third time lucky? Can the template get tweaked so that "I am contributing on behalf of an organization" sits on its own line rather than after the email field which is an obscure place for it.

And while I am diatribing - would be awesome if the 'on behalf of organisation' could be tied in so that it magically springs to life if the Membership Type?

I think this is probably quite a deep systemic suggestion - since it would mean that membership types could be set to be for 'individuals' or 'organisations' which is certainly how many of our clients operate.

Or at least have it tied in to memberships that have are relationship based between an Org and an Indiv.

Just trying to find a way to ensure the 'on behalf of org' bit isn't skipped as seems to me it could easily be overlooked.

I realise one existing option is to have different Membership pages for Individuals v Orgs - and for the Orgs page to 'require' the 'on behalf of' option.

phew
« Last Edit: July 21, 2009, 02:13:46 am by peterd »
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: contributing on behalf of an organization
July 22, 2009, 09:53:24 am
You can definitely make a custom .tpl where the "on behalf of" box is checked by default, I did so recently.

On CRM/Contribute/Form/Contribution/Main.tpl

change this:
Code: [Select]
{if $form.is_for_organization}   {$form.is_for_organization.html} {$form.is_for_organization.label}
{/if}

to this:
Code: [Select]
{if $form.is_for_organization}&nbsp;&nbsp;&nbsp;<br>
<input onclick="return showHideByValue('is_for_organization','true','for_organization','block','radio',false);" id="is_for_organization" name="is_for_organization" type="checkbox" value="1" class="form-checkbox" checked />&nbsp;<label for="is_for_organization">I am applying on behalf of and as the official delegate of this organization.</label>
{/if}


Alternatively if you could write a javascript so that selecting a certain membership type "onClick" checks this box for you.

And furthermore if you wanted "on behalf of" to always be mandatory, you can change this field from a type="checkbox" to type="hidden" so that it is always on.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • contributing on behalf of an organization

This forum was archived on 2017-11-26.