- Posts: 8
- Thank you received: 0
Change value for an input-field
- Florian Schmid
- Topic Author
- Offline
- New Member
-
Less
More
1 year 9 months ago #158640
by Florian Schmid
Change value for an input-field was created by Florian Schmid
Hi Tuan,
i would like to change the value for the inputfield at "event_capacity" from "numbers" to "text" in the back-end. Where can i change this?
Thanks!
i would like to change the value for the inputfield at "event_capacity" from "numbers" to "text" in the back-end. Where can i change this?
Thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 9 months ago #158647
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change value for an input-field
Hi
Not sure why you need to change this but if it is really needed, you can modify code. The file is administrator/components/com_eventbooking/view/event/tmpl/default_general.php
Please note that once the modification is done, you should move the modified file to template override so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Not sure why you need to change this but if it is really needed, you can modify code. The file is administrator/components/com_eventbooking/view/event/tmpl/default_general.php
Please note that once the modification is done, you should move the modified file to template override so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Florian Schmid
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
1 year 9 months ago #158678
by Florian Schmid
Replied by Florian Schmid on topic Change value for an input-field
Thanks Tuan,
I switched to "text" but it doesn't save me e.g. "5 Person". Only the number is saved.
Regards,
Florian
I switched to "text" but it doesn't save me e.g. "5 Person". Only the number is saved.
Regards,
Florian
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 9 months ago #158679
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change value for an input-field
It's because the field is designed to accept Number only. Event Capacity is used to allow defining maximum number of registrants the event can accept, so it could not accept and store text value here
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 9 months ago #158680
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change value for an input-field
If you need to store and display random text, better use event custom fields
eventbookingdoc.joomservices.com/basic-s.../event-custom-fields
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.