Hi, I wonder is anyone know how to add a simple updated message on save button in admin panel.
I noticed that in member module, when user save edited profile, it printed "profile updated" message on same page.
Is it possible to inject this kind of code in save button?
I noticed that in member module, when user save edited profile, it printed "profile updated" message on same page.
- Code: Select all
<!-- are there any success messages to show from previous save? -->
<cms:set success_msg="<cms:get_flash 'success_msg' />" />
<cms:if success_msg >
<h4>Profile updated.</h4>
</cms:if>
<cms:if k_success >
<cms:db_persist_form />
<cms:set_flash name='success_msg' value='1' />
<cms:redirect k_page_link />
</cms:if>
Is it possible to inject this kind of code in save button?