Magento core: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(Bilder Gallery)
Zeile 35: Zeile 35:
 
* Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Image.php
 
* Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Image.php
  
* weiteres
+
 
** Mage_Adminhtml_Block_Media_Uploader
+
=== evt unrelevant ===
 +
* Magento18/app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Images.php
 +
** class Mage_XmlConnect_Block_Adminhtml_Mobile_Edit_Tab_Design_Images extends Mage_Adminhtml_Block_Template
 +
* Magento18/app/code/core/Mage/Adminhtml/Block/Media/Uploader.php
 +
** class Mage_Adminhtml_Block_Media_Uploader extends Mage_Adminhtml_Block_Widget
  
 
== catalog.xml ==
 
== catalog.xml ==

Version vom 21. November 2013, 23:04 Uhr

replace

Images (.gif, .jpg, .png) => Images (.gif, .jpg, .png, .svg)
array('*.gif', '*.jpg','*.jpeg', '*.png') => array('*.gif', '*.jpg','*.jpeg', '*.png', '*.svg')

Adminhtml

Bilder Gallery

Suchwort: @Galerie

Source Code Stellen

  • Catalog product gallery attribute Objektfunktionen die die Anzeige (Tabelle, upload, ...) aufrufen
      • class Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Gallery extends Varien_Data_Form_Element_Abstract
    • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery.php
    • Block: Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Gallery_Content
        • class Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Gallery_Content extends Mage_Adminhtml_Block_Widget
      • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Gallery/Content.php
      • Template
        • Magento18/app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml

aufrufende Stellen

  • class Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes extends Mage_Adminhtml_Block_Catalog_Form
      • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php
    • Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm() -- generiert alle Punkte die unter #catalog.xml (z.B. Katalog > Produkte verwalten > Produkt > Bilder) nicht aufgeführt sind
    • Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_getAdditionalElementTypes() -- Ortsangabe zum Gallery Helper (muss hier zur Verfügung stehen, sonst Fehler bei Produktanzeige)


  • ähnlich wie oben nur weiß ich nicht was es betrifft
    • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Attribute/New/Product/Attributes.php
    • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php
    • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php
  • Magento18/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Image.php


evt unrelevant

  • Magento18/app/code/core/Mage/XmlConnect/Block/Adminhtml/Mobile/Edit/Tab/Design/Images.php
    • class Mage_XmlConnect_Block_Adminhtml_Mobile_Edit_Tab_Design_Images extends Mage_Adminhtml_Block_Template
  • Magento18/app/code/core/Mage/Adminhtml/Block/Media/Uploader.php
    • class Mage_Adminhtml_Block_Media_Uploader extends Mage_Adminhtml_Block_Widget

catalog.xml

Magento18/app/design/adminhtml/default/default/layout/catalog.xml

catalog.xml bezieht sich auf admin panel > Katalog

  • Artikel verwalten
  • Kategorien verwalten

alle anderen (Attribute, Url Rewrite Verwaltung, Suchbegriffe ... ) nicht

  • admin panel > Katalog > Produkt
    • Allgemein:
    • Preise:
    • Metadaten:
    • Bilder:
    • Wiederkehrendes Profil:
    • Design:
    • Geschenkoptionen:
    • Lagerverwaltung:
    • Kategorien: adminhtml_catalog_product_categories
    • Zubehör adminhtml_catalog_product_related
    • Up-Selling adminhtml_catalog_product_upsell
    • Up-Selling > Suche adminhtml_catalog_product_upsellgrid
    • Cross-Selling adminhtml_catalog_product_crosssell
    • Cross-Selling > Suche adminhtml_catalog_product_crosssellgrid
    • Kundenmeinungen: adminhtml_catalog_product_reviews
    • Schlagworte: adminhtml_catalog_product_taggrid
    • Kunden, die Schlagworte adminhtml_catalog_product_tagcustomergrid
    • Individualisierungsoptionen adminhtml_catalog_product_options
    • überall bzw ab und zu
      • ## > Neues Attribut adminhtml_catalog_product_attribute_edit
  • Konfigurierbare Produkte
    • Fehlermeldung: Konfigurierbaren Artikel erstellen und keine Attributte haben adminhtml_catalog_product_configurable_new
  • Katalog >
    • Kategorien verwalten: adminhtml_catalog_category_edit
  • unklar
    •  ? adminhtml_catalog_product_grid (Tabellen)
    •  ? adminhtml_catalog_product_relatedgrid
    •  ? adminhtml_catalog_product_superconfig
    •  ? adminhtml_catalog_product_alertspricegrid
    •  ? adminhtml_catalog_product_alertsstockgrid
    •  ? adminhtml_catalog_product_simple
    •  ? adminhtml_catalog_product_simple
    •  ? adminhtml_catalog_product_grouped
    •  ? adminhtml_catalog_product_supergroup
    •  ? adminhtml_catalog_product_supergroupgridonly
    •  ? adminhtml_catalog_product_configurable
    •  ? adminhtml_catalog_product_action_attribute_edit
    •  ? ADMINHTML_CATALOG_PRODUCT_COMPOSITE_CONFIGURE
    •  ? ADMINHTML_CATALOG_PRODUCT_COMPOSITE_CONFIGURE_ERROR
    •  ? ADMINHTML_CATALOG_PRODUCT_COMPOSITE_UPDATE_RESULT
    •  ? PRODUCT_TYPE_configurable
    •  ? PRODUCT_TYPE_grouped