Your Time:
Our Time:
← Back to discussions

Ticket buttons don't forward to URL

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 8 replies, 3 voices, and was last updated 9 years, 8 months ago by Anonymous.

  • 2016-06-02 at 5:25 pm
    Support Expired
    #14638
    getyler2
    Participant
    • Topics: 15
    • Replies: 38
    • Total posts: 53
    • Post count: 50

    The ticket buttons don’t forward to a specified URL. Always pops up a form, which I don’t want, even if the ticket form variable is empty. What gives? I want it to link to the URL I specified. Please fix. Thanks!

    2016-06-03 at 11:39 am
    #14655
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Click on Tickets PostType -> Open any post of your choice -> Then go to Ticket Meta Options and specify the URL in Ticket Button Link.
    Have a look at the screenshot provided.

    After that follow this path plugins/eventra-posttypes/iva_vc_addons/modules/iva_seminar_ticket, line no #193,

    replace this line
    $tckt_btn_link = get_post_meta( $post->ID, 'iva_tckt_btn_link', true );

    with,
    $tckt_btn_link = get_post_meta( $post->ID, 'eventra_tckt_btn_link', true );

    2016-06-03 at 10:02 pm
    Support Expired
    #14672
    getyler2
    Participant
    • Topics: 15
    • Replies: 38
    • Total posts: 53
    • Post count: 50

    Thanks. That works. Can you tell me though where to change the url target to “_self”? It keeps popping a new window. And two of my buttons have links to a bookmark in the same page, so I really don’t want to pop a new window. Thanks!

    2016-06-06 at 10:13 am
    #14678
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    On line no 259, you can change target=”_self”.
    $out .= '<div class="ticket-btn"><a class="btn full medium '.$tckt_btn_color.'" href="'.esc_url( $tckt_btn_link ).'" target="_self">'.$tckt_btn_txt.'</a></div>';

    2016-06-12 at 11:36 pm
    Support Expired
    #14883
    mpodraza
    Participant
    • Topics: 0
    • Replies: 2
    • Total posts: 2
    • Post count: 2

    I’m having the same issue with the button link. Tried updating the file you mentioned above, but the button still opens popup window for the form and it changes the text on the button to the URL I entered in the field. I need it to go directly to the URL that I entered in that field and the Text Button Text needs to be the text on the button. Can you help?

    2016-06-13 at 10:10 am
    #14884
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    @mpodraza: Also follow this path plugins/eventra-posttypes/iva_vc_addons/modules/iva_seminar_ticket, line no #193,

    replace this line
    $tckt_btn_link = get_post_meta( $post->ID, 'iva_tckt_btn_link', true );

    with,
    $tckt_btn_link = get_post_meta( $post->ID, 'eventra_tckt_btn_link', true );

    After doing these changes, if you don’t get then provide us WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2016-06-13 at 6:13 pm
    Support Expired
    #14899
    mpodraza
    Participant
    • Topics: 0
    • Replies: 2
    • Total posts: 2
    • Post count: 2
    This reply has been marked as private.
    2016-06-14 at 10:17 am
    #14913
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    @mpodraza: Fixed.
    Edited File: plugins/eventra-posttypes/iva_vc_addons/modules/iva_seminar_ticket

    2017-01-04 at 1:48 pm
    #18493
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    We are setting this topic to be resolved. If you wish to update this topic please reply here instead of creating another topic.

You must be logged in to reply to this topic.