Hello all.I want to edit pop-up window. I found that includ\staff\template\ticket-preview.tmpl is responsible for that.I want to add there line with first 20 characters of text which client write in "Issue Details". I found class which is responsible for that textarea it is staff/ticket-view.php. Class name is "thread-body" line 412.I added  tr and td between them and cause it sprintf i should add 3-th component. I named it on bottom of code "WHAT IS HERE????".   Code inside "ticket-preview.tmpl" line 65 looks like this:echo sprintf('        <tr>            <th width="100">'.__('Status').':</th>            <td>%s</td>        </tr> <tr>            <th width="100">'.__('text').':</th>            <td>%s</td>        </tr>         <tr>            <th>'.__('Yaradılıb:').':</th>            <td>%s</td>        </tr>',$ticket_state, WHAT IS HERE????, Format:($ticket->getCreateDate()));Please help, can not echo written text it to pop-up windows(((

if you do not understand question, please write in comment

3 months later

Hello orik3ll0,>> Please help, can not echo written text it to pop-up windowsHere my solution:Edit only \include\staff\templates\ticket-preview.tmpl.phpecho sprintf(    '        <!-- my mod -->        <tr>            <th>'.__('Ticket Tip').':</th>            <td>%s</td>        </tr>        <!-- my mod -->                <tr>            <th>'.__('From').':</th>            <td><a href="users.php?id=%d" class="no-pjax">%s</a> <span class="faded">%s</span></td>        </tr>        <tr>            <th width="100">'.__('Department').':</th>            <td>%s</td>        </tr>        <tr>            <th>'.__('Help Topic').':</th>                            <td>%s</td>        </tr>',    // my mod    substr((Message:($ticket->getID())), 0, 21), //first 20 characters of text which client write in Issue Details    // my mod    $ticket->getUserId(),    Format:($ticket->getName()),    $ticket->getEmail(),    Format:($ticket->getDeptName()),    Format:($ticket->getHelpTopic()));echo '    </table>';see 01.jpg (popup before the mod)see 02.jpg (content of the ticket)see 03.jpg (popup after the mod)Best Regardscitrixraptor

01.jpg

02.jpg

03.jpg

11 days later

Hello Dear CitrixraptorThank you for your reply and help. I forgot to ask admin to close topic and  forgoy post my solution. I solved it in same month that I posted this topic. I did it in same way.Admin, please close topic.Best RegardsOrik3ll0

Write a Reply...