The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Change layout of "Preview" and "Send" buttons

View previous topic View next topic Go down

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

Post by Lookitdisguy on 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


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 on 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
Forumaster

Male Posts : 10386
Reputation : 1687
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 on March 22nd 2011, 8:01 pm

phpBB2

Sorry for forgetting that... Embarassed

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 on 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 () 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
Forumaster

Male Posts : 10386
Reputation : 1687
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 on 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?

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 on 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
Forumaster

Male Posts : 10386
Reputation : 1687
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 on 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"

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 on 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
Forumaster

Male Posts : 10386
Reputation : 1687
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 on March 23rd 2011, 6:29 pm

Ok thanks for your help though... Very good

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 on March 23rd 2011, 6:39 pm

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

Base
Forumaster

Male Posts : 10386
Reputation : 1687
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 on March 23rd 2011, 8:22 pm

Solved => Locked

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


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