dev-master
9999999-devChat app for the Elefant CMS
MIT
The Requires
app cms chat elefant
1.0
1.0.0.0Chat app for the Elefant CMS
MIT
The Requires
app cms chat elefant
Chat app for the Elefant CMS
This is a simple member chat app for the Elefant CMS, powered by the Pusher realtime messaging service., (*1)
To install, drop the app into your Elefant apps
folder and edit the file
apps/chat/conf/config.php
. Enter your APP ID, API Key and API Secret values from
Pusher. You can now access the default chat at the URL /chat
on your website.
Please note that chats are members-only, so if you're not logged in you will be taken
to the member login screen first., (*2)
Chats can be embedded into any page via the Dynamic Objects menu in the WYSIWYG editor, or into any application via the following code:, (*3)
run ('chat/index', array ('channel' => 'channel-name')); ?>
Or in a view template:, (*4)
{! chat/index?channel=channel-name !}
If no channel is specified, the channel name will be default
. Channels can be
used in your apps to create separate chat rooms for different groups of users., (*5)
The chat box can easily be styled through CSS, and some very basic CSS is included
in /apps/chat/css/default.css
. For reference, here is what the HTML of the chat
box looks like:, (*6)
- Johnny: Hello, world!
- World: Hi Johnny!
Chat app for the Elefant CMS
MIT
app cms chat elefant
Chat app for the Elefant CMS
MIT
app cms chat elefant