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

Location installieren

Eingetragen von Err0r@drupal.org (1)
am 30.08.2007 - 18: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 (3924)
am 03.09.2007 - 13: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

  • Neuinstallation: vermutlich ein rewrite-Problem
  • Drupal CMS installieren
  • [erledigt]MP3 in Drupal 10 einbinden
  • (gelöst)Drupal 11 installieren
  • Titel ausblenden
  • Ich brauche dringen Hilfe zu Updates oder ggf. wwie geht Composer?
  • Dynamische Ansicht von Seiteninhalt (als Tabelle?)
  • Vergabe von Berechtigungen für bestimmte Rollen; mir fehlt der Haken bzw. das „Veröffentlicht“
  • Medien und andere Daten mit Feeds von Drupal 7 auf Drupal 10 migrieren
  • Rolle erstellen nicht zu finden
  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
Weiter

Neue Kommentare

  • Was für einen Server benutzt
    vor 3 Tagen 2 Minuten
  • Wenn die Subdomain auf
    vor 4 Tagen 22 Stunden
  • ordnerstruktur
    vor 5 Tagen 9 Stunden
  • Die Subdomain muß auf den
    vor 1 Woche 16 Stunden
  • Verwende doch das Tag dafür,
    vor 4 Wochen 2 Tagen
  • Guckst du hier: step by step
    vor 4 Wochen 2 Tagen
  • Guckst du hier: step by step
    vor 4 Wochen 2 Tagen
  • Ich habe ja keine Angst vor
    vor 5 Wochen 4 Tagen
  • Ist grundsätzlichmachbar – aber nichts für „einfach mal schnell“
    vor 5 Wochen 6 Tagen
  • Vielen Dank erst einmal, aber
    vor 6 Wochen 1 Tag

Statistik

Beiträge im Forum: 250289
Registrierte User: 20512

Neue User:

  • MichaelPeeno
  • Pavlotog
  • burningTree

» Alle User anzeigen

User nach Punkten sortiert:
wla9466
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 30 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