DonSailieri
Forum Replies Created
-
not fixed with 5.13 ??
cheers for the heads up! Looking forward to his new release.
It is indeed another plugin that is causing this error, namely cforms. Maybe the dev should get in touch with them to harmonize the plugins in this regard.
there’s next to no documentation on these functions that I could find; I was of the opinion that
_e()
replaced echo();
and that__();
was used to parse strings to a function…pardon my ignorance, but pretty please with semicolons on top, include qtranslate compatibility in the 1.0 release :3
I tried the following:
if ( empty($_GET['scope'])) { if ( empty($_GET['lang'])) { echo '<a href="?scope=past">Vergangene Veranstaltungen</a>'; } else { echo '<a href="?lang=en&scope=past">past events</a>'; } }
ensuring compatibility with qtranslate,
and in the events list template:if( !empty($_GET['scope']) ) { $args['scope'] = $_GET['scope']; }
which works! (yay), but only if you put that code *before* the
$events = EM_Events::get( apply_filters('em_content_events_args', $args) );
which is curious, since other variables, such as limit and page get altered *after* $events is populated:
$args['scope'] = $_GET['scope']; $events = EM_Events::get( apply_filters('em_content_events_args', $args) ); $args['limit'] = get_option('dbem_events_default_limit'); //since we are passing this info to an output function or template, we should get all the events first $args['page'] = (!empty($_REQUEST['page']) && is_numeric($_REQUEST['page']) )? $_REQUEST['page'] : 1;
did you also try to check the EM templates for events list?
I’m using custom templates, yes, but I don’t quite understand what you’re trying to tell me…
Forum: Plugins
In reply to: [Plugin: Events Manager] Navigation messed up: SFC incompatibilityworks a charm with 0.999, cheers!
Forum: Plugins
In reply to: [Plugin: Events Manager] Messing with navigationhaving the same problem right now – this used to work before I moved my site to a new URL, very bizarre indeed. Your fix isn’t working for me though, since I haven’t touched the loop one bit ??
Used theme is WhiteHousePro 3 btw.
I have almost the exact same problem; in my case, all the navigation items become “events”. So instead of having Home, News, Events, CV Ive got Events, Events, Events, Events =/
Someone found a resolution over here…
my used theme is WhiteHousePro v3.
That doesn’t really help, I’m afraid. I am aware of all the options available, I just can’t figure out how to bend them to my will ??
solved by 777’ing the whole /uploads directory instead of just the /uploads/events-manager directory. sigh…
now that function returns “upload dir is /events-manager/ “
I assume that’s referring to uploads/events-manager/ (which I have created, and 777’d).
I’m a bit lost here =(
that function outputs “upload dir is EM_UPLOAD_DIR” … seems the constant isn’t defined in the first place?
It’s single site-mode. I can’t find that string anywhere, which file would it be in?
I created the direcotry within wp-content/uploads, with the specified subfolders an 777-permissions – the warning message persists. any thoughts?