Tried defaults, any page, *, latest release and dev. Save button on edit page is unchanged. I had a look with firebug at the example page and that has a script loaded with "hide_submit" in it and I can find that when I a search through the source of the demo. I don't get that on my pages so I don't think the module is loading the script. Why?

Comments

malc_b’s picture

Update: Just tried a change of theme to bluemarine and also had that for edit as well. In that the hide_submit does work so what could be the difference in the themes? The one I was using has "pretty" buttons but then so the demo page and they still work. I've made some changes to the theme to I when back to the base Alina theme (standard buttons) and that also does not work with hide_submit. (BTW I also can't get admin menu to work on this theme either, on my version, I haven't tried base version, it case that helps work out what could be the problem).

malc_b’s picture

Title: Does not work for me » [Fixed] Does not work for me

The problem seems to be where the scripts are. The theme did not have a $closure so I added that but that wasn't the problem. The scripts were after the body tag. I put them in the head and that fixed it.

optalgin’s picture

Title: [Fixed] Does not work for me » Conflict with Alina theme
Status: Active » Closed (fixed)

This looks like a non-standard behavior of the Alina theme and not a problem with the hide_submit module

I reproduced the problem with this theme on my test site and got the same problem.
Repeating the steps you described solved the problem

I'll summarize the steps

in Alina's page.tpl.php file

step 1: Move the line

    <?php print $scripts ?>

from the bottom of the page into the head area (somewhere near line:14)

step 2: Add $closure at the end of the body area just above the /body tag (near line:65)

  <?php print $closure; ?>