• Resolved csweths

    (@csweths)


    Hi,
    I wanted to crate 2 types of user registration – tutor and child. So I downloaded the pdb-signup.php and renamed it to pdb-signup-child.php and inserted the code [pdb_signup template=child]
    When it insert the code [pdb_signup template=child] to the required page only a submit button is displayed.

    Further I also want to customize 2 types of registration fields after the initial sign up for tutor and child.

    I realize if I Can create templates and those templates appear under “Participants Database Settings” I can customize 2 different forms for two different audiences.

    How do I add customized tabs to “Participants Database Settings”. I am a non-programer so kindly advice. All I want is to duplicate the existing templates and rename them to show up under “Participants Database Settings” and use the new shortcode on the page.

    Thanks for helping me out.

    Warm Regards,
    Swetha

    http://wordpress.org/extend/plugins/participants-database/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Hi Swetha,

    It sounds like there is a problem with the template you created, so I’d suggest you make a close comparison to the default template you started with to see if you missed something. It does require a basic understanding of how PHP and HTML works in order to get these templates working.

    Don’t overlook the possibility that you can do what you need to do without using a custom template: you can control which fields are shown in the shortcode, for instance, and that might be enough to do what you want to do and no coding will be needed.

    Thread Starter csweths

    (@csweths)

    Thanks Xnau.That was useful.Yes I want to avoid coding.
    A couple of questions:

    Since I want to create 2 different user groups(Tutor and child), I want segregation during sign up to know which user group (tutor and child)do they belong to.
    Since I want 2 registration forms for 2 different user groups, is it a good idea to retain the original file pdb-signup.php and make a copy of the file and rename it to say pdb-signup-child.php. Would new shortcodes be required in the example I have just described?Can you link me to create new shortcode for this plugin.

    Would it require any changes to the code inside the template document?How to make them appear inside the “Participants Database Settings” along with the default template.
    Is a Bootstrap.php file required in this example?

    Thanks a lot.

    Thread Starter csweths

    (@csweths)

    Thanks Xnau.That was useful.Yes I want to avoid coding.
    Just got a new template to work. Thanks a lot.
    Now I have 2 registration forms one for Tutor using [pdb_signup) and another for child [pdb_signup template=”child”]

    Since I am using 2 templates hoping the 2 data will be segregated in the database and for search. Any suggestions?
    Also any way to use different colors or formats for forms.

    Plugin Author xnau webdesign

    (@xnau)

    If you want to separate the data that is submitted in each form, you need to use a field in the data that will differentiate them. For instance if you had a field named “type” with a value of “tutor” for a tutor record, you can show a list of only tutors by using a shortcode like this: [pdb_list filter=”type=tutor”]

    For the colors and formats, this you need to do byt adding your own CSS to the theme stylesheet or for some themes there is a “custom css” where you can put these styles. The plugin doesn’t have any style settings like that.

    Thread Starter csweths

    (@csweths)

    Thanks a lot Xnau, it was very useful.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add custom templates to Participants Database Settings’ is closed to new replies.