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.18, cMap, custom field, template, theme
- This topic has 6 replies, 2 voices, and was last updated 7 years, 5 months ago by
Steven Zahm.
-
AuthorPosts
-
06/29/2016 at 2:54 am #380846
Brett Stephenson
GuestHi
Im using a Ink themes template but I can’t seem to find card.php to make possible extra custom fields
do you have any wordpress template that you recommend to use with Connections using cMap
06/29/2016 at 9:45 am #380874Steven Zahm
Keymaster@ Brett
re: I can’t seem to find card.php
For cMap, the file path will be:
../wp-content/plugins/connections-cmap/
This is a cMap template file, not a WordPress theme file which is why you can not find it in the theme.
re: do you have any wordpress template that you recommend to use with Connections using cMap
For the most part, you can use any WordPress theme you want. Just make sure it is current and well supported. In general, in well supported current themes the worst that ever happens is minor CSS conflicts which are for the most part easily resolved.
Hope this answers your questions.
06/29/2016 at 7:57 pm #380907Brett Stephenson
GuestThanks Steven
I’m a bit new to all this coding stuff so please bear with me !
in the doumentation you say
If you copy paste the above code, there are a few items you should
absolutely change… You should change the function name
cn_register_custom_metabox_and_text_field. Function names should
always be unique. If you do not make sure of this, you will crash your
site.is it important what I change the name to?
and do I need to change both instances?
eg
add_action( 'cn_metabox', 'cn_register_custom_metabox_and_text_field' ); function cn_register_custom_metabox_and_text_field() {
06/29/2016 at 8:15 pm #380908Brett Stephenson
Guesthi again
I’ve changed the name and the new field appears in the users listing admin/edit area but does not show on the front end
in fact I think i may be doing this all wrong to achieve what I want
I’ll start a new ticket – please ignore this one
06/30/2016 at 8:27 am #380953Steven Zahm
Keymaster@ Brett
re: is it important what I change the name to?
Nope, just unique.
re: and do I need to change both instances?
Yes, they must match.
re: I’ve changed the name and the new field appears in the users listing admin/edit area but does not show on the front end
Registering the custom field does not automagically cause it to display on the template. The reason is a custom field could represent any type of data or not to be displayed at all. To display it in the template, you need to follow the instructions at the bottom of the tutorial for displaying the text field.
I hope this helps!
07/01/2016 at 6:23 pm #381158Brett Stephenson
GuestHi Steven – did you get my contact email re the sscit directory sample you showed me?
the previous ticket re that seems to have disappeared & I just want to make sure you got my message
07/02/2016 at 11:05 am #381315Steven Zahm
Keymaster@ Brett
Yes, I received it. I ran out of time yesterday and did not get thru all my email. I’m catching up today so I’ll be responding soon.
Apologies for the delay!
ps. here’s the link to the other thread, not disappeared ;)
http://connections-pro.com/support/topic/create-searchable-field/
-
AuthorPosts
You must be logged in to reply to this topic.