| Previous topic :: Next topic |
| Author |
Message |
isilus
Joined: 21 Feb 2008
Posts: 1
|
| Posted: Thu Feb 21, 2008 3:52 am Post subject: chat in customer portal |
|
|
hello
i was wondering if there is a way to add chat to the customer portal,
please id appreciate all assistance. |
|
| Back to top |
|
ClearlyTechnical
Joined: 10 Apr 2008
Posts: 13
|
| Posted: Mon Apr 14, 2008 3:47 pm Post subject: Re: chat in customer portal |
|
|
I too would like to know if anyone has succeeded in this.
I am not a programmer, but I would imagine a good place to start is to to try just making a button to this:
<a href="javascript:;" onClick='return window.open("index.php?module=Home&action=vtchat","Chat","width=600,height=450,resizable=1,scrollbars=1");'>
I took that from the index.php file. The only other thing to think about is if a portal user can communicate with a CRM user. I would also double check your open_basedir setting to make sure you can run code outside of your portal directory. (not an issue I would think if you have them both as sub directories (both being portal and your tiger) under same webroot directory.
Just trying to add what little I can as a non-programmer. |
|
| Back to top |
|
ClearlyTechnical
Joined: 10 Apr 2008
Posts: 13
|
| Posted: Mon Apr 14, 2008 3:49 pm Post subject: Re: chat in customer portal |
|
|
ClearlyTechnical wrote: I too would like to know if anyone has succeeded in this.
I am not a programmer, but I would imagine a good place to start is to to try just making a button to this:
<a href="javascript:;" onClick='return window.open("index.php?module=Home&action=vtchat","Chat","width=600,height=450,resizable=1,scrollbars=1");'>
I took that from the index.php file. The only other thing to think about is if a portal user can communicate with a CRM user. I would also double check your open_basedir setting to make sure you can run code outside of your portal directory. (not an issue I would think if you have them both as sub directories (both being portal and your tiger) under same webroot directory.
Just trying to add what little I can as a non-programmer. CORRECTION:
<a href="javascript:;" onClick='return window.open("http://{DOMAIN NAME AND FOLDER}/index.php?module=Home&action=vtchat","Chat","width=600,height=450,resizable=1,scrollbars=1");'> |
|
| Back to top |
|
ClearlyTechnical
Joined: 10 Apr 2008
Posts: 13
|
| Posted: Mon Apr 14, 2008 3:50 pm Post subject: Re: chat in customer portal |
|
|
I just tried to run it and I got this error when I did it straight from the browser to test it.
Action name is missing. Please check the action name. |
|
| Back to top |
|
ClearlyTechnical
Joined: 10 Apr 2008
Posts: 13
|
| Posted: Mon Apr 14, 2008 3:54 pm Post subject: Re: chat in customer portal |
|
|
It appears the $action variable needs to be set. See index.php for details.
That's about all I can offer. I don't think it will be difficult, but it will require someone who can do in 1 hour, what would take me 2 weeks ;-)
I'll monitor this thread, I think it's a great idea. I am also going to see if there isn't a module that does this already. |
|
| Back to top |
|
| |