Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Fee Field Not Working

Fee Field Not Working 9 years 4 months ago #24730

  • kinesgirl
  • kinesgirl's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I tried this: 0.0|0.0|30.0|40.0|80.0 for my five radio values.
No success; same error message. "Please enter no more than 0 characters."

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

Fee Field Not Working 9 years 4 months ago #24731

  • w2kd
  • w2kd's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 88
  • Thank you received: 1
Seems to be related to the type of field.
Have solved the issue by this change

I change the file /administrator/components/com_dtregister/views/event/tmpl/add.php as the maxlength was not set
Line 382
From

<input class="text_area" type="text" name="fees" size="50" maxlength="" value="<?php echo implode("|",$row->fees) ;?>" <?php if((!$row->type) || ($row->type==2)) echo "disabled"; ?> />

to

<input class="text_area" type="text" name="fees" size="50" maxlength="250" value="<?php echo implode("|",$row->fees) ;?>" <?php if((!$row->type) || ($row->type==2)) echo "disabled"; ?> />

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

Fee Field Not Working 9 years 4 months ago #24732

  • kinesgirl
  • kinesgirl's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Thanks for your suggestion.

I found the file named add.php here:
/components/com_dtregister/views/field/tmpl

and made the change you mentioned, but still have the error message.

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

Last Edit: by kinesgirl.

Fee Field Not Working 9 years 4 months ago #24733

  • cronoslogic
  • cronoslogic's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 1
All your information is good except for the file path.

administrator/components/com_dtregister/views/field/tmpl/add.php

line 382 does in fact contain the error and setting it to 250 length corrects the problem.
The following user(s) said Thank You: kinesgirl

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

Last Edit: by cronoslogic.

Fee Field Not Working 9 years 4 months ago #24738

  • ernienet
  • ernienet's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 80
  • Thank you received: 0
There may be more to this than I thought. Another client (different web site) reported that something we set up years ago stopped working. Every event registration is $10, unless they're a member. They don't use any ACL stuff, so we have a checkbox "Business Member", which deducts $10.

This site was on DT Register 3.1.1b (and I updated it to 3.1.3). But he reported that when he registers for an event, checking the checkbox does not deduct $10. Their last event was in December of last year, so they're just seeing this now.

Is this related - are all fee fields broken? I tested another site with several fee fields and they all seem to be working fine. I opened and saved the fee field to see if that would fix it, and I'm getting the error reported originally in this thread:


Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.


I hope all the issues are addressed in this fix.

Thanks,

Ernie
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

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

Last Edit: by ernienet.

Fee Field Not Working 9 years 4 months ago #24742

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
The package will be updated today with a few fixes... including this one with saving the fee fields.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
Time to create page: 0.728 seconds