Commit e3a63153 authored by tomalo.stuttgart's avatar tomalo.stuttgart

Initial commit for the new ter_fe2. Changes are:

- New file and folder structure based on extbase
- Removed obsolete files and folders from "old" pi_base version

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/branches/ter_fe2@42106 735d13b6-9817-0410-8766-e36946ffe9aa
parent 79b93bf5
# cat=general options/subcat/100; type=string; label=Headline: Description
demo =
\ No newline at end of file
<?php
########################################################################
# Extension Manager/Repository config file for ext "ter_fe2".
#
# Auto generated 13-01-2011 20:33
#
# Manual updates:
# Only the data in the array - everything else is removed by next
# writing. "version" and "dependencies" must not be touched!
########################################################################
$EM_CONF[$_EXTKEY] = array(
'title' => 'TER Frontend Index',
'description' => 'New TER Frontend based on extbase and fluid',
'category' => 'plugin',
'author' => 'Thomas Loeffler,Kai Vogel',
'author_email' => 'loeffler@spooner-web.de,kai.vogel@speedprogs.de',
'author_company' => 'Spooner Web,Speedprogs.de',
'shy' => '',
'dependencies' => 'cms,extbase,fluid',
'conflicts' => '',
'priority' => '',
'module' => '',
'state' => 'alpha',
'internal' => '',
'uploadfolder' => 0,
'createDirs' => '',
'modify_tables' => '',
'clearCacheOnLoad' => 0,
'lockType' => '',
'version' => '0.1.0',
'constraints' => array(
'depends' => array(
'cms' => '',
'extbase' => '',
'fluid' => '',
),
'conflicts' => array(
),
'suggests' => array(
),
),
'suggests' => array(
),
'_md5_values_when_last_written' => 'a:50:{s:21:"ext_conf_template.txt";s:4:"f21e";s:12:"ext_icon.gif";s:4:"e922";s:17:"ext_localconf.php";s:4:"73e2";s:14:"ext_tables.php";s:4:"0c93";s:14:"ext_tables.sql";s:4:"c6da";s:16:"kickstarter.json";s:4:"0478";s:42:"Classes/Controller/ExtensionController.php";s:4:"a349";s:33:"Classes/Domain/Model/Category.php";s:4:"41d0";s:35:"Classes/Domain/Model/Experience.php";s:4:"c639";s:34:"Classes/Domain/Model/Extension.php";s:4:"813f";s:30:"Classes/Domain/Model/Media.php";s:4:"3231";s:33:"Classes/Domain/Model/Relation.php";s:4:"2eec";s:28:"Classes/Domain/Model/Tag.php";s:4:"5487";s:32:"Classes/Domain/Model/Version.php";s:4:"5a55";s:49:"Classes/Domain/Repository/ExtensionRepository.php";s:4:"a079";s:41:"Configuration/FlexForms/flexform_list.xml";s:4:"6bb0";s:30:"Configuration/TCA/Category.php";s:4:"91f6";s:32:"Configuration/TCA/Experience.php";s:4:"3e9a";s:31:"Configuration/TCA/Extension.php";s:4:"1b00";s:27:"Configuration/TCA/Media.php";s:4:"34da";s:30:"Configuration/TCA/Relation.php";s:4:"bc1b";s:25:"Configuration/TCA/Tag.php";s:4:"44e0";s:29:"Configuration/TCA/Version.php";s:4:"6e88";s:38:"Configuration/TypoScript/constants.txt";s:4:"4db4";s:34:"Configuration/TypoScript/setup.txt";s:4:"284c";s:40:"Resources/Private/Language/locallang.xml";s:4:"8d09";s:76:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_category.xml";s:4:"aff6";s:78:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_experience.xml";s:4:"45be";s:77:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_extension.xml";s:4:"b703";s:73:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_media.xml";s:4:"62c2";s:76:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_relation.xml";s:4:"41b8";s:71:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_tag.xml";s:4:"bab5";s:75:"Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_version.xml";s:4:"4450";s:43:"Resources/Private/Language/locallang_db.xml";s:4:"3eb5";s:38:"Resources/Private/Layouts/default.html";s:4:"1eeb";s:42:"Resources/Private/Partials/formErrors.html";s:4:"f5bc";s:49:"Resources/Private/Templates/Extension/create.html";s:4:"d41d";s:47:"Resources/Private/Templates/Extension/edit.html";s:4:"7dc0";s:48:"Resources/Private/Templates/Extension/index.html";s:4:"062f";s:47:"Resources/Private/Templates/Extension/list.html";s:4:"d41d";s:46:"Resources/Private/Templates/Extension/new.html";s:4:"de7d";s:47:"Resources/Private/Templates/Extension/show.html";s:4:"4579";s:35:"Resources/Public/Icons/relation.gif";s:4:"e615";s:58:"Resources/Public/Icons/tx_terfe2_domain_model_category.gif";s:4:"4e5b";s:60:"Resources/Public/Icons/tx_terfe2_domain_model_experience.gif";s:4:"4e5b";s:59:"Resources/Public/Icons/tx_terfe2_domain_model_extension.gif";s:4:"905a";s:55:"Resources/Public/Icons/tx_terfe2_domain_model_media.gif";s:4:"1103";s:58:"Resources/Public/Icons/tx_terfe2_domain_model_relation.gif";s:4:"4e5b";s:53:"Resources/Public/Icons/tx_terfe2_domain_model_tag.gif";s:4:"4e5b";s:57:"Resources/Public/Icons/tx_terfe2_domain_model_version.gif";s:4:"1103";}',
);
?>
\ No newline at end of file
ext_icon.gif

