Help Center Live Community

Support => Installation Help & Software Support => Topic started by: tommyjohn on June 21, 2007, 09:02:31 PM



Title: Link Text
Post by: tommyjohn on June 21, 2007, 09:02:31 PM
Can someone point me to the file that controls the link text if you are not using an icon for HCL? I would like to change the default text and also when no agents are online make the text non-clickable text.


Title: Re: Link Text
Post by: HCL Admin on June 21, 2007, 09:15:19 PM
Can someone point me to the file that controls the link text if you are not using an icon for HCL? I would like to change the default text and also when no agents are online make the text non-clickable text.

You would change that in the code you generated for the page.


Title: Re: Link Text
Post by: HCL Admin on June 21, 2007, 09:17:00 PM
Do note that you may not remove front end copyrights of course.


Title: Re: Link Text
Post by: tommyjohn on June 21, 2007, 09:53:23 PM
All copyright info is untouched ...


Title: Re: Link Text
Post by: HCL Admin on June 21, 2007, 10:06:10 PM
There is a small bit of humor there.  Since all the copyrights are going to be changing by the time 2.1.3 (full release) comes out. :) 


Title: Re: Link Text
Post by: tommyjohn on June 21, 2007, 10:10:00 PM
One problem, the page doesnt carry the actual text that us displayed. The text is generated deep in the bowels of the javascript it looks like.

I simply use the generate code from the admin interface and paste it in.

The pasted code specifies "?live&text&cobrowse"

Any thoughts?


Title: Re: Link Text
Post by: HCL Admin on June 21, 2007, 10:14:52 PM
Edit your /hcl/lang/<language>.php file, find the following line and change it:

Code:
$lang['click_for_live_help'] = 'Click here for Live Help - Powered by Help Center Live';


Title: Re: Link Text
Post by: tommyjohn on June 22, 2007, 02:51:50 AM
Okay, that got part of it, what file calls that file to get the text.

The last piece I need is to make the Offline link, just text. There should only be a link when its online.

Thanks for the help thus far.


Title: Re: Link Text
Post by: HCL Admin on June 22, 2007, 03:08:36 AM
Ok, that's moving into a core hack, right now the core doesn't provide for this.  The file you need is the /hcl/class/live.php

You probably want to note that a newer version is right around the corner, and a major rewrite is in progress.  I can put this in as a feature request if you like, and we'll see what can be done.  Shouldn't be too hard, it's just basically a switch.  Why don't you post on the feature requests board, and see if others are interested in it.


Title: Re: Link Text
Post by: tommyjohn on June 22, 2007, 03:13:44 AM
Will do.

Thanks for your help.


Title: Re: Link Text
Post by: tommyjohn on June 22, 2007, 05:19:39 AM
A quick note...

The file that I was looking for turned out to be /hcl/class/js/live.php (line 92).

Thanks again for your help.


Title: Re: Link Text
Post by: HCL Admin on June 22, 2007, 05:20:40 AM
Whoops, dropped the /js  Arg.  My bad! :D

Back up that file, I can't promise not to touch it, but during upgrades it would be overwritten.  Tho you should backup both files and database anytime you install...