Venue Website Display

Home Forums Calendar Products Events Calendar PRO Venue Website Display

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #798691
    Jordan Polon
    Participant

    The website venue display in single event views is displaying like this:
    Website: ctconventions.com

    I’ve just gone through a bunch of uopgrades abnd downgrades with this plugin to fix a major error, (3.6 seemed to solve alot of the issues I had with.7 and .8) but if you could tell me what I can correct to make it go back to displaying just the website I’d appreciate it. Is this an easy fix?

    #800696
    Brian
    Member

    Hi Tara,

    Sorry for the troubles of having to upgrade and downgrade. What issues were you having with the new versions of the plugins?

    You would like to display the website without it being a link, correct?

    Here is how to do that the link is created in this file here:

    \the-events-calendar\views\modules\meta\venue.php

    You can follow our themer’s guide to move it to your theme and modify it there.

    You will want to replace the coding that looks like this:

    <?php echo $website ?>

    with this:

    <?php echo tribe_get_event_meta( tribe_get_venue_id(), ‘_VenueURL’, true ); ?>

    Let me know if that is what you are looking for or you would like some more help.

    Thanks

    #800864
    Jordan Polon
    Participant

    Hi Brian. Thanks for responding, it’s been awful. I imported a bunch of my events to a different site. (Which helps to show what I mean because they’re the same exact event.)
    This is what I want:
    http://envisionfesthartford.com/event/free-second-saturdays-for-families-at-the-wadsworth-atheneum-2/2014-01-11/
    This is what I have:
    http://www.hartford.com/event/free-second-saturdays-for-families-at-the-wadsworth-atheneum-2/2014-10-11/

    Is that definitely themers guide related?

    #801314
    Brian
    Member

    I see what you mean about the link. That is strange that it is not reading the link tags as html.

    I took a look and it looks like the Pageline Theme has a custom stylesheet for the Events Calendar. Did you add that or was it included?

    Do you have any custom templates for the Events Calendar in your theme? If so, what is in this file?

    tribe-events\modules\meta\venue.php

    Maybe that function has changed for the Event Website and is causing the issue.

    Let me know what you find out.

    Thanks

    #801668
    Jordan Polon
    Participant

    I did have a custom folder in there.
    I deleted it and this is what it looked like: http://www.hartford.com/wp-content/uploads/2014/10/Screen-Shot-2014-10-10-at-5.34.30-PM.png

    I reuploaded it, and now its back to this. http://www.hartford.com/wp-content/uploads/2014/10/Screen-Shot-2014-10-10-at-5.36.00-PM.png
    So, that’s not the issue (I don’t think). Do you have any other suggestions? The site I showed you earlier as a comparison is on 3.71. I could try upgrading to that but I’m a little afraid.

    (I really want to be on 3.8, but this is what that did: http://www.hartford.com/wp-content/uploads/2014/10/Screen-Shot-2014-10-08-at-3.46.27-PM.png & http://www.hartford.com/wp-content/uploads/2014/10/Screen-Shot-2014-10-08-at-7.59.59-AM.png, and a bunch of other madness.)

    #807377
    Brian
    Member

    Thanks for providing all that information, I apologize for the continued troubles.

    I am still not sure of the exact issue. It is strange that this is the only function that does not show correctly.

    I came up with a quick fix to bypass that function.

    See if by editing this file in your theme:

    \the-events-calendar\views\modules\meta\venue.php

    You can replace this:

    <?php echo $website ?>

    with this:

    “><?php echo tribe_get_event_meta( tribe_get_venue_id(), ‘_VenueURL’, true ); ?>

    That is taking the link in the url and creating a hyperlink out of it.

    If that does not solve it then there is a conflict taking place causing the issue.

    Let me know if that works for you or we can go from there to the next step.

    Updating
    Not sure why the Events start duplicating like that in the Month view. I have seen that once before, but in that case it turned out to be a theme conflict that caused the issue. Your could be different.

    Thanks

    #808397
    Jordan Polon
    Participant

    This is so weird. <?php echo $website ?> isn’t even there.
    This is what I’m seeing in the \the-events-calendar\views\modules\meta\venue.php
    http://pastebin.com/KKxM0NY7
    Any other ideas?

    Re Update:
    I’d like to try and go up to 8 again from an older backup on a test site and see what happens. Is there a way, from a complete backup, just to locate the event entries? And, Should I start a new thread when I do that?

    You guys rule, thanks so much.

    #810173
    Brian
    Member

    Thanks for providing the coding in a pastebin. It is so much easier for us to read!

    I found the issue this line here:

    <?php esc_html_e( $website ) ?>

    See if you can replace that with

    <?php echo $website ?>

    This function esc_html_e is escaping the html and causing the issues. That is generally used to escape the url directly not a link.

    Re Update:

    I’d like to try and go up to 8 again from an older backup on a test site and see what happens. Is there a way, from a complete backup, just to locate the event entries? And, Should I start a new thread when I do that?

    The Events, Venues, and Organizers are all custom post types so you could use WordPress’s Exporter and Importer. If you do not export all the content of the site though the Featured Images and maybe other information does not transfer on importing. Unfortunately, that is a limitation of WordPress. If you need some help on this, please create a new ticket as we can provide better support that way.

    Let me know if removing esc_html_e fixes the issue for you.

    Thanks

    #810855
    Jordan Polon
    Participant

    Thanks so much for your assistance. It did! I will start a new thread for the update.

    #810885
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need any other on something else please post a new ticket.

    Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Venue Website Display’ is closed to new replies.