Cancel option on post reply

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
stan1
Registered User
Posts: 7
Joined: Mon Jun 25, 2007 11:32 pm

Cancel option on post reply

Post by stan1 » Fri Aug 24, 2007 10:43 pm

Hey, i am trying to add a mod that will add a cancel option when a user clicks post reply, the button should then go back to the forum they were thinking about adding the reply to.

I have seen this in other forums using pbpbb3 but have not found the mod or anything similar anywhere.
This is what I am trying to achieve
Image

Any help would be great

User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: Cancel option on post reply

Post by CoC » Sat Aug 25, 2007 1:11 am

Easy way -

styles/prosilver/template/posting_editor.html

Find

Code: Select all

<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />&nbsp;
After Add

Code: Select all

<input type="button" class="button1" value="Cancel" onclick="javascript:history.back()" />

stan1
Registered User
Posts: 7
Joined: Mon Jun 25, 2007 11:32 pm

Re: Cancel option on post reply

Post by stan1 » Sat Aug 25, 2007 9:11 am

Excellent, Thanks very much, Much appreciated

Locked

Return to “[3.0.x] MOD Requests”