Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ NetWarden
Unfortunately I don’t have a clear enough picture of how the region and business type relate and how you want users to be able to filter them…
So, why not use Say What? to rename the
Countryfield toRegionthat way there is no reason to hide it. I guess one issue will be ensuring consistent input by users. They only way I can see that is if you edit Form to make the country field a hard coded drop down for the user to select the correct region.The intent for Form is a simple plug and play front-end form for Connections, it really is not designed for custom data. The next version will allow for a bit more customization, but that is mainly to support the upcoming meta field support. The core of what you see will still be the same.
I don’t really plan on make a custom form builder (at this point) … I actually intend to create “bridge” extensions so form builder plugins like Ninja forms and Gravity Forms can be used to create form that can feed data into Connections.
Steven Zahm
Keymaster@ Tim
Yes, I’m pretty certain this is the only file that will need to be edited. My lack of certainty only stems from that fact the code base for Connections is getting too large to commit to memory
Steven Zahm
Keymaster@ Michal
I you want to give me access to you phpMyAdmin panel, I can run the queries for you.
Steven Zahm
Keymaster@ Michal
The query should be this:
UPDATE 512_connections_term_relationships SET term_taxonomy_id = X WHERE term_taxonomy_id = 1xis the actual category ID forCompaniesnot the category name.
1is the actual category ID forUncategorized. You would only change it from1if the category ID is not1.Steven Zahm
Keymaster@ Matt
You can do some of this…
In the upper right corner of the browser window you will see a
Screen Optionstab. Click that. This will allow you to hide the metaboxes you do not need to show.You can rename
Biographical Infowith the Say What? plugin.Install the Say What? plugin.
It’ll add a new Text Changes menu item. Click Add New, enter the string exactly as shown in Connections, enter connections [notice the lack of capitalization, that's important!] as the domain and then enter your new text.
The great thing about using this plugin is that it will be update safe and you can use it on any other plugin that has been properly internationalized.
For
Original stringyou would useBiographical Infoand forNew stringyou would useEmployment HistoryThe last item on you list would be custom fields. Currently this is not supported by Connections. The work is completed to add this support in the next Connections update. You can see it in action here. Keep in mind that this new support would still require coding to add the new fields as there is not yet a point and click way to add them.
I hope that helps.
Steven Zahm
Keymaster@ Tim
Sorry, but there is not really an easy solution to this. You have to edit the PHP files to do this which means you’ll have to make this change when you update Connections. You would have to edit this file changing the order of they arrays to put the work types first.
For example, to change the address type order you would have to change this starting on line 783:
public function getDefaultAddressValues() { $defaultAddressValues = array( 'home' => __( 'Home' , 'connections' ), 'work' => __( 'Work' , 'connections' ), 'school' => __( 'School' , 'connections' ), 'other' => __( 'Other' , 'connections' ) ); return $defaultAddressValues; }To this:
public function getDefaultAddressValues() { $defaultAddressValues = array( 'work' => __( 'Work' , 'connections' ), 'home' => __( 'Home' , 'connections' ), 'school' => __( 'School' , 'connections' ), 'other' => __( 'Other' , 'connections' ) ); return $defaultAddressValues; }Hope that helps.
Steven Zahm
Keymaster@ Cindy
I see you have cMap, so yes, you can do this. Here’s how…
Install the Code Snippets plugin.
Download and unzip the file attached to this reply.
Import the code snippet XML file, search.code-snippets.xml, into Code Snippets. See the FAQs on where to find the import feature.
Activate the newly imported snippet.
Lastly, addinitial_results=falseto the[connections]shortcode.That should do it.
Attachments:
You must be logged in to view attached files.Steven Zahm
Keymaster@ Sean
Can you flush the page cache and then deactivate W3TC? Also, I do no see the anything on the Ad Event page, just the head and footer, not the form.
Steven Zahm
Keymaster@ Eric
Yes, that works too. That is something I do usually suggest … guess I suggested the coding way because you mentioned PHP editing.
Yeah, grouping is on my todo list. It is just a little lower on the list because it is not requested all that much, yet. As Connections continues to grow, I do imagine grouping will be requested more and more for the very specific reasons you mention.
Steven Zahm
Keymaster@ Peter
Yes, that is intended behavior. It matches how WordPress would display posts by category. There is no easy way to make that change. There are only two options that I can think of off the top of my head. One is to custom code a new drop down which would be quit involved. The second option would be more of a hack. I think you can change this line to this:
if ( ! empty( $queryCategoryID ) ) $atts['category_in'] = $queryCategoryID;That should limit the query to only the category selected. If you chose this option, you would have to reapply this change after every Connections update.
Hope that helps.
-
AuthorPosts
