View Single Post
Old 09-29-2017, 09:19 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,058
Quote:
Originally Posted by PamWinterReturns View Post
So ... I need to add two things: a header banner across the top,
At the very top:

<center>
<a href=http://whatever_your_address_to_go_to_when_banner_is_clic ked>
<img src=http://whatever_your_banner_image_address_is>
</a>
</center><br>

That is old school html but it will work. It would probably be better to put it into a div or use a class available in the style sheet.

Quote:
and on the right side of the top (next to SUPPORT CENTER) I want to place two small buttons on top of each other.
Each button code would look just like your banner code but you do not want to throw a center in there and the href address would be your support and the image address would be the button image.

Making it stacked on top of each other alongside the "SUPPORT CENTER" would require a little styling I would think.

/************************************************** *******************
index.php
Helpdesk landing page. Please customize it to fit your needs.
Peter Rotich <[email protected]>
Copyright (c) 2006-2013 osTicket
osTicket :: Support Ticket System | osTicket
Released under the GNU General Public License WITHOUT ANY WARRANTY.
See LICENSE.TXT for details.
vim: expandtab sw=4 ts=4 sts=4:
************************************************** ********************/
require('client.inc.php');
require_once INCLUDE_DIR . 'class.page.php';
$section = 'home';
require(CLIENTINC_DIR.'header.inc.php');
?>


<!-- Put your banner line right here -->
<center>
<a href=http://whatever_your_address_to_go_to_when_banner_is_clic ked>
<img src=http://whatever_your_banner_image_address_is>
</a>
</center><br>
<!-- End of banner code -->


<div id="landing_page">
<?php include CLIENTINC_DIR.'templates/sidebar.tmpl.php'; ?>
<div class="main-content">

..................


// I made changes here in the if. First I blocked it (included {}) and then added button code.
if($cfg && ($page = $cfg->getLandingPage()))
{
echo $page->getBodyWithImages();
else
{
?>
<div>
<h1>Welcome to the Support Center</h1>
<div>
<a href=buttonurl><img src=buttonimageaddress></a><br>
<a href=button2url><img src=buttoon2imageaddress></a>
</div>
</div>
<?php
}
?>

That is going to be your basic structure. I would have to play with it some to make it right. I am far from a css expert so I have to mess with it to get where I want. But like I say, the basic structure is going to be something like that.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote