×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: V2.0.1 Problems with field tips

V2.0.1 Problems with field tips 12 years 4 months ago #16590

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
The text in the field tips (templates and events) is cut after 120 characters. Is there any possibility to change this?

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16600

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Patrik,

sorry i don't understand which field you are referring to :blush: - could you please provide a screenshot?

Yves

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16601

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
See screenshot.
Attachments:

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16602

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Ah okay got it. You could change the input fields code (administrator/components/com_matukio/helper/util_events.php on line 1425 - maxlength=\"120\" to 250 for example), no idea why this is limited to 120.

Yves

P.S. These event fields are a bit deprecated, if possible you should use the new booking form with the new booking fields manager ;)

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16604

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
Ok. Thank you. The only reason why I use these fields (I'm using only two of these, all others I'm doing with the new fields manager) is the possibility to add tooltips. As far as I can see there is no possibility to do this with the new fields manager.

Patrik

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16605

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Patrik,

when you mouse over the new booking fields there is an fieldname_DESC displayed as tooltip. If you copy this one into the translation file of matukio (/language/de-DE/de-DE.com_matukio.ini) you have some sort of tooltip.

For example:

COM_MATUKIO_FIELDS_SURNAME = "Surname"
COM_MATUKIO_FIELDS_SURNAME_DESC="Please enter your surname here"

Yves

Perhaps we make an extra optional tooltip field with the next version (any hints on this?)

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16608

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
Ok. I tried this. BTW it was hard to understand it because the correct (or may be wrong) string is:

COM_MATUKIO_COM_MATUKIO_FIELDS_SURNAME_DESC="Please enter your surname here"

Seems to be a little bug in all fields, because of the double COM_MATUKIO

I will try it with the select options. But I also would appreciate it very much if you would add this feature in a future version.

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16609

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Aye already fixed that in the current dev. version, if you add your own fields with the current version you have to use COM_MATUKIO_fieldname_DESC = "xyz". COM_MATUKIO_ prefix will be removed with the next version.

Yves

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16733

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
I'm using now the new booking fields option. This works fine. But there is a new problem now:

When I'm adding a required textfield and forget to fill in I get as expected the message "Error: This field is required" underneath the field.
When I'm adding a select field (also required) I'm redirected instead of the message to the course details page and get the info "Your booking was not successfull! Please fill out all required fields."

I have to fill out then the whole form again. It doesn't matter which required field I have forgotten to fill in, wether the new created select field or any other required text field. As soon as I disable the select field it works correctly.

Additionaly when filling in the form correctly I will not be directed to the second page. Instead I'm told that my booking was successfull! This also only happens this way when I'm using a new created select field (It doesn't matter wether this is required or not).

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16734

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Patrik,

please install version 2.0.2, there was a bug in 2.0.1 which caused this behavior in some browsers.

Best regards,

Yves

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16735

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
Just have found the problem: I have used a special character (-) in the first field (fieldname). After deleting this it works fine now. ("panchmitgliedschaft" instead of "panch-mitgliedschaft")

Regards
Patrik

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16736

  • Patrik Bernhard
  • Patrik Bernhard's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 91
  • Thank you received: 4
I'm using 2.0.2. But now I have found an other bug. Though the field "title" is requested I will be guided to the second page even if I did not make a selection. This happens also with all other select fields on the first page. It seems to work on the second page with the payment method. There I get an error message when I'm not selcting any method.

Re: V2.0.1 Problems with field tips 12 years 4 months ago #16737

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Patrik,

this is a known bug, the "please choose" field needs to have an empty value (currently it's choose..), will be fixed in the next version, but you can fix it manually meanwhile.

Yves
The following user(s) said Thank You: Patrik Bernhard
  • Page:
  • 1
Time to create page: 0.171 seconds