Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 12-29-2014, 03:51 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 22,601
IntoRain is on a distinguished road
Default

In shoutboxview.php:
PHP Code:
    public function index(){
        
$mysidia Registry::get("mysidia");
        
$document $this->document;
        
$document->setTitle($this->lang->title);
        
$document->addLangvar($this->lang->default);
        
        
$shoutbox $this->getField("shoutbox");
        
$this->display($shoutbox);        
        
//$ckEditor = $shoutbox->editor;//comment or delete this       
        
if($mysidia->input->post("comment")){
            
$document->addLangvar($this->lang->complete);
            
$this->refresh(5);
            return;
        }

        
$shoutboxForm = new Form("shoutbox""shoutbox""post");
        
$shoutboxForm->add(new Comment($mysidia->lang->noticeTRUE));//change this to TRUE to make a linebreak
                 //comment or delete this:
        //$shoutboxForm->add(new Comment($ckEditor->editor("comment", "CKEditor for Mys v1.3.4")));
      
        
$shoutTextArea = new TextArea("comment"""445);//add this line
        
$shoutboxForm->add($shoutTextArea);//add this line
        
$shoutboxForm->add(new Button("Shout It!""submit""submit"));
        
$document->add($shoutboxForm);
    } 
I commented the changes, so it should be easy to find them ^^
__________________


asp.net stole my soul.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP in editor? SilverDragonTears Questions and Supports 5 05-02-2012 10:43 PM
Page Editor Glitches AlexC Questions and Supports 11 04-28-2012 08:44 AM
Remove Sidebar? SilverDragonTears Questions and Supports 0 06-03-2011 08:42 PM
Remove Adoptables? Blues Questions and Supports 3 07-28-2009 03:08 PM
Remove Search Bar LilPixie Questions and Supports 3 02-12-2009 04:26 PM


All times are GMT -5. The time now is 07:54 PM.

Currently Active Users: 3318 (0 members and 3318 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636