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
1. in ext_localconf.php: | |
$TYPO3_CONF_VARS['FE']['eID_include']['bar'] = 'EXT:foo/lib/class.tx_foo.php'; | |
2. in lib/class.foobar.php | |
<?php | |
require_once(PATH_tslib.'class.tslib_pibase.php'); | |
$GLOBALS['TYPO3_DB']->store_lastBuiltQuery = 1; | |
class tx_foobar extends tslib_pibase { | |
var $exclude = array('tt_news' => array(0)); |
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
<?php | |
//Alias long namespaces to use shorter ones. | |
use \TYPO3\CMS\Core as Core; | |
use \TYPO3\CMS\Extbase\Utility as Utility; | |
use \TYPO3\CMS\Frontend as Frontend; | |
#$a = require_once(Core\Utility\ExtensionManagementUtility::extPath('np_viewer')); | |
/* INITIALIZE */ | |
// Basic TSFE Setup - get all the Page data you may need. |