Magento: Add block to content area of home page
Go over the main menu to CMS -> Pages and open the home page. Then go to the tab „Design“ and edit the code. The following example adds a block at the end of...
Einiges über TYPO3, symfony und Webentwicklung
Go over the main menu to CMS -> Pages and open the home page. Then go to the tab „Design“ and edit the code. The following example adds a block at the end of...
The original path is: path/to/magento/media/blog/<imagename> The path of the resized image is: path/to/magento/media/blog/resized/<imagename> public function resizeImg($fileName, $width, $height = null) { $folderURL = Mage::getBaseDir(Mage_Core_Model_Store::URL_TYPE_MEDIA). DS .'blog'. DS; $basePath = $folderURL . $fileName; $newPath =...
In seiner layout update xml Datei kann man folgende Tags verwenden. mm steht hierbei für den Store View Code: <?xml version="1.0" encoding="UTF-8"?> <layout> <default> …. </default> <STORE_mm> <reference name="head"> <action method="addJs"><script>pfad/zur/datei-mm.js</script></action> </reference> </STORE_mm> </layout>
Die Breadcrumb kann man auf einer bestimmten Seite, beispielsweise auf der Home-Seite, bequem mit folgendem Code im Seitenlayout abschalten: <remove name="breadcrumbs" />
Um die cron.php unter dem User wwwrun auszuführen, muss man den Befehl in die Crontab des Users eintragen: crontab -e -u wwwrun und dann den Aufruf eintragen: */5 * * * * /usr/bin/php -f...
Mit LocationMatch kann man einen Teil einer URL schützen. Das ist beispielsweise praktisch, wenn man eine Store View eines Magento Shops vor der Öffentlichkeit schützen will, bis diese fertiggestellt ist. <LocationMatch "/en/"> AuthType Basic...
Eine kleine Präsentation über das Google Shopping Plugin für Magento ist hier zu finden.
Bei der Anzeige von Beträgen kann es bei gewissen Kombinationen von Preis und Steuersatz zu einer fehlerhaften Preisanzeige kommen. Beispielsweise wird bei einem Bruttobetrag von 162 Euro und 21prozentiger Mehrwertsteuer ein Betrag von 161,99...
Beim Update des Gewicht-Attributes erscheint folgende Fehlermeldung: The attribute code 'weight' is reserved by system. Please try another attribute code Um das Attribut zu ändern, muss man in der Datenbank folgende Schritte durchführen: In...
I found the following solution for changing the background color of images. I have overwritten the Catalog/Helper/Image class, so the background color is changed in the whole theme and it isn’t necessary to overwrite...
Mehr