{"id":321,"date":"2020-11-29T20:57:59","date_gmt":"2020-11-29T20:57:59","guid":{"rendered":"https:\/\/xcrud.net\/eshop\/?page_id=321"},"modified":"2021-01-05T14:12:55","modified_gmt":"2021-01-05T14:12:55","slug":"xcrud-pro-1-0-manual","status":"publish","type":"page","link":"https:\/\/xcrud.net\/eshop\/xcrud-pro-1-0-manual\/","title":{"rendered":"xCrud Pro 1.0 Manual"},"content":{"rendered":"<p>The main goal of xCrud Pro 1.0 is to reduce the development time while providing a cutting edge robust solution.<\/p><p> xCrud Pro 1.0 utilizes xCrud 1.7 library in its framework.<\/p><p>xCrud Pro has the following modules<\/p><ul class=\"wp-block-list\"><li>Authentication Module<\/li><li>User\/Role Configuration Module<\/li><li>Role\/Menu Configuration Module<\/li><li>xCrud 1.7<\/li><\/ul><p>All xCrud 1.7 features are incorporated into xCrud Pro. It has a Full Bootstrap UI Theme integration<\/p><p>With xCrud Pro, you are left dealing with xCrud pages &amp; business logic only.<\/p><p>If you have an existing xCrud 1.7 application, you can easily migrate it to the new xCrud Pro.<\/p><h2 class=\"wp-block-heading\">About xCrud Pro<\/h2><p>In most cases, solutions require an authentication feature to allow users access the system. xCrud Pro provides a login form that authenticates users against user records in the database. <\/p><p>Before usage the following items have to be configured<\/p><ul class=\"wp-block-list\"><li>User is created in the system and given a password.<\/li><li>A role is created in the system.<\/li><li>Menu Tree is created for the role<\/li><li>User is allocated a role<\/li><li>User can now login, select the allocated role and proceed to main page. User will only see the menu items that belong to the selected role<\/li><\/ul><h2 class=\"wp-block-heading\"><\/h2><h2 class=\"wp-block-heading\">User is created in the system and given a password.<\/h2><p>xCrud user has a superuser account which is used to configure the rest of the accounts.<\/p><p>The superuser account by default has the following credentials. Deletion for this account is disabled.<\/p><p><strong>username:<\/strong> admin          <strong>password:<\/strong> abc123<\/p><p><em><strong>Important<\/strong><\/em><\/p><p>Once you have deployed the application to the production environment, it is important to change this password and create a complex password for security purposes.<\/p><p>Authentication module provides a login form which is launched on the application access.<\/p><p>This allows for users to be authenticated before accessing the system. It is activated by default with the downlodable copy.<\/p><p>Upon successful login, user is directed to choose a role and after clicking &#8216;Proceed&#8217;, he is redirected to the main application landing page which for our instance is the dashboard.<\/p><p>To add a new user, do the following<\/p><ul class=\"wp-block-list\"><li> login as admin. <\/li><\/ul><ul class=\"wp-block-list\"><li>On the role select window choose the role<strong> &#8216;xCRUD Pro User\/Role Management&#8217;<\/strong>.<\/li><\/ul><figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect-1024x479.png\" alt=\"\" class=\"wp-image-327\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect-1024x479.png 1024w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect-350x164.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect-300x140.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect-768x359.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect-416x195.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/RoleSelect.png 1347w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><ul class=\"wp-block-list\"><li>Navigate to User\/ Role on the left menu<\/li><\/ul><figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"971\" height=\"424\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user.png\" alt=\"\" class=\"wp-image-328\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user.png 971w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user-350x153.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user-300x131.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user-768x335.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user-416x182.png 416w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><ul class=\"wp-block-list\"><li>Click &#8216;Add User&#8217; and a form to add user will appear.<\/li><\/ul><ul class=\"wp-block-list\"><li>Add user details and save.<\/li><\/ul><figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form-1024x386.png\" alt=\"\" class=\"wp-image-329\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form-1024x386.png 1024w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form-350x132.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form-300x113.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form-768x289.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form-416x157.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_user_form.png 1224w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><h2 class=\"wp-block-heading\">Create role in the system<\/h2><p>To create role in the system after login navigate to the menu on the left and click &#8216;Menu\/Role&#8217;. Then click &#8216;Add&#8217;<\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"415\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role-1024x415.png\" alt=\"\" class=\"wp-image-331\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role-1024x415.png 1024w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role-350x142.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role-300x121.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role-768x311.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role-416x168.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role.png 1331w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"854\" height=\"327\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role_form.png\" alt=\"\" class=\"wp-image-333\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role_form.png 854w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role_form-350x134.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role_form-300x115.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role_form-768x294.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/add_role_form-416x159.png 416w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><p>After adding and clicking save &amp; edit, a new tab for adding menu items will appear on the window.<\/p><h2 class=\"wp-block-heading\">Menu Tree is created for the role<\/h2><p>To add a menu item for a specfic role navigate to menu item Role\/Menu and a list of all roles will appear.<\/p><ul class=\"wp-block-list\"><li>Click &#8216;Edit&#8217; against the role you wish to add the menu item. <\/li><li>Then click the tab &#8216;Menu&#8217; and you will see the option to click &#8216;Add&#8217; for adding a new menu item. <\/li><li>When you click &#8216;Add&#8217;, a form to enter a menu item will appear<\/li><\/ul><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item-1024x569.png\" alt=\"\" class=\"wp-image-334\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item-1024x569.png 1024w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item-350x194.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item-300x167.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item-768x426.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item-416x231.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/menu_item.png 1104w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><p><strong>Page with Data<\/strong><\/p><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"509\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up-1024x509.png\" alt=\"\" class=\"wp-image-377\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up-1024x509.png 1024w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up-350x174.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up-300x149.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up-768x382.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up-416x207.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/12\/menu_filled_up.png 1110w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><p><strong>Explanation of Fields for Menu Item Form<\/strong><\/p><figure class=\"wp-block-table\"><table><tbody><tr><td>Role<\/td><td>Not editable<\/td><\/tr><tr><td>Menu Name<\/td><td>The menu name that appears on the menu<br><\/td><\/tr><tr><td>Parent Menu<\/td><td>Select the parent menu. If a parent menu is not included, the menu that is being added will be the parent meaning it will not have a child. If you select a parent, the new menu will become a child of the parent menu selected.<\/td><\/tr><tr><td>Order Sequence<\/td><td>This a number that you key in to specify the order in which the menu appears. A higher number means the menu will apear lower than a number which lower than what was entered.<\/td><\/tr><tr><td>icon<\/td><td>The icon that is appended infront of the menu name. This option is not active for xCrud version 1.0. It will be an update feature within a short time.<\/td><\/tr><tr><td>Description<\/td><td>A simple description of the menu item for documentation purposes.<\/td><\/tr><tr><td>isActive<\/td><td>This field is used to activate or deactivate the menu item. if &#8216;Yes&#8217; it means the menu is visible. if &#8216;No&#8217; the menu is not visible.<\/td><\/tr><tr><td>Page Link<\/td><td>This is the php page that is called when the menu item is clicked. All php pages are stored in the &#8216;pages&#8217; direcrtory in the root folder for xCrud Pro.<\/td><\/tr><tr><td><\/td><td><\/td><\/tr><tr><td><\/td><td><\/td><\/tr><tr><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure><p>Once a menu item is added and saved successfully, it is able to be viewed by a user with the given role.<\/p><h2 class=\"wp-block-heading\">User is allocated a role<\/h2><p>To allocate user a given role, login and navigate to the menu and click on &#8216;User\/Staff&#8217;<\/p><p>A list of all users will appear. <\/p><ul class=\"wp-block-list\"><li>Select edit on the user you wish to allocate the role. <\/li><li>On the form that launches, you will see a &#8216;user role&#8217; tab. Click on it<\/li><li>Then Click &#8216;Add&#8217; user role. <\/li><li>A form to add the role will appear. The form has a list of all available roles<\/li><li>Save and return.<\/li><\/ul><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" src=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form-1024x472.png\" alt=\"\" class=\"wp-image-335\" srcset=\"https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form-1024x472.png 1024w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form-350x161.png 350w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form-300x138.png 300w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form-768x354.png 768w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form-416x192.png 416w, https:\/\/xcrud.net\/eshop\/wp-content\/uploads\/2020\/11\/user_role_form.png 1348w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure><p><\/p><h2 class=\"wp-block-heading\">User can now login, select the allocated role and proceed to main page. User will only see the menu items that belong to the selected role<\/h2><p>If you login you with a user, you are able to select only the role provided to the user. You can also view only the menu that is allocated to that role.<\/p><h2 class=\"wp-block-heading\">Form &amp; Page Configuration<\/h2><p>xCrud Pro has a simple directory structure. The most important directories include<\/p><p><\/p><figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\/Page<\/strong>s<\/td><td>This directory contains all xCrud pages that can be referenced by the menu<\/td><\/tr><tr><td><strong>\/lib<\/strong><\/td><td>This directory contains the xCrud 1.7 library and uploads folder where uploaded pictures are stored<\/td><\/tr><tr><td><strong>\/css<\/strong><\/td><td>The theme css is located in this folder and can be altered to suit your need.<\/td><\/tr><tr><td><\/td><td><\/td><\/tr><tr><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">Summary<\/h2><p>All demo pages\/forms that are currently in xCrud 1.7 have been loaded in the <strong>pages\/<\/strong> directory of xCrud Pro. <\/p><p>All forms apart from login and role select are basically xCrud configurable pages.<\/p><h2 class=\"wp-block-heading\">Migration of existing Project<\/h2><p>To migrate existing application ensure you do the following.<\/p><ul class=\"wp-block-list\"><li>Move all you xCrud pages to the <strong>&#8216;pages\/&#8217;<\/strong> driectory<\/li><li>Configure the menu items and point to your xCrud pages<\/li><li>Configure users and roles and you are good to go.<\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>The main goal of xCrud Pro 1.0 is to reduce the development time while providing a cutting edge robust solution. xCrud Pro 1.0 utilizes xCrud 1.7 library in its framework. xCrud Pro has the following modules Authentication Module User\/Role Configuration Module Role\/Menu Configuration Module xCrud 1.7 All xCrud 1.7 features are incorporated into xCrud Pro. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/xcrud.net\/eshop\/xcrud-pro-1-0-manual\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;xCrud Pro 1.0 Manual&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"class_list":["post-321","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/pages\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":16,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/pages\/321\/revisions"}],"predecessor-version":[{"id":406,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/pages\/321\/revisions\/406"}],"wp:attachment":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/media?parent=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}