How to deploy a church dashboard to a conference

  1. Make a layout called "Church Dashboard" and have it use the central "Church Dashboard" layout.
    1. Link it to your website
    2. Put @RenderBody() into the layout's body
    1. Make a user called "Church dashboard" if there isn't already one. Admin > Users.
      1. Make this person an Admin BUT make them inactive and give them an insane username and password.
  2. Make a bunch of views and ensure that the "Church Dashboard" user has access to all of them. For each, you will go into Admin > Views and search on them. Click to get to that view's properties. And then if there are no instances of these views in your system, hit the green "new" button to add. Lastly, you may need to hide some fields if you don't want them appearing in the church dashboard. And give each view a "purpose=church dashboard"
    1. ChurchContact
    2. ChurchInfo
    3. ChurchLeadership
    4. ChurchLogin
  3. Make a bunch of data forms for the views you just made.
    1. But first make a reg form template for your church dashboard. In Reg > Brand assets and templates > Make one.
    2. Church Dashboard - Contact
      1. Title = Church Dashboard - Contact
      2. View = ChurchContact Church Dashboard
      3. Branded Template = The church dashboard template you just made.
      4. Redirect = https://CONFERENCESITE.org/dashboardcontacts
      5. RunAs = Church Dashboard
    3. Church Dashboard - Information
      1. Title = Church Dashboard - Information
      2. View = ChurchInfo Church Dashboard
      3. Branded Template = The church dashboard template
      4. Redirect = https://CONFERENCESITE/dashboardchurch
      5. RunAs = Church Dashboard
    4. Church Dashboard - Leader
      1. Title = Church Dashboard - Leader
      2. View = ChurchLeadership Church Dashboard
      3. Branded Template = Church Dashboard template you made
      4. Redirect = https://CONFERENCESITE/dashboardleaders
      5. RunAs = Church Dashboard
    5. Church Dashboard - Login Info
      1. Title = Church Dashboard - Login Info
      2. View = ChurchLogin Church Dashboard
      3. Branded Template = The church dashboard template
      4. Redirect = https://CONFERENCESITE/dashboardlogin
      5. RunAs = Church Dashboard
  4. Make a bunch of web pages that all use the "Church dashboard layout"
    1. Make a web page called "Church Dashboard" and the friendly must be "dashboard". And now make the rest of the pages under this page...
    2. Church Contacts. Friendly must = dashboardcontacts. Put this code snippet in
      @functions{
          public override void InitializePage() {    
              PageData["FormId"] = THE-DATA-FORM-ID-FOR-CHURCH-DASHBOARD-CONTACT;
              base.InitializePage();
          }
      }
    3. Church Information. Friendly must = dashboardchurch. Put this code snippet in
      @functions{
          public override void InitializePage() {    
              PageData["FormId"] = THE-DATA-FORM-ID-FOR-CHURCH-DASHBOARD-INFORMATION;
              base.InitializePage();
          }
      }
    4. Leaders. Friendly must = dashboardleaders. Put this code snippet in 
      @functions{
          public override void InitializePage() {    
              PageData["FormId"] = CHURCH-DASHBOARD-LEADER-DATA-FORM-ID;
              PageData["ContactFormId"] = CHURCH-DASHBOARD-CONTACT-DATA-FORM-ID;
              base.InitializePage();
          }
      }
    5. Leaders List (printable). Friendly must = dashprintleaders
    6. Login Info. Friendly must = dashboardlogin. Put in this code snippet
      @functions{
          public override void InitializePage() {    
              PageData["FormId"] = THE-LOGIN-INFO-DATA-FORM-ID;
              base.InitializePage();
          }
      }
    7. Church Dashboard Log-in Help. Friendly must = dashboardloginhelp. Make this page hidden.
  5. Time to put in an ActionLink so your people can backdoor log into the church dashboard.
    1. Go into Admin > Views > and search on Churches to go to that base view
    2. You'll need to get into a patch called <ActionLinks> If there is NOT one, add, otherwise put in just the element. So here's the code with both
      <ActionLinks>
          <ActionLink Href="https://CONFERENCESITE/dashboard/loginas/" Label="Church Dashboard" Location="DetailPrimaryToolbar" Secure="true" Id="ChurchDashboardLogin" />
        </ActionLinks>
  6. Now test it out. Go to churches and find a church and log in as them as see if it works.