Step 1:
Kopiere folgende Datei:
/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php
nach:
/app/code/local/Mage/Adminhtml/Block/Catalog/Product/Grid.php
Step 2:
Füge z.B. folgendes unter den anderen “$this->addColumn…” ein.
Internetagentur für Münster Steinfurt Osnabrück – Webdesign – Android Apps – Typo3 – Magento – Wordpress
Step 1:
Kopiere folgende Datei:
/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php
nach:
/app/code/local/Mage/Adminhtml/Block/Catalog/Product/Grid.php
Step 2:
Füge z.B. folgendes unter den anderen “$this->addColumn…” ein.
What you need:
http://jquery.com/
http://jquery.com/demo/thickbox/
And download also the player:
http://www.longtailvideo.com/players/jw-flv-player/
Then make an new order in “js” like “jquery” and copy jquery.js, thickbox.js and jwplayer.js files in.
The files “player.swf”, swfobject.js” copy into your skin order “mediaplayer”.
Falls man mal bei einer Bestellung die Adresse und weiteres benötigt, wie z.B. auch Status Newsletter Anmeldung
// order Address
$billing = Mage::getModel('sales/order_address')->load(2);
$customer = Mage::getModel('newsletter/subscriber')->loadByEmail($billing['email']);
form.php:
$fieldset->addField('html', 'editor', array(
'name' => 'html',
'label' => Mage::helper('form')->__('HTML'),
'title' => Mage::helper('form')->__('HTML'),
'style' => 'height:300px;',
'required' => true,
'config' => Mage::getSingleton('cms/wysiwyg_config')->getConfig(),
'order' => '3',
));
in Edit/For.php:
protected function _prepareLayout()
{
parent::_prepareLayout();
if (Mage::getSingleton('cms/wysiwyg_config')->isEnabled()) {
$this->getLayout()->getBlock('head')->setCanLoadTinyMce(true);
}
}