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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • LineItem.tpl has totals running into each other
Pages: [1]

Author Topic: LineItem.tpl has totals running into each other  (Read 1513 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
LineItem.tpl has totals running into each other
March 07, 2013, 03:42:50 am
On the Thankyou page for an Event rego, the LineItem.tpl causes the "Event Total" and "Total Participants" to run into each other.

    eg,    Event Total: $ 110.00Total Participants: 2Transaction Date: March 7th, 2013 10:23 PM

The CSS class is ".content" which "float: left;". Need to add a ".clear" DIV to put each on a new line.

The patch is ...

Quote
--- CRM/Price/Page/LineItem.tpl   2013-02-09 00:15:33.000000000 +1100
+++ CRM/Price/Page/LineItem.tpl   2013-03-07 22:14:48.500957886 +1100
@@ -75,6 +75,7 @@
         {/if}
     {$totalAmount|crmMoney}
     </div>
+    <div class="clear"></div>
     <div class="content bold">
       {if $pricesetFieldsCount}
       {ts}Total Participants{/ts}:
@@ -93,7 +94,8 @@
       {/foreach}
       {$totalcount}
       {/if}
-     </div>
+    </div>
+    <div class="clear"></div>
 </div>
 
 {if $hookDiscount.message}

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: LineItem.tpl has totals running into each other
March 07, 2013, 12:16:30 pm

Hey Ken:

1. can you please check if this happens in the 4.3 series also?

2. If so, can you please file an issue and attach the patch. We prefer that all patches come in via the issue tracker rather than the forums

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

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: LineItem.tpl has totals running into each other
March 08, 2013, 01:09:43 am
Lobo,

The patch is for 4.3, but I have the same behaviour in 4.2.7. I created issue CRM-12058 with the patch attached.

Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • LineItem.tpl has totals running into each other

This forum was archived on 2017-11-26.