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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How do I add supplemental_address to BillingBlock.tpl?
Pages: [1]

Author Topic: How do I add supplemental_address to BillingBlock.tpl?  (Read 801 times)

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
How do I add supplemental_address to BillingBlock.tpl?
March 26, 2010, 03:08:28 pm
I've tried this:

Code: [Select]
                        {assign var=n value=billing_supplemental_address_1-$bltID}
                        <tr>
                            <td class="label">{$form.$n.label}</td>
                            <td>{$form.$n.html}</td>
                        </tr> 

With no results.  There is no corresponding BillingBlock.tpl so I'm not sure where to look to make further edits.

Ideas?
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How do I add supplemental_address to BillingBlock.tpl?
March 26, 2010, 03:23:38 pm

you will also need to modify:

CRM/Core/Payment/Form.php, function _setPaymentFields

thanx

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How do I add supplemental_address to BillingBlock.tpl?

This forum was archived on 2017-11-26.