Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8485901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:46:56+00:00 2026-06-10T20:46:56+00:00

I have a custom module with a content field (WYSIWYG editor) When I select

  • 0

I have a custom module with a content field (WYSIWYG editor)

When I select the insert image button, the following popup appears. For some reason the ‘browse’ button at the side of the Image URL has disappeared. Can someone point me in the right direction to get the image icon back? (what block/controller etc)

What is required when adding the full featured WYSIWYG editor to a custom magento module?

No browse icon at side of image url

This is my form field element within Form.php (block)

$fieldset->addField('post_content', 'editor', array(
    'name'      => 'post_content',
    'label'     => Mage::helper('faqs')->__('Answer'),
    'title'     => Mage::helper('faqs')->__('Answer'),
    'style'     => 'width:700px; height:500px;',
    'wysiwyg'   => true,
)); 

Thank you.

Jonny

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:46:58+00:00Added an answer on June 10, 2026 at 8:46 pm

    I managed to sort this by adding some configuration options to the field,

    Add the following code above the addField() of your WYSIWYG,

    $configSettings = Mage::getSingleton('cms/wysiwyg_config')->getConfig( 
    array( 'add_widgets' => false, 'add_variables' => false, 'add_images' => false,  'files_browser_window_url'=> $this->getBaseUrl().'admin/cms_wysiwyg_images/index/')); 
    

    Once you’ve added the code, you need to add another param to the addField called ‘config’ calling your $configSettings variable.

    $fieldset->addField('post_content', 'editor', array(
        'name'      => 'post_content',
        'label'     => Mage::helper('faqs')->__('Answer'),
        'title'     => Mage::helper('faqs')->__('Answer'),
        'style'     => 'width:700px; height:500px;',
        'wysiwyg'   => true,
        'config' => $configSettings
    )); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: Drupal 6 node module defining custom content type Necessity to have an automated
I have module that implements custom content type via NodeAPI hooks ( hook_insert ,
I have developed a PyroCMS custom module, but now I want to add WYSIWYG
I created a custom module for Orchard following this wonderful guide . I have
I have written an IIS module (base IHttpModule) that does some custom (OpenAuth) authentication
I have an Orchard cms module with some additional Content types set up and
i have created a simple custom module to store title, date and content from
I have a custom module I made for Magento. From the admin, there is
I have a custom module I made to show featured products on the homepage.
I have made my custom module in magento, in which I have set discount

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.