halalcompass

Forum Replies Created

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

    halalcompass
    Expired Member
    Post count: 32

    Sounds great, thanks.

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

    halalcompass
    Expired Member
    Post count: 32

    Has a solution been developed for this yet? I also require it to work as Greg has suggested.

    The least that could be done is add the date on the same line as the title for multi-day events.

    For example:
    Music Festival – March 20th, 2015
    Music Festival – March 21st, 2015

    The biggest problem everyone is having is that the listings look like duplicates.

    in reply to: map cluster not working #30537

    halalcompass
    Expired Member
    Post count: 32

    Hi Gianni,

    So I figured out a better solution to what we’ve both been looking for. I am now using the homepage map on the listing pages (which already uses the clusters and has the category toggles), and made a slight modification to the code in order to automatically detect the current posttype.

    At the moment, it modifies one of the core GD files, but I am working on making it a separate widget so it doesn’t get lost with future updates.

    In geodirectory-functions/map-functions/map_template_tags.php on line 244:
    Replace this:

    $geodir_default_map_search_pt = get_option('geodir_default_map_search_pt');

    With:

    $geodir_default_map_search_pt = geodir_get_current_posttype();

    Hope that helps!

    in reply to: Display all listings for current CPT on listings map #30181

    halalcompass
    Expired Member
    Post count: 32

    I needed to to load automatically. I figured a solution by modifying the maps_template_tags.php file and changing the default CPT to get_current_posttype() function.

    This was easy mod and works great without any load issues.

    in reply to: Filtering fields based on CPT #30044

    halalcompass
    Expired Member
    Post count: 32

    This worked wonderfully, thank you.

    in reply to: Display all listings for current CPT on listings map #30042

    halalcompass
    Expired Member
    Post count: 32

    Thank you for your responses.

    Guust, I have tried using the homepage map on the listing page as a solution, but only one problem remains, which is it only loads the default CPT set in the GeoD settings, not the CPT of the listing page that it’s on.

    If there is a way around this one issue, that would solve everything! Please let me know.

    THANK YOU.

    in reply to: Custom layout on Details Page #29871

    halalcompass
    Expired Member
    Post count: 32

    Please disregard this request. I have done it myself.

    in reply to: Custom layout on Details Page #29049

    halalcompass
    Expired Member
    Post count: 32

    I forgot to mention that the IMAGES, HTML and CSS for the layout would be provided. I just need the PHP development part done. Thanks.

    in reply to: map cluster not working #27786

    halalcompass
    Expired Member
    Post count: 32

    Just found a workaround to Gianni’s question which I also needed for how to enable map clusters on the listing page. Posting here for others:

    https://wpgeodirectory.com/support/topic/clusters-for-listing-maps/

    in reply to: Home Map showing wrong CPT. #27751

    halalcompass
    Expired Member
    Post count: 32

    Thanks for your quick reply.

    I actually do not need to show all CPTs in one map. Just all the markers of one CPT, but for the CPT listing page that the map is on. For example, if the map is on the “Restaurants” listing page, it will show only those markers by default. If it’s on the “Schools” listing page, then the schools markers by default.

    This is how the current Listing Page Map works, but it doesn’t show all the markers at once, just the ones listed on the page. OR is there a way to modify his map to show all the markers instead of just the ones listed.

    So will the feature being developed be able to do this? Any rough idea on when it may be released? This is an important feature crucial to our site. Is there a resource where I can commission custom GD modifications?

    Thanks again for your help.

    in reply to: NewsMag Theme Compatibility Help #23506

    halalcompass
    Expired Member
    Post count: 32

    Sorry about that! I have turned it off now.

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

    halalcompass
    Expired Member
    Post count: 32

    I have used this solution and it works fine, except after you enter the directions, it overflows onto whatever is below it.

    I’ve discovered that this is due to the height being styled inline and there is no way to override it except by editing map_template_tags.php. But I would prefer not to edit any core files.

    Any ideas?

    Thanks.

    in reply to: Pinpoint click + scroll #21912

    halalcompass
    Expired Member
    Post count: 32

    I would be interested in this solution as well!

    in reply to: Get listing description and images #21655

    halalcompass
    Expired Member
    Post count: 32

    That worked wonderfully. Thank you.

    in reply to: Get listing description and images #21371

    halalcompass
    Expired Member
    Post count: 32

    Hmm, still not able to get this working. I also tried adding $post_images to the “global” but still nothing.

    Here is the latest code I’m using.

    
    
    add_action('geodir_details_main_content', 'geodir_detail_page_images_hc', 31);
    function geodir_detail_page_images_hc() {
    	global $post, $post_images;
    	$post_images = geodir_get_images($post->ID,'thumbnail');
    		$thumb_image = '';
    		if(!empty($post_images)){
    			foreach($post_images as $image){
    				$thumb_image .=	'<a href="'.$image->src.'">';
    				$thumb_image .= geodir_show_image($image,'thumbnail',true,false);
    				$thumb_image .= '</a>';
    			}
    		}
    	echo $thumb_image;
    }

    You may view the page here: http://halalcompass.com/places/toronto/schools/al-azhar-islamic-school/

    Thanks for all your help.

Viewing 15 posts - 1 through 15 (of 22 total)