In this article, I will teach you how to apply CSRF token and form validator for create account action in your bootstrap template.
- Add a hidden CSRF token in the create account form to defend against CSRF attack. System will validate the CSRF token when a request is sent to server to create a new account in the store front.
- If the client token is different with the token saved in the server, the request will be ignored and redirect it to the create account page again.
A lot of nopCommerce users might be familiar with the fact that minimum length of the search term is 3 characters (out of the box). When a customer tries to press the “Search” button without entering any search term, the website displays an alert popup box.
Today, we will discuss how to change the default text on alert box for blank search term in nopCommerce.
Often times on a website you want a visual splash or decoration on a webpage. And 1 example of this is to place an image behind some region or block your webpage. There are many modules in Drupal to help to accomplish this visual display and but by far the simplest available in Drupal is the Background Images Formatter module.
If you would like to test out the background images formatter then I recommend spinning up a test site at SimplyTest.me. Learn More