Skip to content

Instantly share code, notes, and snippets.

View jwohlfeil's full-sized avatar

Jan Wohlfeil jwohlfeil

View GitHub Profile
@jwohlfeil
jwohlfeil / 20-misc.ts
Created April 14, 2017 09:14
T3 - Hintergrund Bild aus Seiteneigenschaften.ts
# Hintergrund Bild aus Seiteneigenschaften
temp.bgimg = IMG_RESOURCE
temp.bgimg {
file {
import = uploads/media/
import.data = levelmedia:-1, slide
treatIdAsReference = 1
import.listNum = 0
}
}
@jwohlfeil
jwohlfeil / T3 - Fluid layoutsRootPaths, partialsRootPaths, templateRootPaths überschreiben für Extension.ts
Last active April 13, 2017 06:09
T3 - Fluid layoutsRootPaths, partialsRootPaths, templateRootPaths überschreiben für Extension.ts
plugin.tx_news {
view {
templateRootPaths >
templateRootPaths {
0 = EXT:news/Resources/Private/Templates/
1 = typo3conf/ext/d3ultimo/Resources/Private/news/Templates/
}
partialRootPaths >
partialRootPaths {
0 = EXT:news/Resources/Private/Partials/
<?php
require_once('app/Mage.php'); //Path to Magento
error_reporting(E_ALL);
ini_set("display_errors", 1);
umask(0);
Mage::app();
@jwohlfeil
jwohlfeil / Mage2 - bin-magento setup:upgrade.sh
Last active February 14, 2017 14:41
Mage2 - bin-magento setup:upgrade.sh
bin/magento setup:upgrade
@jwohlfeil
jwohlfeil / Mage2 - bin-magento indexer:reindex.sh
Last active February 14, 2017 14:43
Mage2 - bin-magento indexer:reindex.sh
bin/magento indexer:reindex
bin/magento dev:source-theme:deploy
bin/magento deploy:mode:set developer
bin/magento cron:run
bin/magento cache:flush
bin/magento cache:clean