Help Center Live Community
April 24, 2014, 11:39:53 PM *
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: Link Text  (Read 11181 times)
tommyjohn
Not too much to say...
*
Offline Offline

Posts: 36


« 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.
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #1 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.
Logged

how may I help you today?
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #2 on: June 21, 2007, 09:17:00 PM »

Do note that you may not remove front end copyrights of course.
Logged

how may I help you today?
tommyjohn
Not too much to say...
*
Offline Offline

Posts: 36


« Reply #3 on: June 21, 2007, 09:53:23 PM »

All copyright info is untouched ...
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #4 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. Smiley 
Logged

how may I help you today?
tommyjohn
Not too much to say...
*
Offline Offline

Posts: 36


« Reply #5 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?
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #6 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';
Logged

how may I help you today?
tommyjohn
Not too much to say...
*
Offline Offline

Posts: 36


« Reply #7 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.
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #8 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.
Logged

how may I help you today?
tommyjohn
Not too much to say...
*
Offline Offline

Posts: 36


« Reply #9 on: June 22, 2007, 03:13:44 AM »

Will do.

Thanks for your help.
Logged
tommyjohn
Not too much to say...
*
Offline Offline

Posts: 36


« Reply #10 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.
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #11 on: June 22, 2007, 05:20:40 AM »

Whoops, dropped the /js  Arg.  My bad! Cheesy

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...
Logged

how may I help you today?
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 19 queries.

Google visited last this page April 20, 2014, 05:23:23 AM