Today, we will go over the process of adding CSS and JS resource files in nopCommerce. Some developers or web designers follow different ways to add resources / references into the web files, each way carry its own advantage and disadvantage. So, we are not going to go over what is the “correct” way of adding references because this can lead to a never ending debate.
So, we are going to discuss what is the best “recommended” way to add CSS and JS resource files in nopCommerce project.
In order to load your resource files correctly in the view pages, you can use the following helper methods: Learn More
In many projects I have had the need to redirect logged in users to different page URLs upon successful authentication. For example I have a use-case where after a student logs in they should be taken to a page of directions on tasks they should complete. Other times, if a staff member logs into a Drupal website they should be taken to a custom dashboard. This can be done using a bit of code in a custom module, but an alternative is to use the Login Destination module. Learn More
In the last article, we saw how to redirect users after login based on a user setting. In this one, we’ll see how to do it on the basis of their membership in a user group. Since we don’t know who the user is until *after* they’ve logged in, we need to put the code in a plugin connected to the OnWebLogin System Event. Learn More