Vikas
Forum Replies Created
-
AuthorPosts
-
OK,
I will check it and get back to u asap.Hi,
There is a filter available in the code plz use this code and put it in ur themes’ functions.php file
add_filter('geodir_show_post_address', 'geodir_change_address_order' , 100 , 2) ; function geodir_change_address_order($html , $vars) { global $post, $preview, $wpdb; $field_icon=''; if (strpos($field_icon,'http') !== false) {$field_icon_af = '';} elseif($field_icon==''){$field_icon_af = '<i class="fa fa-home"></i>';} else{$field_icon_af = $field_icon; $field_icon='';} if(!$preview) { $html = '<p class="" style="clear:both;" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">'; $html .= '<span class="geodir-i-location" style="'.$field_icon.'">'.$field_icon_af; $html .= ' '; $html .= '</span>'; //print_r($_POST); if($post->post_address){ $html .= '<span itemprop="streetAddress">'.$post->post_address.'</span><br>';} if($post->post_zip){ $html .= '<span itemprop="postalCode">'.$post->post_zip.'</span><br>';} if($post->post_city){ $html .= '<span itemprop="addressLocality">'.$post->post_city.'</span><br>';} if($post->post_region){ $html .= '<span itemprop="addressRegion">'.$post->post_region.'</span><br>';} if($post->post_country){ $html .= '<span itemprop="addressCountry">'.$post->post_country.'</span><br>';} $html .= '</p>'; } return $html ; }
Give me site link please.
Hi,
U can set the description field as not required but for that u have to make change in code right now.Plz go to your geodirectory Core folder > geodirectory_template_actions.php
line no . 796
It should say<div class="required_field geodir_form_row clearfix"
plz remove ‘required_field’ from class list for this description div.
Thanks.
This widget will work only on Listing(Place) Detail Sidebar.
Hi,
Right now there is not straight way to show related events of a business(Place).
This can be done using a right side bar on listing page and adding GD > Related Events listing to it.Plz see attached image.
Thanks
Hi,
I am looing into it and get back to u asap.
ThanksHi,
Will u plz go to ur admin back end, Location manager and then Manage location tab and set the correct location as ur default location?
Right now it seems that u have set Graz, Steiermark, Österreich as ur default location.Hi,
Let me know site admin and ftp access please.
Hi,
I have fixed it and it will work fine in next release.
If u would like to check how it will work, please download attached zip.
Unzip it and copy file in ur Geodirectory/Geodirectory_functions/
take backup of ur existing file before overwriting.Thanks
Hi
Let me know site admin and ftp access please.
Hi,
Please let me know site admin login and FTP access.Thanks
I will provide hooks there so any developer can change either entire form or can add new fields if needed.
Please advise ?
This reply has been marked as private.Hi,
I have fixed this issue, plz download attached zip file, extract it and copy the php file from extracted one to you geodirecoty > geodirectory-fuctions > map-functions.
It will be included in next release.Thanks
-
AuthorPosts