Hi friends,
I just made a plugin to integrate php free chat to elgg 1.8 (I know its already there for 1.7).. the plugin structure is like this
chat_pfc
|_ languages
|_en.php
|_ pages
|_chat_pfc
|_index.php
|_vendors
|_phpfreechat
|_index.php
|_other folders and files
|_Views
|_default
|_chat_pfc
|_nav.php
|_pages
|_chat.php
|_commands.php
|_manifest.xml
|_start.php
I want to call the index.php file inside the vender/phpfreechat/ in chat.php file of views/default/pages/
I can do that using inframes and its working, But i want to call using the elgg_view how its possible?
Also in mod/page/index.php i added the following code:
switch ($vars['page']) {
case 'commands':
$content = elgg_view('page/commands');
break;
case 'chat':
default:
$content = elgg_view('page/chat');
break;
}
if I change the phpfreechat folder to views/default/page/ and change the
$content = elgg_views("page/phpfreechat/index") its not loading...
Any idea y?
thanks for your help...
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- senfour19@senfour19
senfour19 - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- senfour19@senfour19
senfour19 - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- miteshsc@miteshsc
miteshsc - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- DEEPAN@deepan
DEEPAN - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
You must log in to post replies.hi, i m looking for chta pluguin, could you help please?
thanks
this will work if loaded in iframe. But I dont want iframe.. thats the problem.
do you have a chat pluguin?
could you give me even iframe?
thanks
I will upload that here... may be this weekend?
Which plugin in you have used? you can take reference from my group chat plugin.
ok i did the removal of iframe using the include code.. now its working. made some changes and will be releasing new version of chat room it in the plugin section of elgg site
frei-chat plugin for Elgg 1.8.X for Elgg 1.8Use this:
http://community.elgg.org/plugins/793831/1.5 works fine for me
@DEEPAN,
actually i added this topic for help for removing iframe from my chat room plugin. orginal topic was got removed i dont know y and the 1st comment is showing here..
Admins of ELGG can remove this post since my problem was solved and the chat plugin is uploaded in plugin section.
thank you