Hyperlink custom field

More
9 years 5 months ago #72698 by Dev
Hyperlink custom field was created by Dev
Hi,

I've disabled registration since most of the events we host have outside registration pages and information. So I need to add a custom field in the events details for a hyperlinked website.

I've added the following into /components/com_eventbooking/fields.xml

"<field name="field_website" widget="url" label="website" size="" description=""></field>"

It displays however I need it to be a hyperlink.

Can anyone help me with this?

Thanks.

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

More
9 years 5 months ago #72699 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hyperlink custom field
Hi

Instead of creating custom field and disable registration, you can edit the event, enter the URL you want into "Custom Registration Handle URL" field

After that, when users click on Register button, they will be redirected to the URL you entered to process the registration (outside of your website)

Tuan

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

More
9 years 5 months ago #72706 by Dev
Replied by Dev on topic Hyperlink custom field
Hi,

I can't seem to get the register button to display, which is why I've had to resort to XML fields.

Thanks..

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

More
9 years 5 months ago #72707 by James Riley
Replied by James Riley on topic Hyperlink custom field
Have you tried entering hyperlink html code into the field? When editing your event, try typing
Code:
<a href="yourExternalSite.com/subfolder/?params=etc">Text to display</a>
into the field. Save the event and see if it publishes with an active link.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

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

More
9 years 5 months ago #72837 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hyperlink custom field
The way James suggested should work. However, I don't know why the Register button doesn't display. Maybe it is because:

1. You have registration type set to Disable Registration ? If so, try to set Registration Type to only Individual registration ?

2. Maybe you have event date set to a past date ? If so, set it to a future date.

3. Maybe you enter data for Registration Start Date ? If it is a future date (compare to TODAY DATE), the button won't be displayed from that date, so it won't be showed now

Tuan

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

More
9 years 5 months ago #72870 by Dev
Replied by Dev on topic Hyperlink custom field
I've managed to finally get the register box to work, however I've hit another problem (might be an easy fix).

I need to be able to put the custom registration URL into the add event form for registered users as it is not present at the moment.

Is there any way to do this to display the register button?

Thanks.

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

More
9 years 5 months ago #72911 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hyperlink custom field
Sorry, it is not clear to me. You are saying that right now, the register button is not displayed ?

The easiest way would be you submit a support ticket sending us super admin account of your site and the link to the page. I will try to check to see why the register button is not displayed and correct it for you

Regards,

Tuan

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

More
9 years 5 months ago #72918 by Dev
Replied by Dev on topic Hyperlink custom field
Sorry, it's my fault for being unclear.

The register button is displayed however there is no field when the user is adding an event on the front end for "custom URL".

Thanks,

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

Moderators: Tuan Pham Ngoc