Difference between revisions of "ShowPerQueueInstructions"

From Request Tracker Wiki
Jump to navigation Jump to search
m (2 revisions imported)
 
(Code formatting cleanup)
 
Line 3: Line 3:
For certain queues, I like to have additional messages for users, telling them exactly what information is needed.
For certain queues, I like to have additional messages for users, telling them exactly what information is needed.


You can create /opt/rt3/local/html/Callbacks/MyCallbacks/Ticket/Create.html/BeforeMessageBox with the following contents:
You can create <tt>/opt/rt3/local/html/Callbacks/MyCallbacks/Ticket/Create.html/BeforeMessageBox</tt> with the following contents:


% if ( $QueueObj-&gt;Name eq 'MyQueue' ) {
    % if ( $QueueObj->Name eq 'MyQueue' ) {
&lt;b&gt; MyQueue Specific Info Here &lt;/b&gt;
        <b> MyQueue Specific Info Here </b>
% }
    % }
 
&lt;%ARGS&gt;
    <%ARGS>
$QueueObj =&gt; undef
        $QueueObj => undef
&lt;/%ARGS&gt;
    </%ARGS>


--Jim Perrin
--Jim Perrin

Latest revision as of 13:06, 20 August 2017

Specify Per-Queue instructions before message box

For certain queues, I like to have additional messages for users, telling them exactly what information is needed.

You can create /opt/rt3/local/html/Callbacks/MyCallbacks/Ticket/Create.html/BeforeMessageBox with the following contents:

   % if ( $QueueObj->Name eq 'MyQueue' ) {
        MyQueue Specific Info Here 
   % }
   <%ARGS>
       $QueueObj => undef
   

--Jim Perrin

See Also

CustomizingWithCallbacks