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 CiviEvent (Moderator: Yashodha Chaku) »
  • Modify $form.amount.html for Event
Pages: [1]

Author Topic: Modify $form.amount.html for Event  (Read 1663 times)

yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
Modify $form.amount.html for Event
August 01, 2009, 02:42:49 pm
Howdy.

Wow the custom template architecture of CiviCRM is awesome, after mucking about with the core files to adjust layout (doh) I stumbled on the custom templates... ruddy marvellous, good job whoever that was :)

There is one element I want to adjust slightly and am having trouble tracking it down, I am hoping to make a small modification to the layout of an event registration, Register.tpl has the object "$form.amount.html", I would like to reorder the elements within $form.amount.html but cannot for the life of me find where to do that.

I see it is mentioned here http://forum.civicrm.org/index.php/topic,3389.0.html but that is in relation to Contributions and I haven’t found an equivalent file for Events.

Could someone steer me in the right direction please?

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: Modify $form.amount.html for Event
August 01, 2009, 04:40:16 pm

u probably can do this by adjustig the amounts array. check the buildAmount hook:

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification
http://civicrm.org/node/547

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) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Modify $form.amount.html for Event

This forum was archived on 2017-11-26.