Failure with Yandex maps creating a new listing

Write about issues that you have found.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Failure with Yandex maps creating a new listing

Postby istok » 05 Nov 2017, 02:51

This failure is only for logged in user as me as admin.

Using Yandex maps when I try to create a new list, system is tahn trying to update the last listing and showing a broken site (without layout).

But for unlogged user it works properly and create a new listing.

Only using open street map is in both cases OK.

Google map is to complicate for me with its APIs and so...

I prefere Yandex but in this case I have to use Openstreet ;o(
istok
Stranger
 
Posts: 3
Joined: 04 Nov 2017, 22:15
Reputation point: 0

Re: Failure with Yandex maps creating a new listing

Postby istok » 05 Nov 2017, 03:07

I also have done this with Google maps (with API).
The same Problem.
only Open Street works...
istok
Stranger
 
Posts: 3
Joined: 04 Nov 2017, 22:15
Reputation point: 0

Re: Failure with Yandex maps creating a new listing

Postby andipas » 08 Nov 2017, 12:01

In the file protected/modules/apartments/components/CustomGMap.php

after
Code: Select all

                $inMarker 
.= CHtml::encode($address).'</div></div>';
            }


add the code
Code: Select all

            
            
if (!$title) {
                
$title '';
            }
 
andipas
Web Developer
Web Developer
 
Posts: 156
Joined: 28 Dec 2011, 22:37
Reputation point: 1


Return to Issues

Who is online

Users browsing this forum: No registered users and 15 guests

cron