Fearless_Shultz

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • in reply to: Different days for events creates different listings #34890

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Paolo,

    Just wondering if this has been released yet and in particular the fix for multi day events causing duplicate listings. Also, do you have a direct url to an example showing how they are now handled as couldn’t see one on your example given above.

    Kind Regards

    Mike

    in reply to: Different days for events creates different listings #34321

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Do you have a likely date when a stable version of the events that incorporates multi-day events into a single listing is likely to be available as my client is quite desperate for this and don’t want to go trying to bodge a quick fix or get the rest of the site to work with an alternate events management plugin if you have a release imminent.

    If it is still in testing, you have a link to example of it working that I can show them along with likely release date?

    in reply to: Random Large Images or Icons Appearing on Top of Map #29027

    Fearless_Shultz
    Free User
    Post count: 46

    Doh, sorry Stiofan and thanks. It was actually the customer the site was built for who added those categories but I was looking at the individual listings rather than there for the problem.

    Thanks for your assistance and you can mark this as resolved.

    Many thanks

    Mike

    in reply to: Footer Width Cropped but Only on Search Results Page #24027

    Fearless_Shultz
    Free User
    Post count: 46
    This reply has been marked as private.
    in reply to: Footer Width Cropped but Only on Search Results Page #24010

    Fearless_Shultz
    Free User
    Post count: 46

    I copied all of the template files over a geodirectory folder within my child theme when I first started customizing. I understood that this is the safest way to work?

    This does bring me to another question actually. I have made some modifications to geodirectory_template_actions.php to change the text that is displayed when a search is completed. At the moment this is still in the plugin folder. Should that file also be moved to avoid issues when updating the plugin?

    in reply to: Footer Width Cropped but Only on Search Results Page #24003

    Fearless_Shultz
    Free User
    Post count: 46

    Adding echo “</div>”; at the end of the geodir-search.php file right before get_footer() seems to have resolved it.

    Thanks again for looking at the problem 🙂

    in reply to: Footer Width Cropped but Only on Search Results Page #23970

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Again Guust,

    After doing some more testing it is obviously an unclosed div somewhere which obviously I will need to find myself as I don’t want to waste anyones time looking for silly mistakes in my code Thanks again for your help! 🙂

    Kind Regards

    Mike

    in reply to: Footer Width Cropped but Only on Search Results Page #23968

    Fearless_Shultz
    Free User
    Post count: 46
    This reply has been marked as private.
    in reply to: Footer Width Cropped but Only on Search Results Page #23958

    Fearless_Shultz
    Free User
    Post count: 46
    This reply has been marked as private.
    in reply to: Map instead of Flexislider on Detail page #23688

    Fearless_Shultz
    Free User
    Post count: 46

    Hi,

    Just a quick update as I have now resolved this issue which was, as I suggested in my original post related in the end to having multiple instances of the Google Maps API loading and not the code that I was using.

    This was being caused by the wpmegamenu plugin and once I set that not to load use the maps API everything worked ok with the original code that I posted

    in reply to: Map instead of Flexislider on Detail page #21646

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Paolo,

    Many thanks for the reply. When I followed the instructions that you provided the result was actually the same as with the original code. I excluded the maps tab within the Geodirectory interface and used the following to make sure the map was removed:

    remove_action( ‘geodir_details_main_content’, ‘geodir_show_detail_page_tabs’,60);

    Something I have noticed is that if I change $map_args[‘enable_jason_on_load’] to false, then the map actually loads but doesn’t have any markers for the listings on and is not zoomed to the relevant place on the map for the listing. Does this give any further indication as to what the problem might be?

    Kind Regards

    Mike

    in reply to: Map instead of Flexislider on Detail page #21616

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Guust,

    I have merged the locations. Please let me know if they look ok now.

    The problem still exists though, even if I remove the custom action to add the map below the tabs box. So can you see anything else that is wrong?

    Also, just to confirm, I don’t want two maps on the page, I just want one that appears outside of the tabbed area which I have partly done but as mentioned, neither that nor the map in the tabbed area are fully loading. Also for some reason, the map in the tabbed area is zoomed out to show a much larger area than just the intended one.

    in reply to: Map instead of Flexislider on Detail page #21614

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Guust, this was one of the points I was going to ask about next although I didn’t think it would be related to this and more the fact that there are two map instances on the page.

    The locations have gotten into a bit of a mess as we have had an external data entry person adding listings. I will go and merge the locations and see if that makes a difference.

    I just want to confirm that I won’t be at risk of deleting any listings by doing this?

    Many thanks

    Mike

    in reply to: Map instead of Flexislider on Detail page #21612

    Fearless_Shultz
    Free User
    Post count: 46
    This reply has been marked as private.
    in reply to: Map instead of Flexislider on Detail page #21611

    Fearless_Shultz
    Free User
    Post count: 46

    Hi There, I am trying to do something quite similar but rather than replace the slider, I am wanting to move the map to a different area as I don’t want to use the tabs. I have implemented the code code above with the slight modification of trying to remove map in tabs and wrapping the new map in a div.

    The new map is showing in the position that I want it to, but with a grey overlay and a loading icon which never finishes. The map is still showing in the tabs area but in the same state.

    Looking in Chrome developer tools, I get the following errors related to the map:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors

    Uncaught InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama

    These would make sense as there are two versions of the map on the page, but I am not too sure how to target removing the one in tabs.

    Below is the code I am using in functions.php

    
    
    
    remove_action( 'geodir_details_main_content', 'geodir_action_details_map',30);
    
    function geodir_action_details_map_replace_slider(){
    	global $post,$post_images,$video,$special_offers, $related_listing,$geodir_post_detail_fields;
    	$map_args = array();
    		$map_args['map_canvas_name'] = 'detail_page_map_canvas2' ;
    		$map_args['width'] = '100%';
    		$map_args['height'] = '300';
    		if($post->post_mapzoom){$map_args['zoom'] = ''.$post->post_mapzoom.'';}
    		$map_args['autozoom'] = false;
    		$map_args['child_collapse'] = '0';
    		$map_args['enable_cat_filters'] = false;
    		$map_args['enable_text_search'] = false;
    		$map_args['enable_post_type_filters'] = false;
    		$map_args['enable_location_filters'] = false;
    		$map_args['enable_jason_on_load'] = true;
    		$map_args['enable_map_direction'] = true;
    		echo '<div id="detailMapContainer">';
    		geodir_draw_map($map_args);
    		echo '</div>';
    }
    
    add_action( 'geodir_details_main_content', 'geodir_action_details_map_replace_slider',30);
Viewing 15 posts - 1 through 15 (of 36 total)