Support » Plugin: Events Calendar » [Plugin: Events Calendar] Link out for event not working

  • Great plugin thanks.

    I am having a problem with it though. I am filling out the field for the link out, however it is not working at all. Instead, the plugin is choosing a random post to link to instead of the link I am specifying. I’d like the events that appear in my sidebar to link to a page that I specify not necessarily a page on my wp site though.

    I have tried assigning them to other posts, or to no posts at all, but it doesn’t work. Any suggestions?

    http://wordpress.org/extend/plugins/events-calendar/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author snumb130

    (@snumb130)

    I have not come across that at all. Could you post exactly what you did to encounter this problem. You can send me the information through my contact form if you would prefer.

    Thread Starter serialboxhpc

    (@serialboxhpc)

    Hi,

    I sent the info through your contact form. If you need to know anything else or want access to the dev site let me know. It is happening on at least 2 sites. My client’s site, and then I tried to replicate the issue on my dev server and same problem happened.

    Plugin Author snumb130

    (@snumb130)

    I replied to you contact form submission. See if that does it and let me know.

    Thread Starter serialboxhpc

    (@serialboxhpc)

    Yep. got your email and the fix you provided worked.

    Thank you very much.

    I just installed your plug in. I am using wordpress 3.2.1.

    I can not find a place to add an event.

    I will be the firs to admit I am likely the least web savy person using the plug in, can you tell me where the add an event area can be found?
    Thanks

    http://acsillc.com

    hi swarga, in the backend, take a look at the admin menu on the left, there you can find “Events Calendar”, you can add events from there.

    There is no Admin menu on the left and no Events Calender
    I have looked in every section on the left, I have:
    Dashboard
    Posts
    Media
    Links
    Pages
    Comments
    Formidable
    genesis
    Appearance
    Plug-ins
    Users
    Tools
    settings
    Contact
    BWS Plugins
    Content protect
    FAQ
    Gallery
    Platinum SEO
    SEO Power
    Tweet meme
    Follow
    Architect

    Plugin Author snumb130

    (@snumb130)

    Try visiting the page directly

    The admin page should be at

    /wp-admin/admin.php?page=events-calendar

    Hi, how did you solve your issue with the link out for events? I have the same problem. Thanks.

    Plugin Author snumb130

    (@snumb130)

    File: ec_calendar.class.php
    Lines: 153-160

    Change:

    $PostID = isset($event->postID) ? $event->postID : '';
    
                    if ($PostID == '')
                        $titlinked = '<strong>'.$day_names.' '.$startDate.'</strong>: ' . $event->eventTitle;
                    else
                        $titlinked = '<a href="' . get_permalink($PostID) . '">'
                                      . '<strong>' . $day_names . ' ' . $startDate . '</strong>' . __(': ', 'events-calendar')
                                      . $event->eventTitle . '</a>';

    To:

    // $PostID = isset($event->postID) ? $event->postID : '';
    
                    // if ($PostID == '')
                        // $titlinked = '<strong>'.$day_names.' '.$startDate.'</strong>: ' . $event->eventTitle;
                    // else
                        // $titlinked = '<a href="' . get_permalink($PostID) . '">'
                                      // . '<strong>' . $day_names . ' ' . $startDate . '</strong>' . __(': ', 'events-calendar')
                                      // . $event->eventTitle . '</a>';
    
                    $linkout = isset($event->eventLinkout) ? $event->eventLinkout : '';
                    if ($linkout == '')
                        $titlinked = '<strong>'.$day_names.' '.$startDate.'</strong>: ' . $event->eventTitle;
                    else
                        $titlinked = '<a href="' . $linkout . '">'
                                      . '<strong>' . $day_names . ' ' . $startDate . '</strong>' . __(': ', 'events-calendar')
                                      . $event->eventTitle . '</a>';

    Works like a charm. Thanks so much for your help and for the plugin!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: Events Calendar] Link out for event not working’ is closed to new replies.