Noob - prosilver - moving button positions

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
mrbump1959
Registered User
Posts: 10
Joined: Fri Nov 29, 2013 12:09 pm

Noob - prosilver - moving button positions

Post by mrbump1959 » Sun Dec 01, 2013 3:27 pm

I would like to change, and seperate, the positions of the, load draft/Save draft/preview/submit.

So that, load draft/Save draft/preview buttons are to the left and the submit button to the right.

Is there a mod available or do I need to change the code?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51776
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Noob - prosilver - moving button positions

Post by Brf » Sun Dec 01, 2013 3:30 pm

Neither.
You would edit the posting template and move the buttons.

mrbump1959
Registered User
Posts: 10
Joined: Fri Nov 29, 2013 12:09 pm

Re: Noob - prosilver - moving button positions

Post by mrbump1959 » Sun Dec 01, 2013 3:54 pm

Ah, OK. so how do I do that.

mrbump1959
Registered User
Posts: 10
Joined: Fri Nov 29, 2013 12:09 pm

Re: Noob - prosilver - moving button positions

Post by mrbump1959 » Sun Dec 01, 2013 10:02 pm

I guess thats, posting_layout.html

User avatar
pit-PL
Registered User
Posts: 3085
Joined: Sat Nov 21, 2009 12:24 pm

Re: Noob - prosilver - moving button positions

Post by pit-PL » Tue Dec 03, 2013 5:23 pm

In posting_editor.html change

Code: Select all

			<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
			<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" 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;
to

Code: Select all

			<div class="left-box">
			<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
			<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" 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;
			</div>
			<div class="right-box">
			<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" />&nbsp;
			</div>

mrbump1959
Registered User
Posts: 10
Joined: Fri Nov 29, 2013 12:09 pm

Re: Noob - prosilver - moving button positions

Post by mrbump1959 » Wed Dec 04, 2013 3:01 pm

That gives me an error;
Parse error: syntax error, unexpected '}' in F:\xampp\htdocs\phpbb\cache\tpl_prosilver_posting_editor.html.php on line 255

User avatar
Lumpy Burgertushie
Registered User
Posts: 66479
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Noob - prosilver - moving button positions

Post by Lumpy Burgertushie » Wed Dec 04, 2013 3:17 pm

mrbump1959 wrote:That gives me an error;
Parse error: syntax error, unexpected '}' in F:\xampp\htdocs\phpbb\cache\tpl_prosilver_posting_editor.html.php on line 255
you made a mistake in editing the file. go back and try again.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Locked

Return to “[3.0.x] Styles Support & Discussion”