Would I be able to create a website with different UIs that are chosen specifically when user sign in, with this metronic 8. Say my project has a single entry point (login option), then when user A signin it renders the demo 31 layout, while when user B logs in it renders demo32 layout but It renders demo33 for all other users.? these users can share the same database but can not share the same layout, kindly give suggestions??
Hi Thina,
Yes, creating a website with different UIs that are explicitly chosen when a user signs in using the Metronic 8 template is possible. Currently, this cannot be done by default and you have to extensively customise the existing project. Unless you want to create a new Laravel project and incorporate the HTML version in your new project. Here are some suggestions on how to approach this:
Set up a user authentication system: You will need to set up a user authentication system to allow users to sign in and access the appropriate UI for their accounts.
Create multiple UI layouts: Using the Metronic 8 template, you can create multiple UI layouts, such as demo31, demo32, and demo33, each with a unique design and layout. You can customize the template to create these layouts, and save them as different templates. Each demo has a set of HTML templates and assets (CSS/JS) that need to be incorporated.
Determine which UI layout to display: Once a user signs in, you will need to determine which UI layout to display based on the user's account. You can achieve this by storing a user's preference for UI layout in your database and retrieving it when the user logs in.
Render the appropriate UI layout: Once you have determined which UI layout to display, you can use Angular routing to render the appropriate layout. You can use the same database for all users but retrieve and render the appropriate layout based on their preferences.
Thanks