Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Module ›

Location installieren

Eingetragen von Err0r@drupal.org (1)
am 30.08.2007 - 17:35 Uhr in
  • Module
  • Drupal 5.x

ich versteh nicht so ganz was ich da machen soll...
bei step 1:
soll ich den username etc einfach irgendwo in die datei schreiben?
username und passwort von meinem server oder was, und dann den namen der datenbank?
wie kann ich testen ob es richtig installiert ist?
step2:
öhm sind nicht schon die ganzenm dateien in den richtigen ordnern?

wär echt dankbar... :)

cheerz

Step 1
------
To support proximity searches and most useful features, you will need a
postal codes database for each country for which you plan to use a file from
the "supported/" directory. The database structure can be loaded from the
database/zipcodes.mysql file, and the data can be loaded from
database/zipcodes.CC.mysql (where CC is the two-letter country code).

As of this post, only U.S. and German postal codes are supported. A single
zipcodes table holds all the zipcodes. To create the zipcodes table using
the database/zipcodes.mysql file from within the location tarball, feed
these dumps to your database. If your site is using a prefix for database
table names, make sure to adjust accordingly. Careful, the postal code dump
for the US is a few MB.

  mysql -u username -ppassword -h localhost database-name < modules/location/database/zipcodes.mysql

To make use of the U.S. postalcodes:

  mysql -u username -ppassword -h localhost database-name < modules/location/database/zipcodes.us.mysql

To make use of the German postal codes:

  mysql -u username -ppassword -h localhoost database-name < modules/location/database/zipcodes.de.mysql

where "username", "password" are the username/loging and "database-name" are
the parameters to login to your Drupal site's database. You can leave out
"-h localhost" if your MySQL server runs on the same site as your Apache.
However, replace 'localhost' in "-h localhost" if your MySQL server is on a
different machine.

Step 2
------
In the "modules/" directory, create a subdirectory called "location/" which
itself contains a subdirectory called "supported/".

Download "location.inc" to "modules/location/"

Download "location.module" to "modules/location/"

Download "earth.inc" to "modules/location/"

Download "supported/location.us.inc" to "modules/location/supported/" (for
support of US locations)

‹ Statistiken auf der Seite - Modulentwicklung Image Import ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Err0r@drupal.org wrote: ich

Eingetragen von bv (3917)
am 03.09.2007 - 12:14 Uhr
Err0r@drupal.org schrieb

ich versteh nicht so ganz was ich da machen soll...
bei step 1:

Du mußt die entsprechende Tabelle anlegen und die SQL-Datei einlesen. Das kannst Du auch einfach über den PHPmyAdmin Import machen.

Err0r@drupal.org schrieb

step2:
öhm sind nicht schon die ganzenm dateien in den richtigen ordnern?

Wenn Du das Modul entpackt und in Dein Modulverzeichnis kopierst hast, sollte damit alles okay sein.

--
bv - drupalcenter.de

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • [gelöst]Pflichtfeld vom User deaktivieren lassen
  • Konto löschen, wie? (Drupalorg/Drupalcenter)
  • Layout-Builder hängt
  • Drupal 8/9 SEO-Beratung/Coaching
  • Verschachtelte UND / ODER Abfrage mit hook_views_query_alter
  • Kartenansicht, Position des Users und Nodes anzeigen
  • Hilfe zu Views und Filter?
  • Views für 2 Kategorien
  • [gelöst]Probleme nach löschen eines Menüpunktes im Adminmenü
  • [gelöst]Zufallsausgabe von Inhalt
  • Variable aus dem inkludierten Partial Template auslesen
  • Probleme beim Versand von Mails via Drupal 9
Weiter

Neue Kommentare

  • Danke das ist die Lösung
    vor 13 Stunden 20 Minuten
  • Ah, das sind wertvolle Hinweise
    vor 16 Stunden 21 Minuten
  • Schau Dir mal folgenden
    vor 16 Stunden 33 Minuten
  • Du kannst die Eigenschaften
    vor 16 Stunden 38 Minuten
  • Bitte meinen Account auch löschen
    vor 16 Stunden 38 Minuten
  • Danke, den hook kannte ich natürlich
    vor 18 Stunden 8 Minuten
  • Ich würde das mit
    vor 19 Stunden 44 Minuten
  • php war es nicht
    vor 1 Tag 8 Stunden
  • Ich mache so Sachen:-)
    vor 1 Tag 10 Stunden
  • Bei Google musst Du erst ab
    vor 2 Tagen 20 Stunden

Statistik

Beiträge im Forum: 246097
Registrierte User: 18884

Neue User:

  • Stine_64
  • uniquename
  • xapizm

» Alle User anzeigen

User nach Punkten sortiert:
wla9016
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3917
ronald3832
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 3 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association