This is the support topic for the tutorial Add a emoticon/smilies button to the shoutbox. Please post here if you have any questions or feedback.
Page 1 of 1
Add a emoticon/smilies button to the shoutbox
#2
Posted 23 November 2010 - 04:59 AM
Zero, on 21 November 2010 - 12:07 PM, said:
This is the support topic for the tutorial Add a emoticon/smilies button to the shoutbox. Please post here if you have any questions or feedback.
Very good point man, a great addition
|
Thanked by 1 Member:
|
#3
Posted 23 January 2011 - 09:57 AM
If you have created a new page by following this tutorial: http://naturalbornsk...mber-home-page/
And added the shoutbox block on this page and have the problem with the shoutbox popup showing but you can't click the smilies to insert the code in the textbox.
Then try this fix:
NOTE: Anywhere that is says pagename - change that to the page name that you created in that above tutorial. Home, members, etc.
Open: module/core/include/component/controller/pagename.class.php
Replace everything in that file with:
Let me know if it works for you too!
And added the shoutbox block on this page and have the problem with the shoutbox popup showing but you can't click the smilies to insert the code in the textbox.
Then try this fix:
NOTE: Anywhere that is says pagename - change that to the page name that you created in that above tutorial. Home, members, etc.
Open: module/core/include/component/controller/pagename.class.php
Replace everything in that file with:
<?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox_Component
* @version $Id: index.class.php 604 2009-05-29 21:28:02Z Raymond_Benc $
*/
class Core_Component_Controller_pagename extends Phpfox_Component
{
/**
* Class process method wnich is used to execute this component.
*/
public function process()
{
$this->template()->setEditor(array(
'load' => 'simple'
)
);
}
}
?>Let me know if it works for you too!
Andy
Share this topic:
Page 1 of 1

Help




.png)
MultiQuote.png)









