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) »
  • Event Info page showing all Event Fees -- Can't we hide them?
Pages: [1]

Author Topic: Event Info page showing all Event Fees -- Can't we hide them?  (Read 859 times)

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Event Info page showing all Event Fees -- Can't we hide them?
July 08, 2011, 07:11:27 am
Hi all,

I'm creating a signup page for exhibitors for a conference, and so far I've managed to get CiviEvents to do what I want. . .mostly.  I accomplished these by using a custom Price Set.

My coworker asked me to create the following fields for entry:

1) A Text Box for exhibitors to enter their preferred booth space
2) A Drop-down list of Sponsorship options
3) A Checkbox for exhibitors to agree to our Terms & Conditions

Since I was creating these in a Price Set, naturally #1 and #3 didn't have a price, so I was able to hide the price from the registration page.  Take a look at Attachment #1, called "Image Numero 1" to see what I mean.


Usually, I'm glad to see that the Event Info page for my events shows the fee for the event.  However, in this case it's showing off everything in the Price Set.  Take a look at Attachment #2, called "Image Numero 2" to see what I mean.

I understand that this is likely just part of how CiviEvents usually operates.  But, is there some way I can stop those extra descriptions from showing up on the Event Info Page?  It looks rather silly to show "I agree to the Terms and Conditions.       $0.00" on the info page that we want to share with potential registrants.

Info you need to know:

I am running CiviCRM 3.2.3, on a Drupal CMS running 6.19.  Any help is of course, appreciated :)

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
Re: Event Info page showing all Event Fees -- Can't we hide them?
July 08, 2011, 02:29:59 pm
we had a similar issue as the Price Sets show prices for date specific options without showing the dates - so we just commented out the whole caboodle
in line  approx 119 to 139 starting
Code: [Select]
{* {if $event.is_monetary eq 1 && $feeBlock.value}in /CRM/Event/Page/EventInfo.tpl
so of course this needs to be a copy of the original file in you custom templates dir
and note this is Smarty template hence it need {* to comment rather than \* as I understand it

good luck

btw - was there a reason to have the 'i agree' in the price set, rather than as a Participant Field? PRobably nothing wrong with it - just wondering if there was an advantage in doing it this way
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

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Event Info page showing all Event Fees -- Can't we hide them?
July 10, 2011, 06:04:38 am
Could also be done this way:

http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

nealzarka

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: civicrm 4
  • CMS version: drupal 7
  • MySQL version: 5.0.92-community-log
  • PHP version: 5.2.9
Re: Event Info page showing all Event Fees -- Can't we hide them?
July 11, 2011, 03:18:28 am
yes i had the same problem after customise a pricelist to make a title,
what I did is a html at the top of the info page where you put a nice table with prices,
 and hide the generated fee list in css with a display:none

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: Event Info page showing all Event Fees -- Can't we hide them?
July 11, 2011, 07:12:39 am
Quote from: petednz on July 08, 2011, 02:29:59 pm
btw - was there a reason to have the 'i agree' in the price set, rather than as a Participant Field? PRobably nothing wrong with it - just wondering if there was an advantage in doing it this way

Originally I was doing that for consistency's sake with the form, but you bring a fantastic point -- I will add it to my custom CiviCRM profile and try to go from there.

I'm going to still use your advice to hide the prices -- we're offering registrants the ability to sponsor the event (which is something I have in the price set), and it just looks confusing having it tacked on underneath the original cost of the event.  I will report back when I have this fixed.  Thank you!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event Info page showing all Event Fees -- Can't we hide them?

This forum was archived on 2017-11-26.