Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #42399
    Anonymous
    Inactive

    Hello,

    I just installed the plugin and right after i activated it, all the jquery function stopped being recognized as if the jquery js file was no there.

    I am using WP 3.0.3 with network activated.

    HAs anyone experienced this problem?

    Regards,

    Luis

    #46123
    Anonymous
    Inactive

    Update,

    this only happened after i called the eme_get_calendar function on the sidebar.php of my theme.

    #46124
    Franky
    Keymaster

    I believe this is fixed in trunk already, try this change for eme_calendar.php:

    http://plugins.trac.wordpress.org/changeset/329066/events-manager-extended/trunk/eme_calendar.php

    #46125
    Anonymous
    Inactive

    Hi,

    thanks for the reply.

    I changed the code to:

    $eme_need_calendar_js=0;

    and i am no longer getting js errors, however, i am getting a strange events page…

    http://candidatura.comuf.com/events/?calendar_day=2011-01-12

    feels like i am doing something wrong..

    #46126
    Franky
    Keymaster

    No no, you need to add these lines:

    global $eme_need_calendar_js;
    $eme_need_calendar_js=1;

    at lines 22,23 (at the beginning of the function eme_get_calendar)

    #46127
    Anonymous
    Inactive

    Hi,

    Those lines of code were there already. When i changed the value from 1 to 0 the error stopped occurring. Probably because i am loading jquery for some other stuff on the site. Can that be it?

    #46128
    Franky
    Keymaster

    Sorry, but I would need admin access on your site to verify some things. If you want, mail the info to me: liedekef [at] telenet.be

    #46129
    Anonymous
    Inactive

    Hi,

    I just sent you the information.

    Feel free to check it out when you can.

    Thanks

    #46130
    Franky
    Keymaster

    Your theme is the problem: it includes 2 versions of jquery:

    <script type='text/javascript' src='http://candidatura.comuf.com/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>

    and further down:

    <<script type='text/javascript' src='http://candidatura.comuf.com/wp-content/themes/candidatura/js/jquery-1.4.3.min.js'></script>

    The first one is added by wordpress, the second one by your theme. So fix your theme 🙂

    #46131
    Anonymous
    Inactive

    Hi,

    I’ll look into it and get back to you later tonight.

    Thanks for the support.

    #46132
    Anonymous
    Inactive

    Hi

    Thanks for the tip.

    I managed to corretc the jquery issue, however, the events page still doesn’t show correctly. Can you please check this page and see if you can tell what can be wrong?

    http://candidatura.comuf.com/lista-de-eventos/?calendar_day=2011-01-18

    regards,

    Luis

    #46133
    Franky
    Keymaster

    There’s no such placeholder called “#_LOCATIONTOWN”, see

    http://www.e-dynamics.be/wordpress/#formatting-events for a list of the placeholders you can use.

    #46134
    Anonymous
    Inactive

    Hi,

    I understand that, the thing is that i didn’t insert any placeholder in the event, just an image and some text.

    thanks 🙂

    #46135
    Franky
    Keymaster

    Look in the “default single event format” settings (or per event is also possible), there you’ll have somthing filled in. And for the rest: use placeholders like #_NOTES etc … as placeholders to show your content in any way you want.

    #46136
    Anonymous
    Inactive

    Yeah, i found it in the settings page…that’s strange because i hadn’t start to “mess” with that part yet…can it be some kind of issue?? or it can be just my mix up 🙂

    btw, is there any way i can implement a customized events page?? like for instance a page-{slug}.php for events?

    #46137
    Franky
    Keymaster

    Just create a page within wordpress and use the shortcode [events_list] and you’ll get a list of events. The parameters you can use for this shortcode can be found on the doc site: http://www.e-dynamics.be/wordpress/#shortcodes

    #46138
    Anonymous
    Inactive

    Will that allow me to have some pagination and search and filter features?

    Is there any way one can buils a page and call some function from php?

    #46139
    Anonymous
    Inactive

    sorry for the alst post…i think i got it…:)

    #46140
    Anonymous
    Inactive

    hhhmm…guess i didn’t get it…

    I have the following code:

    $limit = 10;

    $scope = “future”;

    $order = “ASC”;

    $format = ”;

    $echo = 0;

    $category = ”;

    $showperiod = ”;

    $long_events = 0;

    $author = ”;

    $contact_person=”;

    $paging=0;

    $lista = eme_get_events_list($limit, $scope, $order, $format, $echo, $category,$showperiod, $long_events, $author, $contact_person, $paging);

    and the return of the function is HTML…isn’t there a way it can return an array or an object??

    Am i doing something wrong?

    #46141
    Anonymous
    Inactive

    Well…i hope you don’t mind but i changed your function a bit…when i pass the parameter echo = 1 the function will return ann array with the structure that used to generate the html.

    #46142
    Franky
    Keymaster

    Use the eme_get_events function. In the latest trunk, these are the parameters:

    function eme_get_events($o_limit = 10, $scope = “future”, $order = “ASC”, $o_offset = 0, $location_id = “”, $category = ”, $author = ”, $contact_person = ”)

    #46143
    Anonymous
    Inactive

    Great, i got it working.

    Thanks:)

Viewing 22 posts - 1 through 22 (of 22 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top