Viewing 15 replies - 1 through 15 (of 16 total)
  • this is because of the truncate function which is replacing the special characters,

    have you got the images placed in your title input field?

    quick fix for the images:

    replace (in sc_event-list.php)

    $title = esc_attr($this->db->truncate(min($max_length, $a['title_length']), $event->title));

    by

    $title = esc_attr($event->title);

    & for the details (map)

    $out .= '<div class="event-details">'.$this->db->truncate( min( $max_length, $a['details_length'] ), do_shortcode( $event->details ) ).'</div>';

    by

    $out .= '<div class="event-details">'. do_shortcode( $event->details ) .'</div>';

    Thread Starter dipcomm

    (@dipcomm)

    Thanks for your answer.

    Yes, i’ve got an image place in the title input field.

    I’ve made the changes on sc_event-list.php
    But with no results.
    Another idea?

    Thanks

    sorry,

    just use

    $title = $event->title;

    and the images will show up

    Thread Starter dipcomm

    (@dipcomm)

    Thanks a lot, it’s works perfectly!!!!
    And about the google map inthe location input field?

    Thanks for your help, you’re saving me from a difficult situation!
    Esther

    glad I can help you,

    for the event just use

    $out .= '<div class="event-details">'. $event->details .'</div>';

    Thread Starter dipcomm

    (@dipcomm)

    I did it… but it still doesn’t work.
    Thanks

    I looked at your code, and I can see why, the maps are not in the details field, but in the location field,

    replace this

    $out .= '<span class="event-location">'.esc_attr($this->db->truncate(min($max_length, $a['location_length']), $event->location)).'</span>';

    by

    $out .= '<span class="event-location">'. $event->location .'</span>';

    Thread Starter dipcomm

    (@dipcomm)

    It works perfecly!
    Thanks a lot for your help.

    Is there something i can do to thank you?
    Donation for the plugin? But your’re not the author, are you?

    Esther

    no I am not the author,
    but you can give me a smile ??

    Thread Starter dipcomm

    (@dipcomm)

    ;o))))))))))))

    Have a good day!

    Worked fine yesterday!! Went to add a New Event this morning and I get the following Error!!! I’m not a Happy Camper!!

    Fatal error: Call to undefined method DateTime::createFromFormat() in /home/gfcflint/public_html/wp/wp-content/plugins/event-list/includes/db.php on line 208

    you probably have an old php version running on your server < php 5.3

    the function DateTime::createFromFormat is supported by versions 5.3 and newer

    Hello….
    Thanks for your help! I DO have the wrong version!
    Our site is Hosted by ITX Design, and they have 5.2.17! I submitted a ticket to them to have the PhP version updated! Hope they will/can!
    I don’t like Go-Daddy…. but may have to go back to them!!!
    Thanks,
    skip

    Plugin Author mibuthu

    (@mibuthu)

    I have removed the possibility to enter html tags since version 0.6.0. But I can see that for some users this is a requirement, so I will add an option to enable this in the next version.

    I will also fix the problem with PHP 5.2 which exists since version 0.6.2.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘0.6.1 doesn't work on WP 3.8.1’ is closed to new replies.