Skip to content

Instantly share code, notes, and snippets.

View t3easy's full-sized avatar
💭
Busy but happy!

Jan Kiesewetter t3easy

💭
Busy but happy!
View GitHub Profile
@t3easy
t3easy / .htaccess
Created September 13, 2013 08:35
adaptive-images TYPO3
<IfModule mod_rewrite.c>
# Enable URL rewriting
RewriteEngine On
# Adaptive Images -----------------------------------------------------------------------------------
# Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows:
RewriteCond %{REQUEST_URI} !^/ai-cache/
RewriteCond %{REQUEST_URI} !^/typo3/
@t3easy
t3easy / lib.sf-menu.txt
Created July 17, 2013 14:36
superfish menu for TYPO3
#page.includeCSS.1353257182 = {$paths.public}/Css/superfish.css
page.includeJSFooterlibs.jquery = http://code.jquery.com/jquery.min.js
page.includeJSFooterlibs.jquery.external = 1
page.includeJSFooter.1353257182 = {$paths.public}/Js/superfish.js
page.jsFooterInline.1353257182 = TEXT
page.jsFooterInline.1353257182.wrap = $(document).ready(function() {|});
page.jsFooterInline.1353257182.value = $('ul.sf-menu').superfish();
class Tx_Extension_Controller_ModelController extends Tx_Extbase_MVC_Controller_ActionController {
/**
* action list
*
* @return void
*/
public function listAction() {
$GLOBALS['TSFE']->getPageRenderer()->addJsFooterFile(
t3lib_extMgm::siteRelPath('extensionkey') . 'Resources/Public/JavaScript/foo.js'