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

Auto select a Help Topic option using URL parameter

Is it possible to create a URL parameter (e.g. http://www.example.com/osticket/open.php?topic=Email) so when someone accesses this page, the option 'Email' is automatically selected from the Help Topic select box?

Thank you,

Comments

  • i add this lines

    if(isset($_REQUEST["tid"])){
        $info['topicId']=$_REQUEST["tid"];
        }

    just after this lines

    $form = null;
    if (!$info['topicId'])
        $info['topicId'] = $cfg->getDefaultTopicId();


     works like charm
    URL?tid=15

  • its on

    include/client/open.inc.php
Sign In or Register to comment.