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 3 replies, 2 voices, and was last updated 4 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
11/26/2018 at 6:40 pm #477886
Matthew Purdom
ParticipantHi Steven,
I was wondering if there is a way to order how addresses show up within CMAP? Primarily, I’m wondering if the preferred radio button is supposed to add a preferred address to contact or visit the user? I have some Physicians that have multiple “Work” locations and they would like to list them all, BUT list one as the preferred contact or visiting location. What would be the best way to approach this? An example of where this is conflicting can be found here: https://www.nmms.org/find-a-physician/?cn-cat-in%5B%5D=&cn-cat-in%5B%5D=&cn-zipcode=&cn-radius=5.1&cn-latitude=&cn-longitude=&cn-near-coord=&cn-unit=mi&cn-s=anderson
If you look at Paul Anderson (first listed physician) you will see that he has a Work location in Lubbock Texas, but also has one in Clovis New Mexico that he would like listed as his preferred address/phone. However, because the Texas location is listed first in the directory, it’s being listed first on his card. However, I need his Clovis location listed first (or designated somehow in bold or something) and was chosen as the preferred. What would you recommend for this situation?
11/27/2018 at 9:57 am #477918Steven Zahm
Keymaster@ Matthew
RE: I need his Clovis location listed first
Edit the Paul Anderson entry in the Connections admin. You can use drag and drop to order the addresses you wish them to be displayed in :)
Tip, this works for all the repeatable fields in Connections when adding/editing an entry :D
RE: (or designated somehow in bold or something) and was chosen as the preferred. What would you recommend for this situation?
Because you set the address as preferred, a
preferred
class is added to the address block which can used as a CSS selector. Actually there are two classes you can use and they arecn-preferred
andcn-address-preferred
.The
cn-preferred
class will be added to all items set as preferred such as address, phone, email, so on…The
cn-address-preferred
will be added to addresses only. So to bold the preferred address you would add this to the these’s custom CSS area:span.cn-address-preferred { font-weight: bold; }
OR, set all preferred items to bold:
span.cn-preferred { font-weight: bold; }
Hope this helps!
11/27/2018 at 1:07 pm #477950Matthew Purdom
ParticipantSteven,
Awesome! You really have thought about everything in this set of plugins. Truly remarkable! However, the individual addresses within (repeatable fields) don’t drag and drop for me. Each section of the form does, like bringing social media up higher in the form, but I can’t move addresses within the addresses, phones, or email sections of the form. Thanks for the CSS that worked marvelously! The drag and drop would be fantastic because many of these Physicians have two or more clinics and want to list them all, but designate one (highest on the list primarily) as their “home” office.
So if drag and drop within addresses won’t work, what about if they re-enter them and list them in order, is that the next workaround?
11/27/2018 at 3:22 pm #477964Steven Zahm
Keymaster@ Matthew
The drag and drop of individual address should work… hover the mouse in between the Preferred and Visibility option above the address lines. If there is no space, make the browser window larger. Left click and hold. Now drag. It can take about a second for the drag event to register. Keep dragging in the direction you want to move it. You should see the entire address block detach and as you drag towards the location you want it, a drop target should get displayed. Continue to drag over the drop target and leave go of the mouse button.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.