2
Wie verwende ich ein benutzerdefiniertes HTML-Element im Admin-Formularfeld?
$fieldset->addField('rating', 'label', array( 'name' => 'rating', 'label' => Mage::helper('sellerreview')->__('Rating'), 'title' => Mage::helper('sellerreview')->__('Rating'), 'renderer' => 'sellerreview/adminhtml_review_renderer_image', )); Das ist meine image.php Datei public function render(Varien_Object $row) { $fullRating = $row->getRating(); $html = ''; $html = $html.'<input id="input-21d" name="rating" value='. $fullRating .' type="number" class="rating" min=0 max=5 step=0.5 data-size="sm" data-disabled="true">'; return $html; } …