This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
composer require --no-update "typo3/neos:1.1.*" | |
composer require --no-update "typo3/neos-nodetypes:1.1.*" | |
composer require --no-update "typo3/neosdemotypo3org:1.1.*" | |
composer require --no-update "typo3/neos-kickstarter:1.1.*" | |
composer require --no-update "typo3/buildessentials:2.2.*" | |
composer update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# phase one: core install | |
# Pro tip: edit the script and use this repository instead to try out the | |
# codename "Awesome Ocelot" project - which should be even faster than the | |
# bare 6.2 core: https://github.com/NamelessCoder/TYPO3.CMS.git | |
# Live demo of "Awesome Ocelot" is at http://staging.namelesscoder.net | |
git clone https://github.com/TYPO3/TYPO3.CMS.git --depth 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib.pageCategories = CONTENT | |
lib.pageCategories { | |
wrap = <ul>|</ul> | |
table = pages | |
select { | |
uidInList = this | |
pidInList = 0 | |
selectFields = sys_category.title | |
join = sys_category_record_mm ON pages.uid = sys_category_record_mm.uid_foreign JOIN sys_category ON sys_category.uid = sys_category_record_mm.uid_local | |
where = sys_category_record_mm.tablenames = 'pages' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 = HMENU | |
20 { | |
special = categories | |
special.value = 2 | |
1 = TMENU | |
1 { | |
wrap = <ul>|</ul> | |
NO { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Start scroll | |
function scrollToAnchor(hash, duration) { | |
var target = $(hash), header, scrollTop = 0; | |
target = target.length > 0 ? target : $('[name=' + hash.slice(1) +']'); | |
if (target.length > 0) { | |
header = $('#header'); | |
scrollTop = target.offset().top; | |
if (target.attr('id') !== 'top' && header.length > 0 && header.css('position') === 'fixed'){ | |
scrollTop = scrollTop - header.height(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
page.headerData { | |
# Apple touch icons | |
1424098000 = COA | |
1424098000 { | |
# iPhone | |
10 = IMAGE | |
10 { | |
file = EXT:mypackage/Resources/Public/Images/apple-touch-icon.png | |
file.width = 60 | |
file.height = 60 |
OlderNewer