Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Adding 3 new fields on Signup page

    General Discussion
    2
    4
    444
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sheelaw last edited by

      Hi,

      I am trying to add 3 new fields on signup page. I added new files under Models, controller, contracts and Repository. Also, added under providers but getting below error

      7b18d51c-3146-4e92-b363-77287fcdcd3b-image.png

      1 Reply Last reply Reply Quote 0
      • P
        prateek-webkul last edited by prateek-webkul

        Hi sheelaw,

        • You need to register your model in ModuleServiceProvider.php file within '$models' array as shown in screenshot

        forum-isses1.png

        • Also, goto config/concord.php file and add your package moduleserviceprovider class under 'modules' as shown in screenshot

        forumissue-2.png

        • Within provider , register your package ModuleServiceProvider within boot method by writing below line
        $this->app->register(ModuleServiceProvider::class);
        

        Thanks

        1 Reply Last reply Reply Quote 0
        • S
          sheelaw last edited by

          @prateek-webkul said in Adding 3 new fields on Signup page:

          ModuleServiceProvider

          Thanks for your reply Prateek. I have already register modles in ModuleSErviceProvider.php
          dade44f0-1dbf-4d86-a188-35f637b2286e-image.png

          Under config/concord.php file, there is already this package included.

          e65ada3b-20de-48ec-a848-f61c7d6757da-image.png

          I didnt you third poiny to register your package ModuleServiceProvider within boot
          Do you mean this?

          edb2ca11-0be0-480d-8539-212a1d1a44f8-image.png

          1 Reply Last reply Reply Quote 0
          • S
            sheelaw last edited by

            All good Prashant. I got it 🙂

            Thanks for your help.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post