Home › Forums › Calendar Products › Events Calendar PRO › The Filter Option is broken
- This topic has 6 replies, 3 voices, and was last updated 14 years, 5 months ago by
Rob.
-
AuthorPosts
-
November 3, 2011 at 5:49 am #10525
Reji
ParticipantOn the Events Listing Admin Pages, the Filter is broken and flowing across the screen. Not sure if this is due to the new release.
November 3, 2011 at 4:29 pm #10556Rob
MemberHey Reji. Are you talking about the advanced post manager at the top of the page? I’m assuming so. If you could tell me what version of the plugin you’re using, what version of WP you’re using, and whether you’ve got any plugins installed that could be conflicting, it’d be awesome.
Also, to confirm: you’re on 2.0.1 now, right? Not 2.0? Just want to make sure 🙂
November 4, 2011 at 3:58 am #10585Roberto
ParticipantHi Reji, i think i have the same problem with EMP (2.0.1). Look the screenshot http://clip2net.com/s/1i8r4.
The top filter section of event list in backoffice is broken.Very strange…
November 4, 2011 at 3:54 pm #10615Rob
MemberThanks for pointing that out, Roberto. We encountered a similar issue on our dev site and our developer noted the following:
“The issue is that the plugin was installed in a directory with a space: “Events PRO”. This works fine for just code, but gets screwed up when enqueuing CSS/JS resources, since WP strips all whitespace out of URLs in its script+style management. So, as long as the user is installing things in a proper dashed or underscored directory, things will work just fine.”
Changing that fixed the issue on our end; might it be the cause of yours as well?
November 5, 2011 at 4:27 am #10633Roberto
ParticipantHi Rob, i checked the code, i found this:
in tribe-apm.php, line 44:
$this->url = home_url( str_replace( ABSPATH, ”, dirname(__FILE__) ) );My ABSPATH is: C:\inetpub\wwwroot\_PERSONALI\federkravmaga.it/
My dirname(_FILE_) is: C:\inetpub\wwwroot\_PERSONALI\federkravmaga.it\wp-content\plugins\events-calendar-pro\vendor\advanced-post-manager
Replace is impossible because the ABSPATH ends with /
I think is good to modify all the \ in / or viceversa, in order to have the same string.
If you fix it in this way, all will work without problem 🙂
November 5, 2011 at 4:32 am #10634Roberto
ParticipantOps i forgot, i changed that line with this one:
$this->url = home_url( str_replace( str_replace( ‘\\’, ‘/’, ABSPATH) , ”, str_replace( ‘\\’, ‘/’,dirname(__FILE__) ) ) );
November 7, 2011 at 4:03 pm #10724Rob
MemberExcellent. Thanks for the follow-up; going to check this with the dev and if he doesn’t see any problems with it, we can work into the next round of code. Cheers man.
-
AuthorPosts
- The topic ‘The Filter Option is broken’ is closed to new replies.
