Additional Field URL displays as HTML on event page

Home Forums Calendar Products Events Calendar PRO Additional Field URL displays as HTML on event page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1006262
    Paul
    Participant

    Hello,

    New PRO user here. I set up an additional field named “REGISTER AT” with type as URL. WHen I enter a URL for the event it displays with all html tags instead of the link itself

    Example
    <a href="http://website_entered_here.com" target="self">https://website_entered_here.com</a>

    Is there some setting I need to change. I searched for other such questions on the forum but I didnt see any so I’m guessing that this is particular to my set up or installation.

    Some additional information:
    URL entered into the predefined “Website” field displays correctly as a link
    I have also tried this with the Twenty twelve theme -same result. “Website” url displays as link but the Additional Field URL displays HTML

    Perhaps you can suggest some setting that I need to change? Alternatively, can you point me to which file I need to modify if I would like to change the event detail labels in the bottom box of the event page (the one that says “website” – change to “register”)

    Thanks for your help

    #1006469
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    I created an additional field and set it to be a url and showed as html for me too. It is because we escape the html, but did not account for the url field.

    Nico provided a fix for it here that can help in the mean time:

    HTML shows as text

    That fixed the issue for me as well and I am creating a ticket to address this.

    Website to Registration
    As for editing the event templates we have the themer’s guide to help you move and edit them:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    Following that guide you want to move and edit this file in your theme:

    the-events-calendar\src\views\modules\meta\details.php

    Moved to:

    yourtheme\tribe-events\modules\meta\details.php

    Let me know if you have any follow up questions.

    Thanks

    #1006501
    Paul
    Participant

    Thank you the link to Nicks post worked. And the theme guide file direction will also be useful. Thanks. Great plugin.

    #1006956
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket to new replies, but we will update it once we have a resolution for the additional field url issue.
    If you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

    #1034017
    Geoff
    Member

    Hey there,

    Just poking in to let you know that this issue has been resolved and a patch will be included in Version 4.0. We expect that to release sometime today so please do keep you eyes peeled and feel free to let us know if have any other questions after updating.

    Thanks for your patience while we figured this out!

    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Additional Field URL displays as HTML on event page’ is closed to new replies.