Господа знающие ! Объясните пожалуйста как вставить коды плана http://www.google.com/uds/solutions/localsearch/reference.html в joomla Всю ночь бьюсь- а работать не хочет
Ответ: Google AJAX Search API Вот сейчас сидел - пробоал, ничего не получается, толи я что то не то делаю, толи... Вот у меня есть код Код (CODE): <style type="text/css"> @import url("http://www.google.com/uds/css/gsearch.css"); @import url("http://www.google.com/uds/solutions/localsearch/gmlocalsearch.css"); body { background-color: #ffffff; margin-top: 0px; } .style { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 9px; color: #333333; } </style> <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAASiHJab7Ionm-uDP_gnbk4hSlphp6yfYIwpLav6pjKEl3xMcOZxRUlzc0myHcS-RIGWNfVSWxqRvdMg" type="text/javascript"></script> <script src="http://www.google.com/uds/api?file=uds.js&v=1.0" type="text/javascript"></script> <script src="http://www.google.com/uds/solutions/localsearch/gmlocalsearch.js" type="text/javascript"></script> <body onLoad="initialize()" onUnload="GUnload()"> <script type="text/javascript"> var map; var gdir; var geocoder = null; var addressMarker; function initialize() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("map_canvas")); map.addControl(new GLargeMapControl()); gdir = new GDirections(map, document.getElementById("directions")); GEvent.addListener(gdir, "load", onGDirectionsLoad); GEvent.addListener(gdir, "error", handleErrors); setDirections("Ìîñêâà", "Äóáíà", "en_US"); } } function setDirections(fromAddress, toAddress, locale) { gdir.load("from: " + fromAddress + " to: " + toAddress, { "locale": locale }); } function handleErrors(){ if (gdir.getStatus().code == G_GEO_UNKNOWN_ADDRESS) alert("No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.\nError code: " + gdir.getStatus().code); else if (gdir.getStatus().code == G_GEO_SERVER_ERROR) alert("A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known.\n Error code: " + gdir.getStatus().code); else if (gdir.getStatus().code == G_GEO_MISSING_QUERY) alert("The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.\n Error code: " + gdir.getStatus().code); // else if (gdir.getStatus().code == G_UNAVAILABLE_ADDRESS) <--- Doc bug... this is either not defined, or Doc is wrong // alert("The geocode for the given address or the route for the given directions query cannot be returned due to legal or contractual reasons.\n Error code: " + gdir.getStatus().code); else if (gdir.getStatus().code == G_GEO_BAD_KEY) alert("The given key is either invalid or does not match the domain for which it was given. \n Error code: " + gdir.getStatus().code); else if (gdir.getStatus().code == G_GEO_BAD_REQUEST) alert("A directions request could not be successfully parsed.\n Error code: " + gdir.getStatus().code); else alert("Ïîêà íå ìîæåì ïðîëîæèòü ýòîò ìàðøðóò."); } function onGDirectionsLoad(){ // Use this function to access information about the latest load() // results. // e.g. // document.getElementById("getStatus").innerHTML = gdir.getStatus().code; // and yada yada yada... } </script> <span class="style"> <p><form onsubmit="setDirections(this.from.value, this.to.value, this.locale.value); return false" action="#"> <table> <tbody> <tr><th align="right"><font color="#777777">Îò:</font> </th><td><input id="fromAddress" size="18" value="Ìîñêâà" name="from" /></td><th align="right"> <font color="#777777">Äî:</font> </th><td align="right"><input id="toAddress" size="18" value="Äóáíà" name="to" /> <font color="#777777">ßçûê:</font> </th><td colspan="3"><select id="locale" name="locale"> <option value="en">English</option> <option value="fr">French</option> <option value="de">German</option> <option value="ja">Japanese</option> <option value="es">Spanish</option></select> <input type="submit" value="Ïîêàçàòü ìàðøðóò!" name="submit" /> </td></tr> </table> </form> <table> <tbody> <tr><th><font color="#777777">Ïóíêû íà òðàññå</font></th><th><font color="#777777">ÊÀÐÒÀ</font></th></tr> <tr><td valign="top"> <div id="directions" style="WIDTH: 141px"></div> </td><td valign="top"> <div id="map_canvas" style="WIDTH: 583px; HEIGHT: 977px"></div> </td></tr> </tbody> </table></span> </p> </div></td> Вся эта конструкция работает отдельно _http://www.club-fish.ru/1/ а вот в контент джумлы (или на крайняк в модуль) вывести не могу
Ответ: Google AJAX Search API mod_vivi_code, mod_php.1.0.0.beta, mod_jumi_1_10, mod_html1.0.1beta3, mod_anything, includePHP-v1.1-Joomla1.0
Ответ: Google AJAX Search API какие компоненты и плагины ? можно поконкретнее указать какой бубет 100% работать ?
Ответ: Google AJAX Search API беру Jumi plugin 1.01 for Joomla! 1.0.x and Mambo 4.5.x, ставлю, прописываю - табличка с данными выводится, а сама карта гугла нет
Ответ: Google AJAX Search API Ничего не получилось, после долгих мучений пока вывел врайпером Если кто найдёт рабочий вариант - пожалуйста отпишитесь