Support has been upgraded!
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.
- This topic has 5 replies, 2 voices, and was last updated 13 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
02/02/2013 at 2:55 pm #250598
Gary Reading
ParticipantIs 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
02/03/2013 at 4:39 pm #250665Steven Zahm
KeymasterSorry, 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?
02/03/2013 at 4:43 pm #250666Gary Reading
ParticipantNo I am using slim
02/04/2013 at 8:14 pm #250748Steven Zahm
KeymasterAre you able to do some minor PHP editing?
02/05/2013 at 4:28 pm #250799Gary Reading
ParticipantI’m up for it.
02/05/2013 at 7:46 pm #250804Steven Zahm
KeymasterOk, open the template.php file found here:
../wp-content/connections_templates/slimFind 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; }
-
AuthorPosts
- You must be logged in to reply to this topic.
