Komplett magyar településlista Drupalhoz

Kategória: 
modulismertető
Komplett magyar településlista Drupalhoz

Na most vagy én gugliztam nagyon bénán, vagy egyszerűen idáig nem volt még ilyen: Olyan településlistát akartam, amiben egyaránt megtalálható irányítószám, településnév, megye. Ennek örömére összedolgoztam a Magyar Posta irányítószám listáját Laza Bálint település - megye taxonómia listájával, és készítettem hozzá egy igen szexi magyar widgetet az addressfield modulhoz: Addressfield - Hungarian address database

Az addressfield modulban a megjelenés hardcodeolt, úgyhogy ezen is igazítottam, hogy a magyar formához megfelelőt kapjunk:

6076 Ágasegyháza
Tistutya urca 13
Sándor palota
Bács-Kiskun megye

A modul most épp ezeket tudja:

  • Admin felület a településlista karbantartásához
  • Külön jogosultság a karbantartó funkciókhoz (hozzáadás, szerkesztés, stb)
  • Egy minimál csv importálás a modulhoz mellékelt csvkből.
  • Debug info a csvkről, pl melyik településhez nem sikerült megyét, irányítószámot találni.
  • A csvt javítva pikkpakk újraépíthető a településlista táblája.

Használata

  • Csak engedélyezd a modult, ahogy illik (kell hozzá az addressfield modul).
  • Egyelőre installkor nem importálom a településlistát, mivel még faragni kell rajta. Tehát manuálisan kell importálni: admin/structure/addressfield_hu/csv_debug
  • Adj egy Postal code típusú mezőt valamelyik entitáshoz, mondjuk a node story típusához.
  • A mező szerkesztő oldalon a Format handler fieldsetben kell kiválasztani az addressfield widgetet: Address form (country-specific) és Address form (Hungary add-on), kell mindkettő egyelőre! Myfail: nem nagyon hegesztettem még ctools plugint, és félreértettem az addressfield modul által tálalt plugin szisztémát.
  • Ha csak magyar címeket fogsz használni, az Available countries dobozban jelöld ki az országot, és kapcsold be Hide the country when only one is available format handlert is.

Ezek még tervben vannak

  • Fájlszintű import/export.
  • Testre szabható címkiírás, hogy lehessen pl H-1234, Budapest, stb, stb.. típusú címet beállítani
  • Ez utóbbit pedig instance settings szintjén (hogy hívják ezt magyarul??), tehát pl minden egyes tartalomtípusnál külön-külön állíthatóan.

Mikor lesz rendes release?

  • Rendbe kell tenni az településlista adatbázist. (saccperkb 95%-ban jó, nyugodtan lehet ám jelezni/javítani a hibát, akár itt kommentben is!)
  • El kell takarítanom az Address form (country-specific) widgettől való függőséget.
  • A mellékelt csvkből egyet kell csinálni, hogy könnyebben karbantartható legyen.
  • És egy hónapig nincs komoly hiba.

Bármilyen észrevételt, ötletet szerettel várok, sztem a dhu-n is csinálok nemsokára egy ötletbörze témát. Ezt a modult én hamarosan éles oldalon fogom használni, szóval remélem, minden fontos dolog kiderül róla.

UPDATE: Csatolva az összegyúrt db csv:
http://drupalcode.org/project/addressfield_hu.git/blob_plain/refs/heads/...

Hozzászólások

Pretty nice post. I just

Pretty nice post. I just stumbled upon your blog and wished to
say that I've truly enjoyed surfing around
your blog posts. In any case I will be subscribing to your
feed and I hope you write again very soon!

It all depends on the type of

It all depends on the type of motor you are trying to
cool and how much heat is being generated inside of it. The very running
property that is car or other vehicle is also locked to avoid its theft.
Only the pins and tumblers of the locks are replaced, thereby invalidating existing keys.

Hello there! Do you use

Hello there! Do you use Twitter? I'd like to follow you if that would
be okay. I'm definitely enjoying your blog and look forward to new posts.

The Best Western Hi-Desert

The Best Western Hi-Desert Inn is close to casinos, Yosemite National Park and restaurants.

Wow, awesome blog structure!

Wow, awesome blog structure! How long have you been writing a blog for?
you made blogging look simple. The total look of your
website is great, let alone the content material!

Hi! I'm at work browsing your

Hi! I'm at work browsing your blog from my new apple iphone!

Just wanted to say I love reading your blog and look forward to all your
posts! Carry on the great work!

Bramah manufactures locks for

Bramah manufactures locks for domestic and commercial use.

Usually a security code is used to open these kinds of locks.
These companies may present specialized talent and gear needed
for the work.

Learn strategies on how to do

Learn strategies on how to do the finishing scissor work on your dog's
hair in this free video. The hotel offers dog-friendly rooms which has a deposit fee per night.

This website certainly has

This website certainly has all of the information and facts I wanted about this subject and didn't know who to
ask.

Very quickly this site will

Very quickly this site will be famous amid all blogging and site-building users, due to it's good articles

However, if foreign languages

However, if foreign languages settings are
changed from English. Any email client that supports HTML formatting is going to do.

It's going to be ending of

It's going to be ending of mine day, however before finish I am reading this great article
to increase my know-how.

Hi to every one, it's truly a

Hi to every one, it's truly a good for me to pay a visit this website,
it consists of useful Information.

Have you ever thought about

Have you ever thought about adding a little bit more
than just your articles? I mean, what you say is fundamental
and all. But think about if you added some great images or videos to give your posts more, "pop"!
Your content is excellent but with images and video clips, this site
could certainly be one of the best in its niche. Terrific blog!

Whats up are using Wordpress

