Initial commit
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# Extension Builder settings for extension if_oberstufenplaner
|
||||
# generated 2015-09-29T16:33:00Z
|
||||
#
|
||||
# See http://www.yaml.org/spec/1.2/spec.html
|
||||
#
|
||||
|
||||
---
|
||||
|
||||
########### Overwrite settings ###########
|
||||
#
|
||||
# These settings only apply, if the roundtrip feature of the extension builder
|
||||
# is enabled in the extension manager
|
||||
#
|
||||
# Usage:
|
||||
# nesting reflects the file structure
|
||||
# a setting applies to a file or recursive to all files and subfolders
|
||||
#
|
||||
# merge:
|
||||
# means for classes: All properties ,methods and method bodies
|
||||
# of the existing class will be modified according to the new settings
|
||||
# but not overwritten
|
||||
#
|
||||
# for locallang xlf files: Existing keys and labels are always
|
||||
# preserved (renaming a property or DomainObject will result in new keys and new labels)
|
||||
#
|
||||
# for other files: You will find a Split token at the end of the file
|
||||
# After this token you can write whatever you want and it will be appended
|
||||
# everytime the code is generated
|
||||
#
|
||||
# keep:
|
||||
# files are never overwritten
|
||||
# These settings may break the functionality of the extension builder!
|
||||
# Handle with care!
|
||||
#
|
||||
#
|
||||
|
||||
############ extension settings ##############
|
||||
|
||||
overwriteSettings:
|
||||
Classes:
|
||||
Controller: merge
|
||||
Domain:
|
||||
Model: merge
|
||||
Repository: merge
|
||||
|
||||
Configuration:
|
||||
#TCA: merge
|
||||
#TypoScript: keep
|
||||
|
||||
Resources:
|
||||
Private:
|
||||
#Language: merge
|
||||
#Templates: keep
|
||||
|
||||
ext_icon.gif: keep
|
||||
|
||||
# ext_localconf.php: merge
|
||||
|
||||
# ext_tables.php: merge
|
||||
|
||||
# ext_tables.sql: merge
|
||||
|
||||
## use static date attribute in xliff files ##
|
||||
#staticDateInXliffFiles: 2015-09-29T16:33:00Z
|
||||
|
||||
## list of error codes for warnings that should be ignored ##
|
||||
#ignoreWarnings:
|
||||
#503
|
||||
|
||||
######### settings for classBuilder #############################
|
||||
#
|
||||
# here you may define default parent classes for your classes
|
||||
# these settings only apply for new generated classes
|
||||
# you may also just change the parent class in the generated class file.
|
||||
# It will be kept on next code generation, if the overwrite settings
|
||||
# are configured to merge it
|
||||
#
|
||||
#################################################################
|
||||
|
||||
classBuilder:
|
||||
|
||||
Controller:
|
||||
parentClass: \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
|
||||
|
||||
Model:
|
||||
AbstractEntity:
|
||||
parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
|
||||
|
||||
AbstractValueObject:
|
||||
parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
|
||||
|
||||
Repository:
|
||||
parentClass: \TYPO3\CMS\Extbase\Persistence\Repository
|
||||
|
||||
setDefaultValuesForClassProperties: true
|
||||
130
typo3conf/ext/if_oberstufenplaner/Configuration/TCA/Schule.php
Normal file
130
typo3conf/ext/if_oberstufenplaner/Configuration/TCA/Schule.php
Normal file
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
if (!defined ('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
|
||||
$GLOBALS['TCA']['tx_ifoberstufenplaner_domain_model_schule'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_ifoberstufenplaner_domain_model_schule']['ctrl'],
|
||||
'interface' => array(
|
||||
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, name2',
|
||||
),
|
||||
'types' => array(
|
||||
'1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, name2, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
|
||||
),
|
||||
'palettes' => array(
|
||||
'1' => array('showitem' => ''),
|
||||
),
|
||||
'columns' => array(
|
||||
|
||||
'sys_language_uid' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
|
||||
'config' => array(
|
||||
'type' => 'select',
|
||||
'foreign_table' => 'sys_language',
|
||||
'foreign_table_where' => 'ORDER BY sys_language.title',
|
||||
'items' => array(
|
||||
array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
|
||||
array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)
|
||||
),
|
||||
),
|
||||
),
|
||||
'l10n_parent' => array(
|
||||
'displayCond' => 'FIELD:sys_language_uid:>:0',
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
|
||||
'config' => array(
|
||||
'type' => 'select',
|
||||
'items' => array(
|
||||
array('', 0),
|
||||
),
|
||||
'foreign_table' => 'tx_ifoberstufenplaner_domain_model_schule',
|
||||
'foreign_table_where' => 'AND tx_ifoberstufenplaner_domain_model_schule.pid=###CURRENT_PID### AND tx_ifoberstufenplaner_domain_model_schule.sys_language_uid IN (-1,0)',
|
||||
),
|
||||
),
|
||||
'l10n_diffsource' => array(
|
||||
'config' => array(
|
||||
'type' => 'passthrough',
|
||||
),
|
||||
),
|
||||
|
||||
't3ver_label' => array(
|
||||
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => 30,
|
||||
'max' => 255,
|
||||
)
|
||||
),
|
||||
|
||||
// 'hidden' => array(
|
||||
// 'exclude' => 1,
|
||||
// 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
|
||||
// 'config' => array(
|
||||
// 'type' => 'check',
|
||||
// ),
|
||||
// ),
|
||||
// 'starttime' => array(
|
||||
// 'exclude' => 1,
|
||||
// 'l10n_mode' => 'mergeIfNotBlank',
|
||||
// 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
|
||||
// 'config' => array(
|
||||
// 'type' => 'input',
|
||||
// 'size' => 13,
|
||||
// 'max' => 20,
|
||||
// 'eval' => 'datetime',
|
||||
// 'checkbox' => 0,
|
||||
// 'default' => 0,
|
||||
// 'range' => array(
|
||||
// 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// 'endtime' => array(
|
||||
// 'exclude' => 1,
|
||||
// 'l10n_mode' => 'mergeIfNotBlank',
|
||||
// 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
|
||||
// 'config' => array(
|
||||
// 'type' => 'input',
|
||||
// 'size' => 13,
|
||||
// 'max' => 20,
|
||||
// 'eval' => 'datetime',
|
||||
// 'checkbox' => 0,
|
||||
// 'default' => 0,
|
||||
// 'range' => array(
|
||||
// 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
|
||||
'name' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'Name',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => 100,
|
||||
'eval' => 'trim'
|
||||
),
|
||||
),
|
||||
|
||||
'refs' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'Refs',
|
||||
'config' => array(
|
||||
'type' => 'inline',
|
||||
'foreign_table' => 'tx_ifoberstufenplaner_domain_model_schule_ref',
|
||||
'foreign_field' => 'GLSchnr',
|
||||
'maxitems' => 9999,
|
||||
'appearance' => array(
|
||||
'collapseAll' => 0,
|
||||
'levelLinksPosition' => 'top',
|
||||
'showSynchronizationLink' => 1,
|
||||
'showPossibleLocalizationRecords' => 1,
|
||||
'useSortable' => 1,
|
||||
'showAllLocalizationLink' => 1
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
plugin.tx_ifoberstufenplaner {
|
||||
view {
|
||||
# cat=plugin.tx_ifoberstufenplaner/file; type=string; label=Path to template root (FE)
|
||||
templateRootPath = EXT:if_oberstufenplaner/Resources/Private/Templates/
|
||||
# cat=plugin.tx_ifoberstufenplaner/file; type=string; label=Path to template partials (FE)
|
||||
partialRootPath = EXT:if_oberstufenplaner/Resources/Private/Partials/
|
||||
# cat=plugin.tx_ifoberstufenplaner/file; type=string; label=Path to template layouts (FE)
|
||||
layoutRootPath = EXT:if_oberstufenplaner/Resources/Private/Layouts/
|
||||
}
|
||||
persistence {
|
||||
# cat=plugin.tx_ifoberstufenplaner//a; type=string; label=Default storage PID
|
||||
storagePid =
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
|
||||
plugin.tx_ifoberstufenplaner {
|
||||
view {
|
||||
templateRootPath = {$plugin.tx_ifoberstufenplaner.view.templateRootPath}
|
||||
partialRootPath = {$plugin.tx_ifoberstufenplaner.view.partialRootPath}
|
||||
layoutRootPath = {$plugin.tx_ifoberstufenplaner.view.layoutRootPath}
|
||||
}
|
||||
persistence {
|
||||
storagePid = {$plugin.tx_ifoberstufenplaner.persistence.storagePid}
|
||||
}
|
||||
features {
|
||||
# uncomment the following line to enable the new Property Mapper.
|
||||
# rewrittenPropertyMapper = 1
|
||||
}
|
||||
}
|
||||
|
||||
plugin.tx_ifoberstufenplaner._CSS_DEFAULT_STYLE (
|
||||
textarea.f3-form-error {
|
||||
background-color:#FF9F9F;
|
||||
border: 1px #FF0000 solid;
|
||||
}
|
||||
|
||||
input.f3-form-error {
|
||||
background-color:#FF9F9F;
|
||||
border: 1px #FF0000 solid;
|
||||
}
|
||||
|
||||
.tx-if-oberstufenplaner table {
|
||||
border-collapse:separate;
|
||||
border-spacing:10px;
|
||||
}
|
||||
|
||||
.tx-if-oberstufenplaner table th {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.tx-if-oberstufenplaner table td {
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
.typo3-messages .message-error {
|
||||
color:red;
|
||||
}
|
||||
|
||||
.typo3-messages .message-ok {
|
||||
color:green;
|
||||
}
|
||||
|
||||
)
|
||||
|
||||
#page.includeCSS {
|
||||
# if_oberstufenplaner = EXT:if_oberstufenplaner/Resources/Public/css/style.css
|
||||
# if_oberstufenplaner.excludeFromConcatenation = 1
|
||||
#
|
||||
# if_oberstufenplanerFont1 = http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800
|
||||
# if_oberstufenplanerFont1.external = 1
|
||||
# if_oberstufenplanerFont1.disableCompression = 1
|
||||
# if_oberstufenplanerFont1.media = all
|
||||
# if_oberstufenplanerFont1.excludeFromConcatenation = 1
|
||||
# if_oberstufenplanerFont2 = http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300
|
||||
# if_oberstufenplanerFont2.external = 1
|
||||
# if_oberstufenplanerFont2.disableCompression = 1
|
||||
# if_oberstufenplanerFont2.media = all
|
||||
# if_oberstufenplanerFont2.excludeFromConcatenation = 1
|
||||
# if_oberstufenplanerFont3 = //maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css
|
||||
# if_oberstufenplanerFont3.external = 1
|
||||
# if_oberstufenplanerFont3.disableCompression = 1
|
||||
# if_oberstufenplanerFont3.media = all
|
||||
# if_oberstufenplanerFont3.excludeFromConcatenation = 1
|
||||
#}
|
||||
|
||||
page.includeJS {
|
||||
if_oberstufenplanerFaecherplaner = EXT:if_oberstufenplaner/Resources/Public/js/faecherplaner.js
|
||||
if_oberstufenplanerFaecherplaner.forceOnTop = 1
|
||||
if_oberstufenplanerFaecherplaner.excludeFromConcatenation = 1
|
||||
if_oberstufenplanerKonfigurator = EXT:if_oberstufenplaner/Resources/Public/js/konfigurator.js
|
||||
if_oberstufenplanerKonfigurator.forceOnTop = 1
|
||||
if_oberstufenplanerKonfigurator.excludeFromConcatenation = 1
|
||||
if_oberstufenplanerJqueryUI = EXT:if_oberstufenplaner/Resources/Public/js/jquery-ui.min.js
|
||||
if_oberstufenplanerJqueryUI.forceOnTop = 1
|
||||
if_oberstufenplanerJquery = https://code.jquery.com/jquery-1.9.1.min.js
|
||||
if_oberstufenplanerJquery.external = 1
|
||||
if_oberstufenplanerJquery.forceOnTop = 1
|
||||
}
|
||||
Reference in New Issue
Block a user