Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Change Internal Note to default tab

I am setting up a new 1.10 install. I'd like to change the default tab in a ticket from Post Reply to Post Internal Note. I found a thread from a ways back on how to do this: http://osticket.com/forum/discussion/comment/81501/#Comment_81501 but the code that is referenced doesn't seem to exist in 1.10. Is there any way to do this now?

Comments

  • edited January 30
    Change ticket-view.inc.php around lines 525-536 to:

            <ul class="tabs" id="response-tabs">
            <li><a href="#note" <?php
                echo isset($errors['postnote']) ?  'class="error"' : ''; ?>
                id="post-note-tab"><?php echo __('Post Internal Note');?></a></li>
            <?php
            if ($role->hasPerm(TicketModel::PERM_REPLY)) { ?>
            <li class="active <?php
                echo isset($errors['reply']) ? 'error' : ''; ?>"><a
                href="#reply" id="post-reply-tab"><?php echo __('Post Reply');?></a></li>
            <?php
            } ?>
            </ul>

    This should obey permissions when someone has no access to post reply.
  • Sweet, that did it. Thanks
Sign In or Register to comment.