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.
Tagged: 8.5.32, csv import, extension
- This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
03/22/2017 at 8:52 pm #416750
Jennifer
ParticipantHi Steve, 2 quick import questions. I’m not having luck importing the family name from a CSV (the other fields work fine). Am I missing something, or is it not possible to specifically import the family name?
The other import question is re: web site links. I can import the link URL and title, but is it possible to specify the link target as well? If not, is there any code that can be added to the card.php file to make an entry’s web site link open in a new window by default?
Many thanks!
Jennifer03/23/2017 at 10:23 am #416813Steven Zahm
Keymaster@ Jennifer
re: I’m not having luck importing the family name from a CSV (the other fields work fine). Am I missing something, or is it not possible to specifically import the family name?
Families can only be created in the admin after the individual have been imported.
re: I can import the link URL and title, but is it possible to specify the link target as well? If not, is there any code that can be added to the card.php file to make an entry’s web site link open in a new window by default?
Correct, the setting can not be imported at this time.
This code snippet should force all links to open in a new window (untested) regardless of the setting.
add_filter( 'cn_link', 'cn_link_target' ); function cn_link_target( $link ) { $link->target = 'new'; return $link; }Hope that helps, let me know.
-
This reply was modified 9 years, 4 months ago by
Steven Zahm. Reason: Correct misspelling
03/23/2017 at 6:53 pm #416917Jennifer
ParticipantRE: Families can only be created in the admin after the individual have been imported.
Thanks, Steve. I did read that individuals can’t be linked to a Family via import, but was particularly interested in the Family Name field specifically as I have ~400 entries that I have to upload as organizations and then convert to families. This would be a future feature that I’d be very excited to see.
RE: This code snippet should force all links to open in a new window (untested) regardless of the setting.
Thanks for that. I haven’t been able to get it to work (I loaded it into Code Snippets and corrected the spelling of target, also tried ‘_blank’ instead of new), but it’s not the end of the world to have to switch the target if I’ll already have to edit each organization’s entry to convert to a family.
03/23/2017 at 6:56 pm #416918Jennifer
ParticipantWhoops, I take it back about the snippet not working. My fault — caching will get me every time. Many thanks!
03/24/2017 at 9:49 am #417037Steven Zahm
Keymaster@ Jennifer
Feature request noted and glad to hear the code snippet worked!
-
This reply was modified 9 years, 4 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
