WordPress.org

Ready to get started?Download WordPress

Forums

Events Calendar
Link out for event not working (12 posts)

  1. serialboxhpc
    Member
    Posted 2 years ago #

    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/

  2. snumb130
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. serialboxhpc
    Member
    Posted 2 years ago #

    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.

  4. snumb130
    Member
    Plugin Author

    Posted 2 years ago #

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

  5. serialboxhpc
    Member
    Posted 2 years ago #

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

    Thank you very much.

  6. swarga
    Member
    Posted 2 years ago #

    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

  7. finddarkpoet
    Member
    Posted 2 years ago #

    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.

  8. swarga
    Member
    Posted 2 years ago #

    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

  9. snumb130
    Member
    Plugin Author

    Posted 2 years ago #

    Try visiting the page directly

    The admin page should be at

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

  10. JBsuper25
    Member
    Posted 2 years ago #

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

  11. snumb130
    Member
    Plugin Author

    Posted 2 years ago #

    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>';
  12. JBsuper25
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic