adding links to ticket in emails

Discussion in 'Style and design' started by ironfist, Aug 29, 2012.

  1. ironfist

    ironfist Established Member

    I am customizing the email templates that get sent out to users and staff when a reply is made, and including a link to the actual ticket.
    For the USER emails this is working fine, but don;t know how to do it for the staff link.

    here is the link I am generating
    <{$_basePath}>/Tickets/Ticket/View/<{$_ticket[ticketid]}>

    Which results in
    http://www.mydomain.com/index.php?/Tickets/Ticket/View/1234

    The problem is that <{$_basePath}> includes /index.php
    and the staff link needs to be
    http://www.mydomain.com/staff/index.php?/Tickets/Ticket/View/1234

    so how do I insert the /staff/ before the index.php

Share This Page