Closed (fixed)
Project:
Hide submit button
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2009 at 15:29 UTC
Updated:
18 May 2009 at 17:56 UTC
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
Comment #1
malc_b commentedUpdate: 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).
Comment #2
malc_b commentedThe 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.
Comment #3
optalgin commentedThis 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
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)