The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Change layout of "Preview" and "Send" buttons

3 posters

Go down

Solved Change layout of "Preview" and "Send" buttons

Post by Lookitdisguy March 22nd 2011, 7:39 pm

Is there a way for me to swap the locations of these buttons?

Some people like to just hit "Tab" then "Enter" after they have entered their message but get sent to the preview screen instead of the send message screen,,, Lol

avatar
Lookitdisguy
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Base March 22nd 2011, 7:45 pm

Hello Lookitdisguy,

What is your forum version? Check by going to:

1. Administration Panel (advanced mode)
2. Display Tab
3. Choose a theme (on the left, under Skins)
4. Version Tab

Smile
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Lookitdisguy March 22nd 2011, 8:01 pm

phpBB2

Sorry for forgetting that... Embarassed
avatar
Lookitdisguy
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Base March 22nd 2011, 8:07 pm

Thank you very much for the helpful information. You can switch the positions of the buttons by going to:

1. Administration Panel (advanced mode)
2. Display Tab
3. Post & Private Messages (on the left, under Templates)
4. Click on the modify sign (Change layout of "Preview" and "Send" buttons Editer) for posting_body
5. Find (Ctrl + F): {S_HIDDEN_FORM_FIELDS}
6. Replace the content below it:

Code:
<!-- BEGIN switch_preview -->
<input class="liteoption" type="submit" name="preview" value="{L_PREVIEW}" tabindex="5" /> 
<!-- END switch_preview -->
<!-- BEGIN switch_draft -->
 <input class="liteoption" type="submit" name="draft" value="{L_DRAFT}" tabindex="7" accesskey="d" /> 
<!-- END switch_draft -->
<!-- BEGIN switch_publish -->
 <input class="liteoption" type="submit" name="publish" value="{L_PUBLISH}" tabindex="8" accesskey="p" /> 
<!-- END switch_publish -->
 <input class="mainoption" type="submit" name="post" value="{L_SUBMIT}" tabindex="6" accesskey="s" />
</td>
</tr>
</table>



...with:

Code:
 <input class="mainoption" type="submit" name="post" value="{L_SUBMIT}" tabindex="6" accesskey="s" />
<!-- BEGIN switch_preview -->
<input class="liteoption" type="submit" name="preview" value="{L_PREVIEW}" tabindex="5" /> 
<!-- END switch_preview -->
<!-- BEGIN switch_draft -->
 <input class="liteoption" type="submit" name="draft" value="{L_DRAFT}" tabindex="7" accesskey="d" /> 
<!-- END switch_draft -->
<!-- BEGIN switch_publish -->
 <input class="liteoption" type="submit" name="publish" value="{L_PUBLISH}" tabindex="8" accesskey="p" /> 
<!-- END switch_publish -->

</td>
</tr>
</table>
<br /><br />


Please note: replace only up to where

is. Smile

Regards,

Base
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Lookitdisguy March 22nd 2011, 8:19 pm

Thank you sir it did work... Sorry to be such a pain but I have quick reply set up as well is there a way to do it for that too?
avatar
Lookitdisguy
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Base March 22nd 2011, 8:21 pm

I'm glad it worked. I will come back tomorrow with an answer, right now I've got to go. Wink

Watch this space.
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Lookitdisguy March 23rd 2011, 5:43 pm

Also for some reason when I hit "Tab" it takes me to the preview button and not the Send button which is the one it should be going to cause it's first..

I dont know if that's something that can be fixed but for now I am just concerned with the quick replay having "Send" first the "Preview"
avatar
Lookitdisguy
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Base March 23rd 2011, 6:04 pm

I don't know about the tab issue, but for the quick reply it's not possible to change the button layout I'm afraid. Smile
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Lookitdisguy March 23rd 2011, 6:29 pm

Ok thanks for your help though... Very good
avatar
Lookitdisguy
Forumember

Posts : 25
Reputation : 0
Language : English

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by Base March 23rd 2011, 6:39 pm

You're welcome! Glad to be of yout assistance. Wink
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Change layout of "Preview" and "Send" buttons

Post by MrMario March 23rd 2011, 8:22 pm

Solved => Locked
MrMario
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum