garybarr Posted January 16, 2018 Share Posted January 16, 2018 We are wanting to use the "Support Tickets" page on a kiosk screen in our office. We currently have it setup to Auto Refresh every minute so that we can see any new tickets coming up along with a quick visual on status. Is there any way to JUST display the ticketing area without all the top and sides displaying? 1/3 of the screen is taken up with the menus and 1/6th of the width taken up by the sidebar. Is there any way to do this, OR anyone up for a programming job to make that happen? Link to comment Share on other sites More sharing options...
brian! Posted January 16, 2018 Share Posted January 16, 2018 about to call it a day, but one quick way to do it would be to modify admin/templates/blend/header.tpl and wrap the topbar and header divs in an if statement to hide it on the support page.. {if $filename neq "supporttickets"} <div class="topbar"> <div class="pull-left"> <a href="index.php">{$_ADMINLANG.home.title}</a> | <a href="../">{$_ADMINLANG.global.clientarea}</a> | <a href="#" data-toggle="modal" data-target="#myNotes">{$_ADMINLANG.global.mynotes}</a> | <a href="myaccount.php">{$_ADMINLANG.global.myaccount}</a> | <a id="logout" href="logout.php">{$_ADMINLANG.global.logout}</a> {$topBarNotification} </div> <div class="pull-right date hidden-xs"> {$smarty.now|date_format:"%A, %d %B %Y, %H:%M"} </div> </div> <div class="clearfix"></div> <div class="header"> <div class="logo"> <a href="index.php"><img src="templates/{$template}/images/logo.gif" border="0" /></a> </div> <div class="stats"> <a href="orders.php?status=Pending"> <span class="stat">{$sidebarstats.orders.pending}</span> {$_ADMINLANG.stats.pendingorders} </a> | <a href="invoices.php?status=Overdue"> <span class="stat">{$sidebarstats.invoices.overdue}</span> {$_ADMINLANG.stats.overdueinvoices} </a> | <a href="supporttickets.php"> <span class="stat">{$sidebarstats.tickets.awaitingreply}</span> {$_ADMINLANG.stats.ticketsawaitingreply} </a> </div> </div> {include file="$template/menu.tpl"} {/if} and a couple of ways to have the sidebar minimised by default on all pages - you could easily modify either method to only work on supporttickets though.... ... though you could possibly just continue editing the header.tpl and put another condition into the div... Link to comment Share on other sites More sharing options...
Recommended Posts