Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2016-01-29 13:21:48

chegor
Member
Registered: 2015-10-22
Posts: 2

How to override frontpage.

Hello.
I have a hosted version of livehelperchat and need override front page with my static page. Because operators confused, when they open frontpage instead of /site_admin and see form of start chat.
For example, I have chat on domain installed on http://something.com
Admin page available in http://something.com/site_admin and I need to replace http://something.com with my static html page or something like this. Or disable form of start chat.
By default I see "Fill out this form to start a chat" and form.

Is it possible?

Offline

#2 2016-02-02 12:50:40

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: How to override frontpage.

Hi,
thank you for your question in the Forum.
Sorry maybe you need commercial support for that.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2016-03-10 08:47:39

zet
Member
From: Lehrte, Germany
Registered: 2016-03-05
Posts: 18
Website

Re: How to override frontpage.

Couldn't find a configurable option neither.

What I did:

- create a new file named startchat.tpl.php located in directory design/customtheme/tpl/lhchat/
- open this file with a texteditor like Notepad++
- and enter a php redirect to where you want like ...

<?php 
header("Location: http://something.com/somewhere_else/your.html/");
exit;
?>

- save file
- clean cache

That's all. Good luck.

Last edited by zet (2016-03-10 08:48:52)

Offline

Board footer