Need custom work? Register your interest here.

Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Jul 24 2011 08:01 AM
  • Views: 1353
 


Autocheck 'leave a link' when moving a topic or topics

How to set 'Leave a link to the new topic' checked by default

Posted by AndyF on Jul 24 2011 08:01 AM
Here's a simple article on how to set "Leave a link to the new topic in the source forum?" for both individual and mass moving topics as by default they are both unchecked.

Two small skin edits are needed, the template names are very similar so be careful to not mix them up. :) , the first one is MoveTopicForm the second is MoveTopicsForm

ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Moderation > MoveTopicForm

Find...
<li class='field clear checkbox'>
				<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />
				<label for='leave_link'>{$this->lang->words['leave_link']}</label>
			</li>

Change to...
<li class='field clear checkbox'>
				<input type='checkbox' checked='checked' id='leave_link' class='input_check' name='leave' value='y' />
				<label for='leave_link'>{$this->lang->words['leave_link']}</label>
			</li>

Save the change.

ACP > ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Moderation > MoveTopicsForm

Find...
<li class='field checkbox'>
				<input type='checkbox' id='leave_link' class='input_check' name='leave' value='y' />
				<label for='leave_link'>{$this->lang->words['leave_link']}</label>
			</li>

Change to...
<li class='field checkbox'>
				<input type='checkbox' checked='checked' id='leave_link' class='input_check' name='leave' value='y' />
				<label for='leave_link'>{$this->lang->words['leave_link']}</label>
			</li>

Again, save the change.


That's it, it should be done. Here's two quick pics although its quite obvious what its done:

Posted Image

Posted Image

Powered by Tutorials 1.5.1 © 2014, by Michael McCune