Skip to content

Instantly share code, notes, and snippets.

View wingsuitist's full-sized avatar

Sam Felix wingsuitist

  • Basel
View GitHub Profile
@wingsuitist
wingsuitist / 0_reuse_code.js
Created January 20, 2014 07:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Fluid in pibase:
var $view;
public function getView($action) {
$this->extPath = t3lib_extMgm::extPath($this->extKey);
$this->view = t3lib_div::makeInstance('Tx_Fluid_View_StandaloneView');
$this->view->setLayoutRootPath(t3lib_extMgm::extPath($this->extKey) . 'Resources/Private/Layouts/');