jadachDevClub member 11/27/2017 | |
I do this with the use of code snippets on each page. The code snippet is instructions for the page. I control all the messages via the database. This way, I don't have to rebuild if I add or edit a message. The messages can have logic applied as well. In some cases, I allow the admin to maintain. Below is a video that may help you get started with this approach. |
C
|
ccvvccc author 11/28/2017 |
I do this with the use of code snippets on each page. The code snippet is instructions for the page. I control all the messages via the database. This way, I don't have to rebuild if I add or edit a message. The messages can have logic applied as well. In some cases, I allow the admin to maintain. Below is a video that may help you get started with this approach. My Video [Code Snippets]
|
admin 11/30/2017 | |
Just wanted to add that another viable approach is to place this code in header file. Can be a little bit easier compared to adding a code snippet to each page. |