Advertisement:

Author Topic: How to make default \'toggle view\' is on when reply  (Read 1978 times)

Offline viethungs

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
    • Get-Game.Net
How to make default \'toggle view\' is on when reply
« on: August 21, 2008, 01:53:39 PM »
How to make default 'toggle view' is on when reply this is my question.

thanks

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: How to make default 'toggle view' is on when reply
« Reply #1 on: August 21, 2008, 02:03:20 PM »
For single users via their profile > look and layout
Return to topics after posting by default.

For all users via Admin > Current Theme > Members Options (was called Reset Options in SMF 1.1.x)
Change current options for all members using this theme
Select change and check Return to topics after posting by default.

Offline RL Joneson

  • Jr. Member
  • **
  • Posts: 100
  • Gender: Male
  • RL Joneson. Design. Web. Print.
    • RL Joneson. Design. Web. Print.
Re: How to make default 'toggle view' is on when reply
« Reply #2 on: August 21, 2008, 02:25:33 PM »
If you are referring to to the expandable area called Additional Options for adding files and setting options, open Post.template.php and find this code:

Code: [Select]
// Code for showing and hiding additional options.
   if (!empty($settings['additional_options_collapsable']))
      echo '
         var currentSwap = false;

and replace with this code:

Code: [Select]
// Code for showing and hiding additional options.
   if (!empty($settings['additional_options_collapsable']))
      echo '
         var currentSwap = true;