- This topic has 5 replies, 2 voices, and was last updated 9 years, 4 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Is there an easy way to display the State and Zipcode on a separate line from the City. This would be standard format in the UK. Or akternatively (and would achieve the same effect) are there any plans to add an address line 4
Sorry, no plans for an address line 4, but I’ll add it to my feature request list. As for the address format, are you using cMap?
No I am using slim
Are you able to do some minor PHP editing?
I’m up for it.
Ok, open the template.php file found here:
../wp-content/connections_templates/slim
Find this in line 43:
$entry->getAddressBlock();
Change it to this, will put the address token parts in the order you need them. And if you do not need to change the order, skip this step completely:
$entry->getAddressBlock( array( 'format' => '%label% %line1% %line2% %line3% %city% %state% %zipcode% %country%' ) );
Now, all you need to do is add some CSS to the styles.css file found in the same folder
#cn-list .locality { display: block; }
#cn-list .region { display: block; }
#cn-list .postal-code { display: block; }
You must be logged in to reply to this topic.