This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$chooserHelper = Mage::helper('jarlssen_chooser_widget/chooser'); | |
$cmsPageConfig = array( | |
'input_name' => 'entity_link', | |
'input_label' => $this->__('CMS Page'), | |
'button_text' => $this->__('Select CMS Page…'), | |
'required' => true | |
); | |
$chooserHelper->createCmsPageChooser($model, $fieldset, $cmsPageConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$chooserHelper = Mage::helper('jarlssen_chooser_widget/chooser'); | |
$blockConfig = array( | |
'input_name' => 'entity_link', | |
'input_label' => $this->__('Block'), | |
'button_text' => $this->__('Select Block...'), | |
'required' => true | |
); | |
$chooserHelper->createCmsBlockChooser($model, $fieldset, $blockConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$chooserHelper = Mage::helper('jarlssen_chooser_widget/chooser'); | |
$categoryConfig = array( | |
'input_name' => 'entity_link', | |
'input_label' => $this->__('Category'), | |
'button_text' => $this->__('Select Category...'), | |
'required' => true | |
); | |
$chooserHelper->createProductChooser($model, $fieldset, $categoryConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$chooserHelper = Mage::helper('jarlssen_chooser_widget/chooser'); | |
$productConfig = array( | |
'input_name' => 'entity_link', | |
'input_label' => $this->__('Product'), | |
'button_text' => $this->__('Select Product...'), | |
'required' => true | |
); | |
$chooserHelper->createCategoryChooser($model, $fieldset, $productConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$categoryConfig = array( | |
'input_name' => 'entity_link', | |
'input_label' => $this->__('Product'), | |
'button_text' => $this->__('Select Product...'), | |
'required' => true | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config> | |
<modules> | |
<My_CustomExtension> | |
<active>true</active> | |
<codePool>local</codePool> | |
<depends> | |
<Jarlssen_ChooserWidget/> | |
</depends> | |
</My_CustomExtension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<config> | |
........... | |
........... | |
........... | |
<default> | |
<jarlssen_chooser_widget> | |
<chooser_defaults> | |
<catalog_product_widget_chooser> | |
<input_label>Product</input_label> | |
<button_text>Select Product...</button_text> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/app/etc/local.xml | |
/var/ | |
/media/ | |
/includes/ | |
/downloader/ | |
/index.php | |
/tmp/ | |
/.htaccess | |
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author MagePsycho <info@magepsycho.com> | |
* @author ceckoslab <ceckoslab@gmail.com> | |
* @website http://www.magepsycho.com | |
* @website http://ceckoslab.com | |
*/ | |
$mageFilename = 'app/Mage.php'; | |
require_once $mageFilename; | |
Mage::setIsDeveloperMode(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author MagePsycho <info@magepsycho.com> | |
* @website http://www.magepsycho.com | |
* @category Export / Import | |
*/ | |
$mageFilename = 'app/Mage.php'; | |
require_once $mageFilename; | |
Mage::setIsDeveloperMode(true); | |
ini_set('display_errors', 1); |