Events Made Easy Forums How do I … Calendar does not have any active links

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #42466
    Anonymous
    Inactive

    When I put the calendar in to show up, it does not have any clickable links to go to the next Month. How do I fix this?

    sample:

    http://talyst.com/calendar/

    #46469
    Franky
    Keymaster

    Another example of a crappy theme: it probably doesn’t call wp_footer in the footer.php file. Add it (see the twenty ten theme, file footer.php) and you should be fine.

    I’ve updated the 3.3.0 release to extend the option “Always include JS in header” for this. If you want the update: redownload the 3.3.0 release or manually get and replace the following 3 files:

    http://plugins.trac.wordpress.org/browser/events-manager-extended/tags/3.3.0/eme_calendar.php?format=txt

    http://plugins.trac.wordpress.org/browser/events-manager-extended/tags/3.3.0/events-manager.php?format=txt

    http://plugins.trac.wordpress.org/browser/events-manager-extended/tags/3.3.0/eme_events.php?format=txt

    But still I recommend you fix the theme’s footer.php file.

    #46470
    Franky
    Keymaster

    I added this to the faq as well: http://www.e-dynamics.be/wordpress/?page_id=195

    #46471
    Anonymous
    Inactive

    I know you probably have gone over this a million times already, but I can seem to figure out what I am doing wrong. I can’t get the calendar to advance to the next month. Either in the sidebar widget or on the event/calendar page.

    My Details:

    website: http://miyceramics.com/blog/events/

    EME Version 3.3.0

    PHP 5 (at least that is what my hosting site tells me)

    WP versrion 3.0.4

    Am I pointing to the wrong page for my calendar? Do you think one of my other plugins could be causing problems? I am using the twentyTen them which I overloaded so it would have the same wrapper as the rest of my site, I checked that footer.php and header.php have the wp_header(); and wp_footer(); Just for fun I also enabled the JS in the Setting Menu, but that didn’t work either.

    Thanks very much for any help you can provide

    #46472
    Anonymous
    Inactive

    Oh yeah and lastly I deactivated and reactivated the plugin based on another post I saw.

    #46473
    Franky
    Keymaster

    You have a javascript error in your theme, which halts all further jquery stuff:

    Error: AC_FL_RunContent is not defined

    Source File: http://miyceramics.com/blog/events/

    Line: 60

    #46474
    Anonymous
    Inactive

    Thanks for that. I am a newbie at this! I will definitely be donating for your efforts, the great features you provide and the quick response! 🙂

    #46475
    Anonymous
    Inactive

    You may already know, but AC_FL_RunContent is a very old and poorly-written Adobe JavaScript Flash embed script that hasn’t been needed since an improved Flash insert feature was released in Dreamweaver CS4, which was later replaced by CS5.

    #46476
    Anonymous
    Inactive

    I did not know that, but I guess I get to do some more research now :). The person who wrote the SW for the site, left and I have been stumbling to manage it and improve the SEO. Thanks again!

    #46477
    Anonymous
    Inactive

    I fixed my script bug where “AC_FL_RunContent is not defined”. Now I get a new error when I click on the calendar right arrow to advance the calendar in the sidebar widget on the main blog page:

    Error: $j_eme_calendar(this).closest is not a function

    Source File: http://miyceramics.com/blog/

    Line: 601

    I get a similar error when I go to the events page and try to advance the calendar there:

    Error: $j_eme_calendar(this).closest is not a function

    Source File: http://miyceramics.com/blog/events/

    Line: 414

    Could this be caused by the java script setting that I have to run my Navigation bar?

    Thanks for any insight you can provide.

    #46478
    Anonymous
    Inactive

    Got it. I am using the WordPress Google Calendar plugin to stream my google calendar info to my blog site. I just disabled it and the EME calendar is advancing to the next month.

    Thanks!

    #46479
    Franky
    Keymaster

    glad to hear it works finally, I can’t keep up with all the bad plugins/themes out there 🙂

    The google calendar plugin leaves out the jquery include needed for wordpress, very unfortunate they do it in an incompatible way …

    #46480
    Anonymous
    Inactive

    I am running to a problem with prev and next links myself.

    I have JS loading in the header. There aren’t any conflicts..

    But I am getting a 301 / 403 error on the next/prev month links..

    Since I have WP installed in a directory below the root (in example I am using /wpdir/, the path seems to be appending this:

    /wpdir/?eme_ajaxCalendar=true&calmonth=3&calyear=2011&full=0&long_events=0&category=0&author=&contact_person=&location_id=#

    to the call..

    Where as..

    ?eme_ajaxCalendar=true&calmonth=3&calyear=2011&full=0&long_events=0&category=0&author=&contact_person=&location_id=#

    just at the end of the permalink works fine.

    Is there an easy way to make it not append the path of where WP is installed (WordPress address (URL)) but rather use the Site address (URL) ?

    If in fact that is what it is doing…

    Thanks.

    #46481
    Anonymous
    Inactive

    If your site is being served by an Apache web server I suggest that you check the contents of your .htaccess file while waiting for Franky to respond. There should be an .htaccess file in the root directory of your site. You may not be able to see it, because file names starting with a dot are normally hidden from view by ordinary users. If you access your site via FTP, your FTP client program probably will have an option selection that will turn-on hidden-file access.

    There may be other things in your .htaccess file, but find the section below and make sure that your WordPress installation directory appears after RewriteBase.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wpdir/
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    You would have the problem you describe if that path is set wrong, but you also should be having other problems, so the true cause may be something else.

    Be careful not to change anything else in that file unless you are familiar with .htaccess rules.

    #46482
    Franky
    Keymaster

    It used the site url (search for “eme_ajaxCalendar” in eme_calendar.php). So if that’s not having the desired effect, check your settings abd rewrite rules (if you’re using pretty permalinks).

    For the rest admintiger’s comments are correct.

    #46483
    Anonymous
    Inactive

    Thanks. It actually worked by REMOVING <?php echo site_url(); ?> from eme-calendar.php as I didn’t need it appending the directory.

    #46484
    Franky
    Keymaster

    Then either I should never add site_url (which seems odd) or your wp settings are off. Have you read http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory ?

    #46485
    Anonymous
    Inactive

    I have WordPress installed in a /wp/ directory at one website where I am testing EME. The Permalink structure is /%post_id%/%postname%/. The web server is Apache. The .htaccess file in the website root directory is like that shown in my post further above, except that I have ‘RewriteBase /wp/’ instead of ‘RewriteBase /wpdir/’.

    I just tested calendar links using the latest EME trunk version. Both month-to-month navigation and event links work normally.

    #46486
    Franky
    Keymaster

    Thanks for testing this! So it’s not a bug

    #46487
    Anonymous
    Inactive

    I suggest the following for anyone experiencing malfunctioning links with WordPress installed in a directory:

    1) Make sure your theme header.php file does not contain an HTML <base> tag similar to this:

    <base href=”http://www.yourdomain.com/somepath/&#8221; />

    If it does, remove it. HTML <base> tags can be used to specify a base URL for all relative URLs on a page, but base tags aren’t needed and shouldn’t be used with standard WordPress installations in either a website root or directory.

    2) Add this line above “# BEGIN WordPress” in your .htaccess file:

    Options +FollowSymlinks

    The Apache FollowSymlinks option has to be enabled if WordPress is installed in a directory. Hosting firms generally enable it, but some don’t and some even block their customers from enabling it to reduce hacking risks.

    3) If neither of those suggestions correct the problem, contact your hosting firm and ask whether the web server that serves your site has both “mod_rewrite” and “FollowSymlinks” enabled. Both must be enabled if WordPress is installed in a directory.

    #46488
    Anonymous
    Inactive

    Sorry for the really late update, but I’ve made it to work from some new updated tips on the plugin website itself. Thanks all.

Viewing 21 posts - 1 through 21 (of 21 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top