177 Bytes

<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
// Make plugin available in Frontend
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Pi1',
array(
'Extension' => 'index, show, new, create, edit, update, delete',
),
array(
'Extension' => 'create, update, delete',
)
);
?>
\ No newline at end of file
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
// Add plugin to list
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Pi1',
'TER Frontend Index'
);
// Add static TypoScript files
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TER Frontend Index');
// Add flexform to field list of the Backend form
$extIdent = strtolower(t3lib_div::underscoredToUpperCamelCase($_EXTKEY)) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$extIdent] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$extIdent] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($extIdent, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
// Domain models and their label field
$models = array(
'extension' => 'ext_key',
'category' => 'title',
'tag' => 'title',
'version' => 'title',
'media' => 'title',
'experience' => 'date_time',
'relation' => 'relation_type',
);
// Add entities and value objects
foreach ($models as $modelName => $labelField) {
// Add help text to the Backend form
t3lib_extMgm::addLLrefForTCAdescr(
'tx_terfe2_domain_model_' . $modelName,
'EXT:ter_fe2/Resources/Private/Language/locallang_csh_tx_terfe2_domain_model_' . $modelName . '.xml'
);
// Allow datasets on standard pages
t3lib_extMgm::allowTableOnStandardPages('tx_terfe2_domain_model_' . $modelName);
// Add table configuration
$TCA['tx_terfe2_domain_model_' . $modelName] = array (
'ctrl' => array (
'title' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xml:tx_terfe2_domain_model_' . $modelName,
'label' => $labelField,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'transOrigDiffSourceField' => 'l18n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden'
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/' . ucfirst($modelName) . '.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_terfe2_domain_model_' . $modelName . '.gif'
)
);
}
?>
\ No newline at end of file
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_extension"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_extension (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
ext_key tinytext,
forge_link tinytext,
hudson_link tinytext,
category int(11) unsigned DEFAULT '0',
tag int(11) unsigned DEFAULT '0' NOT NULL,
version int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_category"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_category (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
title tinytext,
description tinytext,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_tag"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_tag (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
extension int(11) unsigned DEFAULT '0' NOT NULL,
title tinytext,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_version"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_version (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
extension int(11) unsigned DEFAULT '0' NOT NULL,
title tinytext,
icon tinytext,
description text,
filename tinytext,
author tinytext,
version_number tinytext,
upload_date int(11) DEFAULT '0' NOT NULL,
upload_comment text,
download_counter int(11) DEFAULT '0' NOT NULL,
state tinytext,
em_category tinytext,
load_order tinytext,
shy tinyint(4) unsigned DEFAULT '0' NOT NULL,
internal tinyint(4) unsigned DEFAULT '0' NOT NULL,
do_not_load_in_fe tinyint(4) unsigned DEFAULT '0' NOT NULL,
uploadfolder tinyint(4) unsigned DEFAULT '0' NOT NULL,
clear_cache_on_load tinyint(4) unsigned DEFAULT '0' NOT NULL,
module tinytext,
create_dirs tinytext,
modify_tables tinytext,
lock_type tinytext,
cgl_compliance tinytext,
cgl_compliance_note text,
manual tinytext,
media int(11) unsigned DEFAULT '0' NOT NULL,
experience int(11) unsigned DEFAULT '0' NOT NULL,
software_relation int(11) unsigned DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_media"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_media (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
version int(11) unsigned DEFAULT '0' NOT NULL,
title tinytext,
type int(11) DEFAULT '0' NOT NULL,
language tinytext,
source tinytext,
description text,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_experience"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_experience (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
version int(11) unsigned DEFAULT '0' NOT NULL,
date_time int(11) DEFAULT '0' NOT NULL,
comment text,
rating int(11) DEFAULT '0' NOT NULL,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
# ======================================================================
# Table configuration for table "tx_terfe2_domain_model_relation"
# ======================================================================
CREATE TABLE tx_terfe2_domain_model_relation (
uid int(11) NOT NULL auto_increment,
pid int(11) DEFAULT '0' NOT NULL,
version int(11) unsigned DEFAULT '0' NOT NULL,
relation_type int(11) DEFAULT '0' NOT NULL,
software_type int(11) DEFAULT '0' NOT NULL,
tx_terfe2_key tinytext,
version tinytext,
tstamp int(11) unsigned DEFAULT '0' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
t3ver_oid int(11) DEFAULT '0' NOT NULL,
t3ver_id int(11) DEFAULT '0' NOT NULL,
t3ver_wsid int(11) DEFAULT '0' NOT NULL,
t3ver_label varchar(30) DEFAULT '' NOT NULL,
t3ver_state tinyint(4) DEFAULT '0' NOT NULL,
t3ver_stage tinyint(4) DEFAULT '0' NOT NULL,
t3ver_count int(11) DEFAULT '0' NOT NULL,
t3ver_tstamp int(11) DEFAULT '0' NOT NULL,
t3_origuid int(11) DEFAULT '0' NOT NULL,
sys_language_uid int(11) DEFAULT '0' NOT NULL,
l18n_parent int(11) DEFAULT '0' NOT NULL,
l18n_diffsource mediumblob NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment