To generate Magento Admin URL with Parameters and Key, use below given codes:
Mage::helper("adminhtml")->getUrl("module_name/controller_name/action_name/",array("param1"=>1,"param2"=>2));
To generate Magento Admin URL with Parameters and Key, use below given codes:
Mage::helper("adminhtml")->getUrl("module_name/controller_name/action_name/",array("param1"=>1,"param2"=>2));
Go to the file {your magento root folder}/Block/Adminhtml/{module name}/Edit/Tab/Form.php add following code in top of the file
$fieldset->addField(
'followupemail_text',
'editor',
array('name'=>'followupemail_text',
'label' => Mage::helper('followupemail')->__('Content'),
'title' => Mage::helper('followupemail')->__('Content'),
'required' => true,
'style' => 'height:24em;','config' => $wysiwygConfig,
));go to the file {your magento root folder}/Block/Adminhtml/{module name}/Edit.php add the following line in this file
protected function _prepareLayout() { // Load Wysiwyg on demand and Prepare layout if (Mage::getSingleton('cms/wysiwyg_config')->isEnabled() && ($block = $this->getLayout()->getBlock('head'))) { $block->setCanLoadTinyMce(true); } parent::_prepareLayout(); }