Help Center Live Community
April 24, 2014, 05:26:31 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Offline Message  (Read 7616 times)
Matt Waller
Not too much to say...
*
Offline Offline

Posts: 40


« on: November 16, 2007, 11:42:39 PM »

Is it possible to change the popup that comes up when leaving an offline message to one of my own url?

In other words, instead of this coming up

http://www.gamefaceimaging.com/hcl/live/divert.php?divert=offline&departmentid=

I would like for this to come up

http://www.gamefaceimaging.com/orderinfo.html

Matt
Logged
victor
HCL Member
****
Offline Offline

Posts: 266


WWW
« Reply #1 on: November 17, 2007, 05:13:55 AM »

yeah, It's posible, you'll need to follow this steps:

1.- Open hcl/templates/Bliss/live_divert.tpl
2.- Find line 5 (where you will find <title>...</title>)
3.- After this line add the following code
<meta http-equiv="refresh" content="0; url=http://www.gamefaceimaging.com/orderinfo.html">

I hope it helps
Logged

Matt Waller
Not too much to say...
*
Offline Offline

Posts: 40


« Reply #2 on: November 17, 2007, 05:30:29 AM »

Thanks Victor but how do I open that file with out changing the .tpl? I opened it in a text editor and it changed it to a php file.

Matt
Logged
victor
HCL Member
****
Offline Offline

Posts: 266


WWW
« Reply #3 on: November 17, 2007, 05:33:26 AM »

when saving this file, save it as live_divert.tpl, don't forget to include the extension tpl
Logged

Matt Waller
Not too much to say...
*
Offline Offline

Posts: 40


« Reply #4 on: November 17, 2007, 05:40:19 AM »

Ok, thanks. I tried that and now it simply shows a blank pop up. I don't show the exact code that you sent. Mine look like this

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
{$conf.company} - Live Support Solution (Powered By Help Center Live)</title>
<meta http-equiv="Content-Type" content="text/html;
Logged
Matt Waller
Not too much to say...
*
Offline Offline

Posts: 40


« Reply #5 on: November 17, 2007, 05:59:15 AM »

Figured it out, thanks Victor. I wonder is there a way to open it in a full window?

Matt
Logged
victor
HCL Member
****
Offline Offline

Posts: 266


WWW
« Reply #6 on: November 17, 2007, 07:36:09 AM »

I took a look after going to bed and this is the solution:

1.- Open hcl/templates/Bliss/live_divert.tpl
2.- Find: <body{$onload}>
3.- Replace it with:
<body{$onload} onload="javascript:window.moveTo(0,0);window.resizeTo(screen.width,screen.height);">

see you tomorrow Grin
« Last Edit: November 17, 2007, 07:38:27 AM by victor » Logged

Matt Waller
Not too much to say...
*
Offline Offline

Posts: 40


« Reply #7 on: November 17, 2007, 07:37:47 AM »

Thanks so much Victor!

Matt
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.158 seconds with 18 queries.

Google visited last this page Yesterday at 08:33:36 AM