|
Title: Offline Message Post by: Matt Waller 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 Title: Re: Offline Message Post by: victor 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 Title: Re: Offline Message Post by: Matt Waller 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 Title: Re: Offline Message Post by: victor 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
Title: Re: Offline Message Post by: Matt Waller 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; Title: Re: Offline Message Post by: Matt Waller 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 Title: Re: Offline Message Post by: victor 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 ;D Title: Re: Offline Message Post by: Matt Waller on November 17, 2007, 07:37:47 AM Thanks so much Victor!
Matt |