Skip to content

Instantly share code, notes, and snippets.

View sorenmalling's full-sized avatar

Søren Malling sorenmalling

View GitHub Profile
prototype(Meteko.Homepage:PostList) < prototype(Menu) {
filter = 'Meteko.Homepage:Post'
}
30 = COA
30 {
wrap = HERE YOU CAN DEFINE A OVERALL WRAP
10 = TEXT
10 {
field = tx_personelement_person_name
if.isTrue.field = tx_personelement_person_name
#wrap = DEFINE WRAP IF THIS FIELD IS TRUE
value = <div class="field-is-true
}
'Meteko.RulesExample:Workspace':
name: 'Workspace example'
# When should this be triggered
trigger: []
# Any validations (WorkflowValidatorInterfac) need to be meet
validators: []
# What tasks (WorkflowTaskInterface) should it trigger
tasks:
oneTask: []
anotherTask: []
<f:flashMessages as="flashMessages">
<dl class="messages">
<f:for each="{flashMessages}" as="flashMessage">
<dt>{flashMessage.code}</dt>
<dd>{flashMessage}</dd>
</f:for>
</dl>
</f:flashMessages>
prototype(Epic.Site:ListNodes) < prototype(TYPO3.Neos:Content) {
lookingIn = ${q(node).property('lookingIn')}
lookingFor = ${q(node).property('lookingFor')}
beginLooking = ${q(node).property('beginLooking')}
stopLooking = ${q(node).property('stopLooking')}
itemsArray = TYPO3.TypoScript:Collection {
collection = ${q(site).children(this.lookingIn).children().filter(this.lookingFor).slice(this.beginLooking,this.stopLooking).get()}
itemName = 'node'
-
requestFilter: 'parentRequest.isPackage("TYPO3.Neos") && isPackage("TYPO3.Neos.Taxonomy") && isController("Module\Management\Vocabulary")'
options:
layoutRootPaths:
'TYPO3.Neos.Taxonomy' : 'resource://TYPO3.Neos/Private/Layouts'
prototype(TYPO3.Neos:PrimaryContent) {
blogPost {
condition = ${q(documentNode).is('[instanceof Meteko.Homepage:Post]')}
type = 'Meteko.Homepage:Post'
}
someThingElse {
condition = ${q(documentNode).is('[instanceof Meteko.Homepage:Event]')}
renderPath = 'somepath'
}
# Default taken from DefaultTyposcript.ts2
GoogleAnalytics = TYPO3.TypoScript:Template {
@position = 'before closingBodyTag'
templatePath = 'resource://Mindelunden.Homepage/Private/Templates/TypoScriptObjects/GoogleAnalytics.html'
tracingIdentifier = 'UA-38895091-8'
siteName = 'mindelundenryvangen.dk'
}
class CategoryService {
/**
* Build category selector
*
* @param array $config array (passed by reference) which contains the current information about the current field being rendered
* @param \TYPO3\CMS\Backend\Form\FormEngine $formEngine a reference to the parent object (an instance of the t3lib_TCEforms class).
*
* @return string
*/
➜ comundu git:(855c484) ✗ ./flow doctrine:migrate
Uncaught Exception
An exception occurred while executing 'ALTER TABLE
typo3_media_domain_model_image ADD CONSTRAINT
typo3_media_domain_model_image_ibfk_1 FOREIGN KEY (resource) REFERENCES
typo3_flow3_resource_resource(flow3_persistence_identifier)':
SQLSTATE[HY000]: General error: 1005 Can't create table
'comundu_dev.#sql-368a_be3' (errno: 150)