Magento Forum

   
Text Area in CMS Pages
 
PCGamesPlus
Sr. Member
 
Avatar
Total Posts:  166
Joined:  2008-01-03
Sacramento, CA
 

I know that this has been addressed before. I cant find the file to edit to enlarge the text area in the CMS pages. I used FF to track down the code I just cant seem to find the file.

<textarea id="page_content" class="required-entry textarea" type="textarea" style="width: 98%; height: 600px;" title="Content" name="content">{{block type="core/template" template="sample/home.phtml"}}</textarea>

Can anyone help me?

 
Magento Community Magento Community
Magento Community
Magento Community
 
nabuhonodozor
Member
 
Avatar
Total Posts:  51
Joined:  2008-03-27
 

Look at wysiwyg thread - there were hints what to change to have bigger text area in cms editind pages

 
Magento Community Magento Community
Magento Community
Magento Community
 
PCGamesPlus
Sr. Member
 
Avatar
Total Posts:  166
Joined:  2008-01-03
Sacramento, CA
 

I found my answer in this thread

http://www.magentocommerce.com/boards/viewthread/420/

It was the more simple version I was looking for.

In app>code>core>Mage>Adminhtml>Block>Cms>Page>Edit>Tab/main.php I changed this

$fieldset->addField('content''editor', array(
            
'name'      => 'content',
            
'label'     => Mage::helper('cms')->__('Content'),
            
'title'     => Mage::helper('cms')->__('Content'),
            
'style'     => 'width: 98%; height: 600px;',
            
'wysiwyg'   => false,
            
'required'  => true,
        ));

to this.

$fieldset->addField('content''editor', array(
            
'name'      => 'content',
            
'label'     => Mage::helper('cms')->__('Content'),
            
'title'     => Mage::helper('cms')->__('Content'),
            
'style'     => 'width: 700px; height: 600px;',
            
'wysiwyg'   => false,
            
'required'  => true,
        ));

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top