2017 © Pedro Peláez
 

elefant-app app-chat

Chat app for the Elefant CMS

image

elefant/app-chat

Chat app for the Elefant CMS

  • Friday, May 11, 2012
  • by jbroadway
  • Repository
  • 1 Watchers
  • 1 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Chat for Elefant

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)

Embedding the chat box

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)

Styling the chat box

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!

The Versions

11/05 2012

dev-master

9999999-dev

Chat app for the Elefant CMS

  Sources   Download

MIT

The Requires

 

app cms chat elefant

11/05 2012

1.0

1.0.0.0

Chat app for the Elefant CMS

  Sources   Download

MIT

The Requires

 

app cms chat elefant