Display different fees

  • qrm_master
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #10314 by qrm_master
Display different fees was created by qrm_master
Hello,

is there any way in the event properties display to show two different event fees. It should look something like this:

Event date: 08-09-2011 12:00 AM
Event End Date: 08-10-2011 12:00 AM
Capacity: Unlimited
Registered: 0
Fee: $600
Member fee: $300

When people sign up they would choose the correct fee via custom field and we would police the membership offline.

Thanks,
HP

Please Log in or Create an account to join the conversation.

  • qrm_master
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #10371 by qrm_master
Replied by qrm_master on topic Re: Display different fees
Anybody able to respond? I really need to know, so that I can determine if Event Booking is of further use to me (I actually purchased the component.)

Thank you,
HP

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #10374 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Display different fees
Hi

I am sorry for lately response. I think it is possible. The solution is using custom field in event booking (custom fields for Events, not custom fields for registration form) . The steps is as follow :

1. Go to Event Booking -> Configuration, looks at Event Custom Field config option and set it to Yes .

2. Edit the XML file at components/com_eventbooking/fields.xml, set content of that field to :
Code:
<?xml version="1.0" encoding="UTF-8"?> <config> <params> <param name="member_fee" type="text" label="Member Fee" size="50" description="Member Fee"></param> </params> </config>


3. Now when you add/edit an event, you will see a new tab called "Extra Information", you will see Member Fee field and you will be able to enter a value for it. This value will be showed from front-end .

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • qrm_master
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #10386 by qrm_master
Replied by qrm_master on topic Re: Display different fees
Thanks for the response. I did as you said (set Event Custom Field to Yes, added code to xml file).

The new member fee field appears in the "Extra Information" tab in the backend. However, it is not displayed on the frontend (see: qrmcentertest.engr.wisc.edu/index.php?op...w=category&Itemid=98 ).

Is there another setting I have to change?

Thanks,
HP

Please Log in or Create an account to join the conversation.

  • qrm_master
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #10394 by qrm_master
Replied by qrm_master on topic Re: Display different fees
I just wanted to add to my comment above: the new member fee field does appear on the frontend but NOT in the categories view (see my link above) and NOT when I show it with the Event plugin (see here: qrmcentertest.engr.wisc.edu/index.php?op...blog&id=47&Itemid=65 ).

I think it would actually be a nice future feature to be able to customize the "Events property" view with other information such as different fees, name of the speaker and so on. Obviously, all the information needs to be displayed consistently across all the different view options.

Thanks,
HP

Please Log in or Create an account to join the conversation.

  • qrm_master
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 9 months ago #10459 by qrm_master
Replied by qrm_master on topic Re: Display different fees
Hello? Any response to this would me much appreciated.

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #10506 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Display different fees
Hi

The information of custom field is not displayed in Event List page, it is only displayed on Event Detail page ( qrmcentertest.engr.wisc.edu/index.php?op...event_id=1&Itemid=98 ) . To make it display on the Event List page, we will need to modify some code . Can you have a look at the code at components/com_eventbooking/views/event folder and try to implement it to Events List page (components/com_eventbooking/views/category folder) . I hope you know some basic Joomla / PHP coding to be able to modify this !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc