Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Once again!

    add_filter('oum_location_bubble_content', function ( $content, $location ) {

    $subject = $location['name'] ;
    $nav1 = $location['lat'] ;
    $nav2 = $location['lng'] ;
    $puskaid = $location['post_id'] ;

    $content .= '<div class="oum_location_text"><a target="_blank" . urlencode($subject) . '&postid=' . urlencode($puskaid) . '">Link text...</a></div>';
    return $content;
    }, 10, 2);

    First and last line is outside of code box. www.ads-software.com site is not accept to hole code inside the box. I dont know why.

    add_filter('oum_location_bubble_content', function ( $content, $location ) {

    // extend or change content $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].;
    $subject = $location['name'] ;
    $nav1 = $location['lat'] ;
    $nav2 = $location['lng'] ;
    $puskaid = $location['post_id'] ;

    $content .= '<div class="oum_location_text"><a target="_blank" . urlencode($subject) . '&postid=' . urlencode($puskaid) . '">Link text...</a></div>';
    return $content;
    }, 10, 2);

    I have made little bit more complex solution with this snippet and Ninja Forms, user can send new details and also pictures to location. Seems to work also free version.

    add_filter(‘oum_location_bubble_content’, function ( $content, $location ) {

    // extend or change content    $subjec$subject = 'Ilmoita muutos kohteessa ID:' . $location['post_id'];t = . $location['post_id'].;
    $subject = $location['name'] ;
    $nav1 = $location['lat'] ;
    $nav2 = $location['lng'] ;
    $puskaid = $location['post_id'] ;
    
    $content .= '<div class="oum_location_text"><a target="_blank"  . urlencode($subject) . '&postid=' . urlencode($puskaid) . '"><img src="/wp-content/uploads/ikonit/virhe.svg"></a></div>';
    return $content;

    }, 10, 2);

    Hulivili

    (@hulivili)

    Are you tried to edit template file partial-map-add-location.php ?

    Delete or comment out row (make backup first!)

        <div id="oum_delete_location_btn"><span style="color: <?php echo $oum_ui_color; ?>"><?php echo __('Delete this location', 'open-user-map'); ?></span></div>

    You also do it after plugin update!

    I am intresting also this feature!

    Looking for better example for this too!

    Exact same problem, blugin version 3.0.8.

    All works fine with first calendar, but but when I add other, I get this error in Grid view, list view works normally. First one works still normally, problem is only second calendar.

    Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 318

    Warning: array_intersect_key() [function.array-intersect-key]: Argument #2 is not an array in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 318

    Warning: Invalid argument supplied for foreach() in /home/customers/s2cvk/public_html/wordpress/wp-content/plugins/google-calendar-events/includes/calendars/views/default-calendar-grid.php on line 322

Viewing 7 replies - 1 through 7 (of 7 total)