Page 1 of 1

Save, Preview, Submit

Posted: Sun Dec 13, 2009 8:45 pm
by bobmendon
I have been searching these forums for three days and I can't find were I first learned how to change the order of the Save, Preview, and Submit buttons. I think it had something to do with editing a couple of lines in the posting_editor template. Has anyone seen this lately or know what the changes should be?

Thanks!

Re: Save, Preview, Submit

Posted: Mon Dec 14, 2009 2:42 pm
by NathanFtw
Prosilver:

Open: styles/yourstyle/template/posting_editor.html:

Find:

Code: Select all

<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" class="button2" />&nbsp; <!-- ENDIF -->
			<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />&nbsp;
			<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" />&nbsp;
Move the code around to match where you want each option to appear.

Subsilver:

Open: styles/yourstyle/template/posting_body.html:

Find:

Code: Select all

<input class="btnlite" type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" />
			&nbsp; <input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" />
			<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" /><!-- ENDIF -->
Move the code around to match where you want each option to appear.

Good luck!

Re: Save, Preview, Submit

Posted: Tue Dec 15, 2009 9:42 pm
by bobmendon
Thanks! I thought that was where it had to be changed.