BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 1,801 through 1,810 (of 15,332 total)
  • Author
    Posts
  • in reply to: Adding 2nd custom field to snippet #461019
    Steven Zahm
    Keymaster

    @ Erika

    You need to add cnMetaboxAPI::add( $atts ); after your first field.

    Hope that helps!

    in reply to: Restricted search based on cities and countries #461014
    Steven Zahm
    Keymaster

    @ Alan

    If I understand the question correctly… Navigate to the Connections : Settings admin page and click the Search tab. Disable all the field options except for the City and Country fields. Save the changes. Now the keyword search field will only return results from matches again those two fields.

    Hope that helps!

    in reply to: Form fields #461013
    Steven Zahm
    Keymaster

    @ Erika

    RE: It would be Really helpful if I could change the names of some fields – i.e. change the fieldset “categories” to location. Can this be done?

    Navigate to the Connections : Settings admin page and click the Field Configuration tab. Many field labels can be changed. Such as “Work Phone” could be changed to “Business Phone”

    Other text in Connections, see this tutorial on how to change labels and other test in Connections.

    In your specific example, the “Categories” label, you will need to use the connections_form text domain instead of the connections text domain mentioned in the tutorial because that specific string happens to originate from Form instead of Connections.

    Hope that helps!

    in reply to: metabox and fields #460850
    Steven Zahm
    Keymaster

    @ Seun Tayo

    Yes, that is correct. The full code would be like this to add three fields:

    // Register the metabox and fields.
    add_action( 'cn_metabox', 'cn_register_custom_metabox_and_text_field' );
    
    function cn_register_custom_metabox_and_text_field() {
    
        $atts = array(
            'title'    => 'Metabox Name',         // Change this to a name which applies to your project.
            'id'       => 'custom_one',           // Change this so it is unique to you project.
            'context'  => 'normal',
            'priority' => 'core',
            'fields'   => array(
                array(
                    'name'       => 'Field Name', // Change this field name to something which applies to you project.
                    'show_label' => TRUE,         // Whether or not to display the 'name'. Changing it to false will suppress the name.
                    'id'         => 'field_id',   // Change this so it is unique to you project. Each field id MUST be unique.
                    'type'       => 'text',       // This is the field type being added.
                    'size'       => 'regular',    // This can be changed to one of the following: 'small', 'regular', 'large'
                ),
                array(
                    'name'       => 'Field Name', // Change this field name to something which applies to you project.
                    'show_label' => TRUE,         // Whether or not to display the 'name'. Changing it to false will suppress the name.
                    'id'         => 'field_id',   // Change this so it is unique to you project. Each field id MUST be unique.
                    'type'       => 'text',       // This is the field type being added.
                    'size'       => 'regular',    // This can be changed to one of the following: 'small', 'regular', 'large'
                ),
                array(
                    'name'       => 'Field Name', // Change this field name to something which applies to you project.
                    'show_label' => TRUE,         // Whether or not to display the 'name'. Changing it to false will suppress the name.
                    'id'         => 'field_id',   // Change this so it is unique to you project. Each field id MUST be unique.
                    'type'       => 'text',       // This is the field type being added.
                    'size'       => 'regular',    // This can be changed to one of the following: 'small', 'regular', 'large'
                ),
            ),
        );
    
        cnMetaboxAPI::add( $atts );
    }
    

    Hope that helps!

    in reply to: Form fields #460848
    Steven Zahm
    Keymaster

    @ Erika

    RE: how can i avoid them choosing the directory home page? It automatically showed there i think?

    Navigate to the Connections : Settings admin page and click the Form tab. Scroll to the Fieldsets section and uncheck the Entry Directory Homepage option.

    RE: I’m actually looking for instructions specific to various fields – not just before & after the entire form. Impossible?

    Sorry, but content can only be added to before and after the form.

    in reply to: Form submission approval #460843
    Steven Zahm
    Keymaster

    @ Erika

    Do not submit an entry, while testing, logged in. When you are logged in, you are logged in as as admin. So when you submit an entry you are adding it as an admin. As an admin it is not required to be moderated because you are the admin.

    In regards to timing of receipt of email. That is solely dependant on your web host. If you anticipate sending a lot of email, it is highly recommended you use a email host provider such as SendGrid.

    Hope this helps!

    in reply to: Form fields #460842
    Steven Zahm
    Keymaster

    @ Erika

    RE: Is there a way I can rename fields – for example change “Organization” to “Business Name”

    See this tutorial on how to change labels and other test in Connections.

    RE: I only want to show individual as an option – not organization. I only have organization selected on form settings, but it continues to show both.

    Navigate to the Connections : Settings admin page and click the Form tab. Scroll down to the Entry Type option and uncheck the box, then choose “Individual” from the Default Entry Type option which is right below it.

    RE: Is there a way to insert instructions above any of these sections within the form?

    Navigate to the Connections : Settings admin page and click the Form tab. Scroll to the Content Before section. Use this to display instructions before the for. Scroll further down and you will find a Content After option which will display content after the form.

    Hope this helps!

    ps. You probably should not allow your users to choose the directory home page.

    in reply to: metabox and fields #460822
    Steven Zahm
    Keymaster

    @ Seun Tayo

    RE: Is it possible to have several fields within a metabox when adding custom field?

    Yes, it is possible. I’m assuming you’ve read the custom text field developer doc, correct?

    The fields key can be an array of fields. The sample code only shows a single text field. Each field you add will be within the same metabox.

    Hope this helps!

    in reply to: can't find form #460535
    Steven Zahm
    Keymaster

    @ Erika

    You have the following page set as the home page:

    http://birthingfromwithin.com.158-69-37-116.vanilla.websavers.ca/directory/

    The directory home page will need to be set to a page which has the [connections] shortcode on it.

    The Form settings on the Connections : Settings admin page has options which you can use to place content before and after the form.

    Hope that helps!

    in reply to: str_cell_phone='Cell' #460529
    Steven Zahm
    Keymaster

    @ JL Thalacker

    RE: is there a way I am able to display in columns?

    Perhaps one of these templates would meet your needs:

    Hope that helps!

Viewing 10 posts - 1,801 through 1,810 (of 15,332 total)