Forum for discussing general topics related to Couch.
14 posts Page 1 of 2
  I love working with the couch.
 
I'm from Brazil so I have a little trouble.

within my manager when I edit the page and click on the save button it does not give me a successful saved message.

need when to edit by clicking on the save button pop up a message : successfully saved!

it is possible?
It is possible and something that I had wanted to get into v2.0's new admin panel. Will look into this today.
cheesypoof wrote: It is possible and something that I had wanted to get into v2.0's new admin panel. Will look into this today.

OK
We wait for your help!
It will be very useful ;) ;)
Upgrade to v2.0 if you haven't already.

Uncomment the following line in config.php (add it if necessary):
Code: Select all
//define( 'K_ADMIN_THEME', 'sample' );
Copy the content_form.html file from theme/_system/ to theme/sample/. Edit this new file and add the following code:
Code: Select all
<cms:if "<cms:get_flash 'submit_success' />" >
    <div class="alert alert-success alert-icon">
        <cms:show_icon 'check' />
        <h4>Changes saved successfully</h4>
    </div>
</cms:if>
after line 21, which should be:
Code: Select all
<div class="tab-pane fade active in" id="tab-pane-edit-<cms:show k_route_module />">
cheesypoof wrote: Upgrade to v2.0 if you haven't already.

Uncomment the following line in config.php (add it if necessary):
Code: Select all
//define( 'K_ADMIN_THEME', 'sample' );
Copy the content_form.html file from theme/_system/ to theme/sample/. Edit this new file and add the following code:
Code: Select all
<cms:if "<cms:get_flash 'submit_success' />" >
    <div class="alert alert-success alert-icon">
        <cms:show_icon 'check' />
        <h4>Changes saved successfully</h4>
    </div>
</cms:if>
after line 21, which should be:
Code: Select all
<div class="tab-pane fade active in" id="tab-pane-edit-<cms:show k_route_module />">


friend helped me a lot.
my clients complained that there was no message that warned them when saved.
with your help this problem was solved thanks for the help really pull and perfect for the job. :D :D
@cheesypoof, this was one of those things I wanted to discuss with you.
Can we have a save message that 'flashes' only for couple of seconds and then disappears (without causing a 'jump' in the layout)? I think that would be a better way of showing the success message.
Not a problem @IdealSolucoes.

Definitely @KK. See http://codeseven.github.io/toastr/ (http://codeseven.github.io/toastr/demo.html) for an existing library. Will discuss with you the implementation soon.
Thank you @cheesypoof :)
I wonder if even the following in the bottom-right corner might be too visually distracting.
https://github.com/CouchCMS/CouchCMS/commit/3ee730f0ff11144edd3417a353fd4f0b20e36540
notification.png
notification.png (8.38 KiB) Viewed 3319 times
Looks good to me @cheesypoof.
Would be great to know what our other members think about it.
14 posts Page 1 of 2