Whats up are using Wordpress for your blog platform? I'm new
to the blog world but I'm trying to get started and set up my own. Do you require any coding
expertise to make your own blog? Any help would be really appreciated!

My blog :: what do testosterone pills do

It all depends on the type of

It all depends on the type of motor you are trying
to cool and how much heat is being generated inside
of it. That is absolutely true, since you will
be able to improve in each aspect. These companies may present specialized talent and gear needed for the work.

You're so awesome! I dont

You're so awesome! I dont suppose I've discovered anything
like this before. So good to find any person with some authentic ideas on this subject.
really thank you for starting this up. this website is something that is wanted on the internet, someone with a little
bit originality. very helpful job for bringing new things to the
web!

What's up to every body, it's

What's up to every body, it's my first pay a quick visit
of this website; this blog consists of remarkable and truly fine stuff
designed for visitors.

Netflix is really a DVD

Netflix is really a DVD rental company of movies and TV episodes
that gives subscribers with instant streaming,
.

If you want to get this

If you want to get this useful gizmo then see all data below and
if you wish to obtain itt then just press on download button.

Greetings from Carolina! I'm

Greetings from Carolina! I'm bored to death
at work so I decided to check out your site on my iphone during lunch break.
I love the info you provide here and can't wait to take a look hen I gett
home. I'm shocked at how fast your blog loaded on my phone ..
I'm not evwn using WIFI, just 3G .. Anyways, excellent
blog!

My web-site ...http://www.IOSEQUE.NET

I think your advice will be

I think your advice will be very helpful for me.
I will inform you if its work for me as well. Thank you for sharing this
beautiful articles. many thanks.

Surely you have got superb

Surely you have got superb ideas here and I love your blog!

I’ve bookmarked it ensuring that I can return & read more
later on.

Hi there, I desire to

Hi there, I desire to subscribe for this web site to take newest
updates, thus where can i do it please assist.

By making a use of our Swamp

By making a use of our Swamp Attack hack Hackk you'll get limitless
Cash on Swamp Attack hack Hack and Potions on Swamp Attack hack Hack!

I have read so many articles

I have read so many articles regarding the blogger lovers but this article is really
a pleasant post, keep it up.

AOL Desktop's browser

AOL Desktop's browser resembles Internet Explorer as it is based
within the same underlying code.

If you are going for finest

If you are going for finest contents like myself, simply visit this site all the time for the reason that it offers feature contents, thanks

Praise your canine during an

Praise your canine during an inspection for you the message that paw handling
is really a good thing.

For this reason, it can be

For this reason, it can be important to support your messages for safe.

As wee do not want this

As wee do not want this instrument gets patched, youu will need to fill quick and simple survey.

Thanks for the tips you have

Thanks for the tips you have provided here. Cheers!

Netflix is often a video

Netflix is often a video service that enables
for mail-delivery rental of DVDs and Blu-ray discs for
just a monthly fee.

You in all probability know

You in all probability know many individuals (especially
from YouTube) who've tons of cash and factors… THIS is where they get
their FIFA 15 coins andd factors!

Mitie's pest management crew

Mitie's pest management crew are consultants at eliminating mice and rats.

I do accept as true with all

I do accept as true with all of the ideas you have offered to your
post. They are very convincing and can definitely work. Nonetheless, the posts are very quick
for starters. Could you please extend them a
bit from next time? Thank you for the post.

I don't even know how I ended

I don't even know how I ended up here, but I thought this post was good.
I do not know who you are but certainly you are going to a famous blogger if you are not already ;)
Cheers!

Very good write-up, I'm a

Very good write-up, I'm a regular visitor of your blog.
I really like reading your posts.

Whoa! This blog looks just

Whoa! This blog looks just like my old one! It's on a totally
different subject but it has pretty much the same layout and
design. Superb choice of colors!

We should be cautious even

We should be cautious even though picking a locksmith, as we will need a
skilled that will be ready to securely safe our treasured items.

Here are several things you are able to do to prevent these types of situations:.

Make sure you clean your face thoroughly before moisturizing.

Obviously, however, the world

Obviously, however, the world of domain name
purchasing and selling is quite active and there is quite plenty of cash
to be made. But this much is certain, once a person has
suffered through the painful and embarrassing sores associated with this infection, he or
she will not soon forget. There will be, however, no approach to predict the
length of time it should take to disappear completely and several
people will certainly bring this issue nicely inside their thirties, forties,
as well as over and above.

Hello my friend! I want to

Hello my friend! I want to say that this post is great,
nicely written and include almost all important info.
I’d like to see more posts just like this.

Hi! Great stuff, please keep

Hi! Great stuff, please keep me posted when you post something just like this!

AOL is usually a massive

AOL is usually a massive American web service
and multimedia company.

But low platelets, if it gets

But low platelets, if it gets small, it could cause serious
and fatal problems.

The first function of Pixel

The first function of Pixel Gun 3D hacks wold be to generate
the players' amount of jewels and coins to be used within the sport.

Follow these five basic steps

Follow these five basic steps to getting the most recent instant messaging application software produced by Yahoo.
Visit Yahoo's website and sign in to your Yahoo account (see Resources below).

Thanks so much for another

Thanks so much for another post. I am pleased to
be able to get that kind of information.

The Trove Hack itself is

The Trove Hack itself is continually updated to guide stability concerns and most of the newest spots, so that
you won't experience any difficulties in applying this cheat tool.
The assistance team is not unready resolve reports rapidly as possible and to reply any inquiries.

Bramah manufactures locks for

Bramah manufactures locks for domestic and commercial use.
In addition, you might need to have an electronic key replaced and a locksmith can also perform this service.
This is one of the miracles an auto locksmith can perform.

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.