Help Center Live Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Link Text  (Read 11674 times)

tommyjohn

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 36
Link Text
« on: June 21, 2007, 01: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
    • Help Center Live
Re: Link Text
« Reply #1 on: June 21, 2007, 01: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
    • Help Center Live
Re: Link Text
« Reply #2 on: June 21, 2007, 01: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
Re: Link Text
« Reply #3 on: June 21, 2007, 01:53:23 PM »

All copyright info is untouched ...
Logged

HCL Admin

  • Administrator
  • HCL Superstar
  • *****
  • Offline Offline
  • Posts: 882
    • Help Center Live
Re: Link Text
« Reply #4 on: June 21, 2007, 02: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. :) 
Logged
how may I help you today?

tommyjohn

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 36
Re: Link Text
« Reply #5 on: June 21, 2007, 02: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
    • Help Center Live
Re: Link Text
« Reply #6 on: June 21, 2007, 02:14:52 PM »

Edit your /hcl/lang/<language>.php file, find the following line and change it:

Code: [Select]
$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
Re: Link Text
« Reply #7 on: June 21, 2007, 06:51:50 PM »

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
    • Help Center Live
Re: Link Text
« Reply #8 on: June 21, 2007, 07:08:36 PM »

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
Re: Link Text
« Reply #9 on: June 21, 2007, 07:13:44 PM »

Will do.

Thanks for your help.
Logged

tommyjohn

  • Not too much to say...
  • *
  • Offline Offline
  • Posts: 36
Re: Link Text
« Reply #10 on: June 21, 2007, 09:19:39 PM »

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
    • Help Center Live
Re: Link Text
« Reply #11 on: June 21, 2007, 09:20:40 PM »

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...
Logged
how may I help you today?
Pages: [1]   Go Up
 

Page created in 0.169 seconds with 19 queries.