Jump to content

How to add a live webcam chat to a cms page


corsetsbeauty

Recommended Posts

I am Mr. Greenhorn when it comes to prestashop.  I would like to add an area where customers can go and receive live 1 on 1 training through a webcam chat area.  I've tried to copy the code that this following site  http://www.camamba.com/free_chat_applet.php provides to intergrate a chat area.  Im not sure what I am doing wrong.  I added it to the code through the editor but everytime i try to save it give me an invalid content error.  Not sure if this is something that can be done.  If anyone has any suggestions how I can setup a webcam chatroom it would be greatly appreciated. 

Link to comment
Share on other sites

I think you'll have to edit the CMS page content directly in the ps_cms_lang table of your database using phpMyAdmin to avoid the security checks, or you can add the code in cms.tpl in your theme's directory like this:

{if $smarty.get.id_cms == 7}
Put JavaScript code from that website you linked to here
{/if}

Change 7 to the ID of the CMS page you want the live chat displayed on.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...