O'Reilly logo

CMS Made Simple 1.6 by Sofia Hauschildt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—customizing list of tickets

The appearance of the list of tickets created by the customer and shown to him should be changed to meet our needs.

  1. In the admin console, click on Content | Calguys Feedback Module, and choose the Summary Templates tab.
  2. Click on New Template, and enter TicketList as the Template Name.
  3. Add the following code into the Template text field:
    {if isset($comments)} {foreach from=$comments item="one"} <p><strong>Ticket No {$one.id}: <a href="http://{$one.detail_url}" title="{$one.title}">{$one.title}</a></strong><br/> <small>{$one.created|date_format:"%a %d %b %H:%M"} | <a href="mailto{$one.author_email}">{$one.author_name}</a> </small> </p> <div class="feedback_item_data"> {$one.data} </div> {/foreach} {/if}  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required