graphxks VIP
Total posts: 68
01 Jul 2014 02:43

I've made a custom template for an output page based on the fields_keys_by_id[] method.

When displaying the Geo field, the address displays the zip code out of order.

Screen Shot 2014-06-30 at 10.34.11 PM

How do I fix this so the Zip code displays after the state name?

Thanks!

Last Modified: 07 Jul 2014


pepperstreet VIP
Total posts: 3,837
01 Jul 2014 17:32

graphxks custom template for an output page based on the fields_keys_by_id[] method.

Do you output the whole field?

You may access and output address parts only. Here is a related topic how to output each part seperately.


graphxks VIP
Total posts: 68
01 Jul 2014 20:49

I output the whole field as I want the address, the phone and email (if entered), and the map. See http://new.michiganwatertrails.org/index.php?option=com_cobalt& ;view=record&id=22:port-of-cross-village&Itemid=166.

I'll look into your referred topic Pepperstreet, thanks for that.


Sergey
Total posts: 13,748
01 Jul 2014 23:57

Where is the place foe ZIP? What should it be like?


pepperstreet VIP
Total posts: 3,837
02 Jul 2014 03:23

Sergey Where is the place foe ZIP? What should it be like?

I think, this depends on the country. US seems to append the ZIP after the state's name. In Europe it is vice-versa. Example for Germany: 12345 Hamburg (there is NO comma between ZIPcode and Name!)

Here is a related website with examples and formats.

So, it is not possible to have a common default setting for the field's default output. Maybe with a new parameter? Or even a drag-n-drop ordering for address parts?


graphxks VIP
Total posts: 68
02 Jul 2014 14:28

In the states the format is "street number" "street name" "city" "state" "zip code"


Sergey
Total posts: 13,748
03 Jul 2014 00:18

Fixed.


graphxks VIP
Total posts: 68
03 Jul 2014 13:08

THanks Sergey. How do I get the fix?


pepperstreet VIP
Total posts: 3,837
03 Jul 2014 16:12

graphxks THanks Sergey. How do I get the fix?

Most likely in next release... today?! Check-out Cobalt Everything package v8.562

Oh, just noticed that single download of Geo-field is not updated yet. Still v8.178. I guess it will be updated shortly...


Sergey
Total posts: 13,748
04 Jul 2014 00:13

pepperstreet Oh, just noticed that single download of Geo-field is not updated yet. Still v8.178

This is strange. I had the same version on my Mac. I unziooed it to check if fix is inside. I thought may be version was not changed somehow but fix is theer and in the middple of the process this file disappear in the folder and 8.179 appeared. But I did nothing!

This is completely freaking me out.


graphxks VIP
Total posts: 68
07 Jul 2014 16:24

New version of Geo code fixed it! Thank you Sergey!

Powered by Cobalt