From sokly at web-essentials.asia Mon Mar 2 04:05:44 2015 From: sokly at web-essentials.asia (Sokly Phal) Date: Mon, 02 Mar 2015 10:05:44 +0700 Subject: [Neos] Aloha table In-Reply-To: References: Message-ID: Hi Reinis, Thank you so much. It is really helpful :) Cheers, Sokly On 26 ?????? 2015 17:36, Reinis Zumbergs wrote: > Just made this up. Seems to work. the main thing here is "defaultValue" > > > 'STANDOUT.NeoscloneCom:Table': > superTypes: > - 'TYPO3.Neos:Content' > - 'TYPO3.Neos.NodeTypes:TextMixin' > ui: > label: 'Table' > icon: 'icon-table' > group: 'general' > properties: > text: > defaultValue: '
fill insome > text
' > ui: > aloha: > placeholder: '' > 'format': [] > 'link': [] > # 'table': [] > 'alignment': [] > 'list': [] > 'formatlesspaste': > 'button': FALSE > 'formatlessPasteOption': TRUE > > http://pastebin.com/WzwneWgf > From typo3mailinglist at webandco.com Mon Mar 2 11:19:35 2015 From: typo3mailinglist at webandco.com (David Spiola) Date: Mon, 2 Mar 2015 11:19:35 +0100 Subject: [Neos] Can't access references in the inspector - bug? Message-ID: Hi everbody, I?m facing a really strange problem. I?m not sure if it?s bug or a configuration problem. I?m using ?reference? in the inspector with a specific referenced NodeType. I created the referenced page node and published it. I?m able to access it in the fontend But if I would like it to use it in the inspector, Neos does not find it. So.. I debugged it and came to the conclusion, that Neos is looking in every dimension and workspace (user, live) for the object. (TYPO3\TYPO3CR\Domain\Repository\NodeDataRepository::872|873) live | removed == true | position 0 user | removed == false | position 1 For some reason, "live | remove == true" has a higher priority then the ?user? workspace. Why can I access the page in there frontend when removed == true? What does removed mean? For me it seems to be a bug. Bug before I report it, I thought some here has a explanation. best and thx, David From elmar.zoepf at rapidware.de Tue Mar 3 15:15:50 2015 From: elmar.zoepf at rapidware.de (Elmar Zoepf) Date: Tue, 03 Mar 2015 15:15:50 +0100 Subject: [Neos] =?utf-8?q?_Formating_TS2_Scripts?= Message-ID: I usually format source code that way: tag { anothertag { } } When I write TS2 scripts in NEOS using this formating NEOS crashes when parsing the script. When returning to that format anything works well: tag { anothertag { } } I think formating is a question of personal preference and should not be part of a language definition (Some may remember COBOL and its tedious formating rules). From elmar.zoepf at rapidware.de Tue Mar 3 15:17:17 2015 From: elmar.zoepf at rapidware.de (Elmar Zoepf) Date: Tue, 03 Mar 2015 15:17:17 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Formating_TS2_Scripts?= References: Message-ID: The formating looks a bit strange because all spaces were eaten. From karsten at typo3.org Wed Mar 4 08:30:11 2015 From: karsten at typo3.org (Karsten Dambekalns) Date: Wed, 04 Mar 2015 08:30:11 +0100 Subject: [Neos] Formating TS2 Scripts In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi. On 03.03.15 15:15, Elmar Zoepf wrote: > I think formating is a question of personal preference and should > not be part of a language definition (Some may remember COBOL and > its tedious formating rules). That is both valid, at least it should be. If it really breaks for you, would you open a ticket at http:/jira.typo3.org/ containing TS snippets that show the behavior? Thanks! Regards, Karsten - -- Karsten Dambekalns TYPO3 Core Developer, Neos / Flow Team TYPO3 .... inspiring people to share! Get involved: typo3.org -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iJwEAQEKAAYFAlT2tIMACgkQrUMYk9hhbwnFCQP/eIh563cRWHgnOO0Den3O1rPF 4/hZzdYX049W31U7i9cyrH3DwB7VAeZoOMt1zwRncmG0Gb1EXF4Jc8AHazVO7fjn AZ0WH6SbxUybBA56N1a8Tu4pzy0oc37iOIhv9pJyUgG+tjxq+2EfpZqd3q709sZr De6aRoXMd1VjHqFe1Ts= =z0ty -----END PGP SIGNATURE----- From ton at netcreators.com Thu Mar 5 17:59:09 2015 From: ton at netcreators.com (Ton Akveld) Date: Thu, 05 Mar 2015 17:59:09 +0100 Subject: [Neos] =?utf-8?q?Migrations=3A_Specified_key_was_too_long=3B_max_?= =?utf-8?q?key_length_is_767_bytes?= References: Message-ID: Hi group, Although this topic is over a year old, it is the only one coming close to the problem I experience while running Neos V1.2 setup on my MacBook (Yosemite 10.10.2) with MySQL 5.5.33. This is the error message: Uncaught Exception in Flow #1355480641: Uncaught Exception: Doctrine\DBAL\DBALException Message An exception occurred while executing 'CREATE UNIQUE INDEX flow3_identity_typo3_typo3cr_domain_model_workspace ON typo3_typo3cr_domain_model_workspace (name)': SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'flow3_identity_typo3_typo3cr_domain_model_workspace' More Information File Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 47 Nested exception: PDOException Message SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'flow3_identity_typo3_typo3cr_domain_model_workspace' More Information Exception code 42000 File Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 646 Help and advice are highly appreciated! Kind regards, Ton Akveld From omelandr at gmail.com Thu Mar 5 19:53:44 2015 From: omelandr at gmail.com (Andrew Omelyanchuk) Date: Thu, 05 Mar 2015 19:53:44 +0100 Subject: [Neos] =?utf-8?q?_Version_typo_3_neos?= Message-ID: Where can I see the version of the system that I use? which file contains this information? From mail at christianglass.de Thu Mar 5 19:58:27 2015 From: mail at christianglass.de (Christian Glass) Date: Thu, 05 Mar 2015 19:58:27 +0100 Subject: [Neos] Version typo 3 neos In-Reply-To: References: Message-ID: Composer should tell you this: composer show -i More details: http://getcomposer.org/doc/03-cli.md#show Am 5. M?rz 2015 19:53:44 MEZ, schrieb Andrew Omelyanchuk : >Where can I see the version of the system that I use? >which file contains this information? >_______________________________________________ >Neos mailing list >Neos at lists.typo3.org >http://lists.typo3.org/cgi-bin/mailman/listinfo/neos -- Mit freundlichen Gr??en Christian Glass Gute Idee: Lageenergiespeicher http://heindl-energy.com From bernhard.aster at arrabiata.de Thu Mar 5 20:12:30 2015 From: bernhard.aster at arrabiata.de (Bernhard Aster) Date: Thu, 05 Mar 2015 20:12:30 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Put_Text_node_as_direct_child_on_page?= References: Message-ID: Hi, i tried it in a slightly different way but also doesn't work. NodeTypes.yaml: 'TYPO3.Neos.NodeTypes:Page': childNodes: 'teaser': type: 'TYPO3.Neos.NodeTypes:Text' TS: // These are your content areas, you can define as many as you want, just name them and the nodePath. page = Page ... body { .... content { // The default content section teaser = TYPO3.Neos.NodeTypes:Text { nodePath = 'teaser' } Template: {content.teaser -> f:format.raw()} So far everthing looks good. I got an new node of type text and i could edit the text. But when Neos starts to saving (right top corner "Saving...") after a while it results in "An error occurred while saving. Server communication error: Internal Server Error. An error occurred during saving. Reload the page to attempt to fix the problem. " I'm not sure if this is a bug or i (we) did something wrong? From dimaip at gmail.com Fri Mar 6 08:28:06 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Fri, 06 Mar 2015 07:28:06 +0000 Subject: [Neos] Put Text node as direct child on page References: Message-ID: Hi Bernhard! Why nodePath? Maybe smth like this would work: @override.node = ${q(documentNode).children('teaser').get(0)} On Thu, 5 Mar 2015 at 22:15 Bernhard Aster wrote: > Hi, > > i tried it in a slightly different way but also doesn't work. > > NodeTypes.yaml: > > 'TYPO3.Neos.NodeTypes:Page': > childNodes: > 'teaser': > type: 'TYPO3.Neos.NodeTypes:Text' > > > TS: > // These are your content areas, you can define as many as > you want, just name them and the nodePath. > page = Page > ... > > body { > .... > > content { > // The default content section > teaser = TYPO3.Neos.NodeTypes:Text { > nodePath = 'teaser' > } > > Template: > {content.teaser -> f:format.raw()} > > So far everthing looks good. I got an new node of type text and i could > edit the text. But when Neos starts to saving (right top corner > "Saving...") after a while it results in "An error occurred while saving. > Server communication error: Internal Server Error. An error occurred during > saving. Reload the page to attempt to fix the problem. " > > I'm not sure if this is a bug or i (we) did something wrong? > > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From omelandr at gmail.com Fri Mar 6 08:33:14 2015 From: omelandr at gmail.com (Andrew Omelyanchuk) Date: Fri, 06 Mar 2015 08:33:14 +0100 Subject: [Neos] =?utf-8?q?Version_typo_3_neos?= References: Message-ID: Quote: Christian Glass wrote on Thu, 05 March 2015 19:58 Which from this list is neos version ? http://i.imgur.com/esAWpv1.png ---------------------------------------------------- > Composer should tell you this: > > composer show -i > > > More details: > http://getcomposer.org/doc/03-cli.md#show > > > > Am 5. M?rz 2015 19:53:44 MEZ, schrieb Andrew Omelyanchuk : > >Where can I see the version of the system that I use? > >which file contains this information? > >_______________________________________________ > >Neos mailing list > >Neos (at) lists.typo3.org > >http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > -- > Mit freundlichen Gr??en > Christian Glass > > Gute Idee: > Lageenergiespeicher > http://heindl-energy.com ---------------------------------------------------- From dimaip at gmail.com Fri Mar 6 08:39:30 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Fri, 06 Mar 2015 07:39:30 +0000 Subject: [Neos] Version typo 3 neos References: Message-ID: typo3/neos -- 1.0.2 Time for an upgrade , but be careful! On Fri, 6 Mar 2015 at 10:35 Andrew Omelyanchuk wrote: > Quote: Christian Glass wrote on Thu, 05 March 2015 19:58 > Which from this list is neos version ? > http://i.imgur.com/esAWpv1.png > ---------------------------------------------------- > > Composer should tell you this: > > > > composer show -i > > > > > > More details: > > http://getcomposer.org/doc/03-cli.md#show > > > > > > > > Am 5. M?rz 2015 19:53:44 MEZ, schrieb Andrew Omelyanchuk gmail.com>: > > >Where can I see the version of the system that I use? > > >which file contains this information? > > >_______________________________________________ > > >Neos mailing list > > >Neos (at) lists.typo3.org > > >http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > > > -- > > Mit freundlichen Gr??en > > Christian Glass > > > > Gute Idee: > > Lageenergiespeicher > > http://heindl-energy.com > ---------------------------------------------------- > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos From bernhard.aster at arrabiata.de Fri Mar 6 10:04:53 2015 From: bernhard.aster at arrabiata.de (Bernhard Aster) Date: Fri, 06 Mar 2015 10:04:53 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Put_Text_node_as_direct_child_on_page?= References: Message-ID: Hi Dmitri, thanks for your hint. Now it's working. page.content.teaser = TYPO3.Neos.NodeTypes:Text { @override.node = ${q(documentNode).children('teaser').get(0)} } "Why nodePath?" I simply copied the page.content.main part and changed the type from PrimeryContent to TYPO3.Neos.NodeTypes:Text. page.content.main = PrimaryContent { nodePath = 'main' } I thought with nodePath="teaser" i define the nodePath to "teaser" in the current context of a page node. Like "main" area. A.T.M i don't got it at all why @override.node works. But i will study that. Thanks anyway Best Bernhard Quote: Reinis Zumbergs (reinis-zumbergs) wrote on Mon, 26 January 2015 12:30 ---------------------------------------------------- > Hello, all, my first post here! > > We all know how to put ContentCollection on the page: > - add new childnode in NodeTypes.yaml > - add ContentCollection sub-path to body parts in Root.ts2 > > But I would like to put TYPO3.Neos.NodeTypes:Text directly on page. I tried various approaches including: > NodeTypes.yaml > 'TYPO3.Neos.NodeTypes:Page': > childNodes: > headerLink1: > type: 'TYPO3.Neos.NodeTypes:Text' > > Root.ts2 > page.body { > // Frontpage header links > headerLink1 = TYPO3.Neos.NodeTypes:Text { > node = ${q(site).children('headerLink1')} > } > } > > But no success. > The editable area in BE is created and the Text node is present in page structure, but when it tries to save changes, an error occurs saying: > Node type "TYPO3.Neos.NodeTypes:Page" does not have a property "text" according to the schema. > > Another approach to somewhat achieve what I need would be to be able to limit ContentCollection to have only one child - no possibility to add more content nodes to the collection. > > ---------------------------------------------------- From dimaip at gmail.com Fri Mar 6 11:21:04 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Fri, 06 Mar 2015 10:21:04 +0000 Subject: [Neos] Put Text node as direct child on page References: Message-ID: Hey Bernhard, it's really no rocket science :) Just look at the source code of Neos TS objects. nodePath is only available in ContentCollecion and all objects that extend it (like PrimaryCollection): https://git.typo3.org/Packages/TYPO3.Neos.git/blob/2d310ffc9de726460a1a6c7b698fbcc6c126a640:/Resources/Private/TypoScript/Prototypes/ContentCollection.ts2 And @override.node just overrides the node with which that Text object will be rendered. See here: https://git.typo3.org/Packages/TYPO3.Neos.NodeTypes.git/blob/HEAD:/Resources/Private/TypoScript/Root.ts2 On Fri, 6 Mar 2015 at 12:05 Bernhard Aster wrote: > Hi Dmitri, > > thanks for your hint. > Now it's working. > > > page.content.teaser = TYPO3.Neos.NodeTypes:Text { > @override.node = ${q(documentNode).children('teaser').get(0)} > } > > "Why nodePath?" > I simply copied the page.content.main part and changed the type from > PrimeryContent to TYPO3.Neos.NodeTypes:Text. > > page.content.main = PrimaryContent { > nodePath = 'main' > } > > I thought with nodePath="teaser" i define the nodePath to "teaser" in the > current context of a page node. Like "main" area. > > A.T.M i don't got it at all why @override.node works. But i will study > that. > > Thanks anyway > Best Bernhard > > Quote: Reinis Zumbergs (reinis-zumbergs) wrote on Mon, 26 January 2015 > 12:30 > ---------------------------------------------------- > > Hello, all, my first post here! > > > > We all know how to put ContentCollection on the page: > > - add new childnode in NodeTypes.yaml > > - add ContentCollection sub-path to body parts in Root.ts2 > > > > But I would like to put TYPO3.Neos.NodeTypes:Text directly on page. I > tried various approaches including: > > NodeTypes.yaml > > 'TYPO3.Neos.NodeTypes:Page': > > childNodes: > > headerLink1: > > type: 'TYPO3.Neos.NodeTypes:Text' > > > > Root.ts2 > > page.body { > > // Frontpage header links > > headerLink1 = TYPO3.Neos.NodeTypes:Text { > > node = ${q(site).children('headerLink1')} > > } > > } > > > > But no success. > > The editable area in BE is created and the Text node is present in page > structure, but when it tries to save changes, an error occurs saying: > > Node type "TYPO3.Neos.NodeTypes:Page" does not have a property "text" > according to the schema. > > > > Another approach to somewhat achieve what I need would be to be able to > limit ContentCollection to have only one child - no possibility to add more > content nodes to the collection. > > > > > ---------------------------------------------------- > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From bernhard.aster at arrabiata.de Fri Mar 6 12:17:03 2015 From: bernhard.aster at arrabiata.de (Bernhard Aster) Date: Fri, 06 Mar 2015 12:17:03 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Put_Text_node_as_direct_child_on_page?= References: Message-ID: Hey Dmitri, it's no rocket science but at any begin sometimes people like you are needed to get hints to understand. ;-) Thanks for helping, the links and your effort! Best Bernhard Quote: Bernhard Aster (baster) wrote on Fri, 06 March 2015 10:04 ---------------------------------------------------- > Hi Dmitri, > > thanks for your hint. > Now it's working. > > > page.content.teaser = TYPO3.Neos.NodeTypes:Text { > @override.node = ${q(documentNode).children('teaser').get(0)} > } > > "Why nodePath?" > I simply copied the page.content.main part and changed the type from PrimeryContent to TYPO3.Neos.NodeTypes:Text. > > page.content.main = PrimaryContent { > nodePath = 'main' > } > > I thought with nodePath="teaser" i define the nodePath to "teaser" in the current context of a page node. Like "main" area. > > A.T.M i don't got it at all why @override.node works. But i will study that. > > Thanks anyway > Best Bernhard > > Quote: Reinis Zumbergs (reinis-zumbergs) wrote on Mon, 26 January 2015 12:30 > ---------------------------------------------------- > > Hello, all, my first post here! > > > > We all know how to put ContentCollection on the page: > > - add new childnode in NodeTypes.yaml > > - add ContentCollection sub-path to body parts in Root.ts2 > > > > But I would like to put TYPO3.Neos.NodeTypes:Text directly on page. I tried various approaches including: > > NodeTypes.yaml > > 'TYPO3.Neos.NodeTypes:Page': > > childNodes: > > headerLink1: > > type: 'TYPO3.Neos.NodeTypes:Text' > > > > Root.ts2 > > page.body { > > // Frontpage header links > > headerLink1 = TYPO3.Neos.NodeTypes:Text { > > node = ${q(site).children('headerLink1')} > > } > > } > > > > But no success. > > The editable area in BE is created and the Text node is present in page structure, but when it tries to save changes, an error occurs saying: > > Node type "TYPO3.Neos.NodeTypes:Page" does not have a property "text" according to the schema. > > > > Another approach to somewhat achieve what I need would be to be able to limit ContentCollection to have only one child - no possibility to add more content nodes to the collection. > > > > > ---------------------------------------------------- > > ---------------------------------------------------- From dimaip at gmail.com Fri Mar 6 12:44:56 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Fri, 06 Mar 2015 11:44:56 +0000 Subject: [Neos] [RFC] Extending content collections and overlay Message-ID: Hey guys! As you know, I'm working on extending content collections. One major component needed is this and it's waiting for your reviews: https://review.typo3.org/#/c/36926/ But here's the conceptual problem. Let's take the case of tabs. Each tab has a tab title and content. Title should be an inline editable property, and contents is just all child nodes of tab (tab is an extended content collection). Tab nav anchors and tab content are rendered in two separate TS:Collection loops and each have their own contenteditable wraps. Now the problem: wrap of tab content should be usual contentcollection wrap, which shows an empty-contentcollection-overlay when empty, BUT tab titles don't need that, they need just a simple contenteditable wrap to allow inline editing of that property, but empty-contentcollection-overlay is not needed there. One solution I see is to provide parameter to ContentElementWrappingService to not wrap CC with $attributes['rel'] = 'typo3:content-collection'; Better ideas? From dmitry at typo3.ru.net Fri Mar 6 15:49:00 2015 From: dmitry at typo3.ru.net (Dmitry Vasiliev) Date: Fri, 06 Mar 2015 18:49:00 +0400 Subject: [Neos] Error Using $this when not in object context in Message-ID: Hi all, After installing a new site TYPO3 Neos I get an error. It occurs in both FLOW_CONTEXT Production, and in FLOW_CONTEXT Development Fatal error: Using $this when not in object context in /home/mypath/TYPO3-Neos/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_TypoScript_Core_Runtime.php on line 350 -- Kind regards, Dmitry Vasiliev Skype: thule-varahi; uTOX ID 78CFD4563D6C70506AEB4A736B7C65485716F94336D15C86851371D29B1088050523651B8CE7 From ton at netcreators.com Fri Mar 6 19:45:21 2015 From: ton at netcreators.com (Ton Akveld) Date: Fri, 06 Mar 2015 19:45:21 +0100 Subject: [Neos] =?utf-8?q?Migrations=3A_Specified_key_was_too_long=3B_max_?= =?utf-8?q?key_length_is_767_bytes?= References: Message-ID: This issue resolved itself after a necessary hard reboot of my Mac. When the apache server and mysql ran again, the neos setup process stepped back a few steps, resumed and completed successfully. I'll probably know what happened exactly, but I'm glad I can continue with Neos. Kind regards, Ton Akveld From dimaip at gmail.com Fri Mar 6 21:39:19 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Fri, 06 Mar 2015 20:39:19 +0000 Subject: [Neos] Error Using $this when not in object context in References: Message-ID: Hey Dmitry! Sorry, never experienced this problem. What could help is a little detail: what version of Neos are you using, 1.2 or master? What OS? When does this error occur: before setup or after? Did you try clearing the cache? Probably you'd have to wait for help from someone more knowledgeable, but I couldn't miss the chance to greet yet another Dmitry from Russia :) On Fri, 6 Mar 2015 at 18:49 Dmitry Vasiliev wrote: > Hi all, > After installing a new site TYPO3 Neos I get an error. It occurs in both > FLOW_CONTEXT Production, and in FLOW_CONTEXT Development > > Fatal error: Using $this when not in object context in > /home/mypath/TYPO3-Neos/Data/Temporary/Development/Cache/ > Code/Flow_Object_Classes/TYPO3_TypoScript_Core_Runtime.php > on line 350 > > -- > Kind regards, > Dmitry Vasiliev > Skype: thule-varahi; > uTOX ID 78CFD4563D6C70506AEB4A736B7C65485716F94336D15C86851371D29B10 > 88050523651B8CE7 > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From berti.golf at blsv.de Fri Mar 6 22:21:38 2015 From: berti.golf at blsv.de (Hubertus Golf) Date: Fri, 06 Mar 2015 22:21:38 +0100 Subject: [Neos] =?utf-8?q?Error_Using_=24this_when_not_in_object_context_i?= =?utf-8?q?n?= References: Message-ID: i have the same problem From dmitry at typo3.ru.net Sat Mar 7 06:31:21 2015 From: dmitry at typo3.ru.net (Dmitry Vasiliev) Date: Sat, 07 Mar 2015 08:31:21 +0300 Subject: [Neos] Error Using $this when not in object context in In-Reply-To: References: Message-ID: Hi, Dmitry. Thanks for the welcome My Server: 7.2-RELEASE FreeBSD apache-2.2.22 PHP Version => 5.3.10 memory_limit = 256M magic_quotes_gpc = Off This error occurs when I installed Neos 1.2 via composer. (06.02.2015) Also was a mistake when I did ./flow site:import --package-key MyVendor.MySite I updated Neos Kickstarter from https://git.typo3.org/Packages/TYPO3.SiteKickstarter.git, and this problem has been resolved. When I installed Neos 1.2 from archive, it works correctly. On 06.03.2015 23:39, Dmitri Pisarev wrote: > Hey Dmitry! > Sorry, never experienced this problem. What could help is a little detail: > what version of Neos are you using, 1.2 or master? What OS? When does this > error occur: before setup or after? Did you try clearing the cache? > > Probably you'd have to wait for help from someone more knowledgeable, but I > couldn't miss the chance to greet yet another Dmitry from Russia :) > > On Fri, 6 Mar 2015 at 18:49 Dmitry Vasiliev wrote: > >> Hi all, >> After installing a new site TYPO3 Neos I get an error. It occurs in both >> FLOW_CONTEXT Production, and in FLOW_CONTEXT Development >> >> Fatal error: Using $this when not in object context in >> /home/mypath/TYPO3-Neos/Data/Temporary/Development/Cache/ >> Code/Flow_Object_Classes/TYPO3_TypoScript_Core_Runtime.php >> on line 350 >> >> -- >> Kind regards, >> Dmitry Vasiliev >> Skype: thule-varahi; >> uTOX ID 78CFD4563D6C70506AEB4A736B7C65485716F94336D15C86851371D29B10 >> 88050523651B8CE7 >> >> _______________________________________________ >> Neos mailing list >> Neos at lists.typo3.org >> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos >> > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos -- Kind regards, Dmitry Vasiliev Skype: thule-varahi; Phone: +7 950 001 85 15 From dimaip at gmail.com Sat Mar 7 10:15:38 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Sat, 07 Mar 2015 09:15:38 +0000 Subject: [Neos] Error Using $this when not in object context in In-Reply-To: References: Message-ID: Ah, then it's simple: http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartII/Requirements.html#php You need php 5.5 and up. Btw, I really advise you to start using Docker, if you're struggling with keeping up with multiple PHP versions and other stuff like that. Here's my experience: http://dimaip.github.io/2015/03/03/hybrid-deploy-with-docker-and-surf/ On Sat, 7 Mar 2015 at 08:31 Dmitry Vasiliev wrote: > Hi, Dmitry. Thanks for the welcome > > My Server: > 7.2-RELEASE FreeBSD > apache-2.2.22 > PHP Version => 5.3.10 > memory_limit = 256M > magic_quotes_gpc = Off > > This error occurs when I installed Neos 1.2 via composer. (06.02.2015) > Also was a mistake when I did ./flow site:import --package-key > MyVendor.MySite > I updated Neos Kickstarter from > https://git.typo3.org/Packages/TYPO3.SiteKickstarter.git, and this > problem has been resolved. > > When I installed Neos 1.2 from archive, it works correctly. > > On 06.03.2015 23:39, Dmitri Pisarev wrote: > > Hey Dmitry! > > Sorry, never experienced this problem. What could help is a little > detail: > > what version of Neos are you using, 1.2 or master? What OS? When does > this > > error occur: before setup or after? Did you try clearing the cache? > > > > Probably you'd have to wait for help from someone more knowledgeable, > but I > > couldn't miss the chance to greet yet another Dmitry from Russia :) > > > > On Fri, 6 Mar 2015 at 18:49 Dmitry Vasiliev wrote: > > > >> Hi all, > >> After installing a new site TYPO3 Neos I get an error. It occurs in both > >> FLOW_CONTEXT Production, and in FLOW_CONTEXT Development > >> > >> Fatal error: Using $this when not in object context in > >> /home/mypath/TYPO3-Neos/Data/Temporary/Development/Cache/ > >> Code/Flow_Object_Classes/TYPO3_TypoScript_Core_Runtime.php > >> on line 350 > >> > >> -- > >> Kind regards, > >> Dmitry Vasiliev > >> Skype: thule-varahi; > >> uTOX ID 78CFD4563D6C70506AEB4A736B7C65485716F94336D15C86851371D29B10 > >> 88050523651B8CE7 > >> > >> _______________________________________________ > >> Neos mailing list > >> Neos at lists.typo3.org > >> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > >> > > _______________________________________________ > > Neos mailing list > > Neos at lists.typo3.org > > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > -- > Kind regards, > Dmitry Vasiliev > Skype: thule-varahi; > Phone: +7 950 001 85 15 > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From dimaip at gmail.com Sat Mar 7 10:20:37 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Sat, 07 Mar 2015 09:20:37 +0000 Subject: [Neos] Error Using $this when not in object context in In-Reply-To: References: Message-ID: And yes, get Composer install to work. Manual install from archive is definitely not the way to go... As for PHP requirements, I think they were bumped up for Flow 3.0, so Flow 2.3 could still work with PHP 5.3, but that'd be slow... e.g. this setup with PHP5.6-fpm + nginx + Redis performs times better than Apache + PHP5.3... On Sat, 7 Mar 2015 at 12:15 Dmitri Pisarev wrote: > Ah, then it's simple: > http://docs.typo3.org/flow/TYPO3FlowDocumentation/ > TheDefinitiveGuide/PartII/Requirements.html#php > You need php 5.5 and up. > Btw, I really advise you to start using Docker, if you're struggling with > keeping up with multiple PHP versions and other stuff like that. Here's my > experience: > http://dimaip.github.io/2015/03/03/hybrid-deploy-with-docker-and-surf/ > > On Sat, 7 Mar 2015 at 08:31 Dmitry Vasiliev wrote: > > > Hi, Dmitry. Thanks for the welcome > > > > My Server: > > 7.2-RELEASE FreeBSD > > apache-2.2.22 > > PHP Version => 5.3.10 > > memory_limit = 256M > > magic_quotes_gpc = Off > > > > This error occurs when I installed Neos 1.2 via composer. (06.02.2015) > > Also was a mistake when I did ./flow site:import --package-key > > MyVendor.MySite > > I updated Neos Kickstarter from > > https://git.typo3.org/Packages/TYPO3.SiteKickstarter.git, and this > > problem has been resolved. > > > > When I installed Neos 1.2 from archive, it works correctly. > > > > On 06.03.2015 23:39, Dmitri Pisarev wrote: > > > Hey Dmitry! > > > Sorry, never experienced this problem. What could help is a little > > detail: > > > what version of Neos are you using, 1.2 or master? What OS? When does > > this > > > error occur: before setup or after? Did you try clearing the cache? > > > > > > Probably you'd have to wait for help from someone more knowledgeable, > > but I > > > couldn't miss the chance to greet yet another Dmitry from Russia :) > > > > > > On Fri, 6 Mar 2015 at 18:49 Dmitry Vasiliev > wrote: > > > > > >> Hi all, > > >> After installing a new site TYPO3 Neos I get an error. It occurs in > both > > >> FLOW_CONTEXT Production, and in FLOW_CONTEXT Development > > >> > > >> Fatal error: Using $this when not in object context in > > >> /home/mypath/TYPO3-Neos/Data/Temporary/Development/Cache/ > > >> Code/Flow_Object_Classes/TYPO3_TypoScript_Core_Runtime.php > > >> on line 350 > > >> > > >> -- > > >> Kind regards, > > >> Dmitry Vasiliev > > >> Skype: thule-varahi; > > >> uTOX ID 78CFD4563D6C70506AEB4A736B7C65485716F94336D15C86851371D29B10 > > >> 88050523651B8CE7 > > >> > > >> _______________________________________________ > > >> Neos mailing list > > >> Neos at lists.typo3.org > > >> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > >> > > > _______________________________________________ > > > Neos mailing list > > > Neos at lists.typo3.org > > > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > > > -- > > Kind regards, > > Dmitry Vasiliev > > Skype: thule-varahi; > > Phone: +7 950 001 85 15 > > > > _______________________________________________ > > Neos mailing list > > Neos at lists.typo3.org > > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From jccosse at gmail.com Mon Mar 9 00:01:39 2015 From: jccosse at gmail.com (Jean Claude) Date: Mon, 09 Mar 2015 00:01:39 +0100 Subject: [Neos] =?utf-8?q?_Main_Menu?= Message-ID: hello ... I wish to make a menu with a submenu. with demo TYPO3.NeosDemoTypo3Org, there is the main menu with SecondLevelMenu appears horizontally below the main menu with such "features" ... Instead I wish it SecondLevelMenu appears with a click of a dropdown menu as in the examples of Boostrap. I understood for the css, but I can not find how to do it in the wrap Default.html page ... if you could put me on the track ... it would allow me to continue my lurning with neos ... in advance, thank you jean-claude From jccosse at gmail.com Mon Mar 9 01:13:18 2015 From: jccosse at gmail.com (Jean Claude) Date: Mon, 09 Mar 2015 01:13:18 +0100 Subject: [Neos] =?utf-8?q?Error_Using_=24this_when_not_in_object_context_i?= =?utf-8?q?n?= References: Message-ID: hello may be this explanation will help you solve your problem ?... in the file "sites.xml" which is: C: \ wamp \ www \ Neos-12 \ Packages \ Sites \ TYPO3.NeosDemoPersoOrg \ Resources \ Private \ Content \ sites.xml to delete all nodes [] and substitute if that does not work, must go through the Setup and reconnect with the base that was created the new site is then accessible Regards jean-claude From doronenkod at i.ua Mon Mar 9 14:55:10 2015 From: doronenkod at i.ua (Dima Doronenko) Date: Mon, 09 Mar 2015 14:55:10 +0100 Subject: [Neos] =?utf-8?q?__ChildNodes_type?= Message-ID: Hi, all I have trouble with childNodes type, here settings: 'TYPO3.Neos.NodeTypes:Page': childNodes: 'teaser': type: 'TYPO3.Neos:ContentCollection' when I try to add some content element to teaser, I have only two general content elements Text and Image to add. How can I get all list of content elements, like in the content.main(Main Section) ? From visay.keo at typo3.org Mon Mar 9 15:12:24 2015 From: visay.keo at typo3.org (Visay Keo) Date: Mon, 09 Mar 2015 21:12:24 +0700 Subject: [Neos] ChildNodes type In-Reply-To: References: Message-ID: Did you configure constraint for the node types? Something like below would allow you to add Text and Image only for the teaser. 'TYPO3.Neos.NodeTypes:Page': childNodes: 'teaser': type: 'TYPO3.Neos:ContentCollection' constraints: nodeTypes: '*': FALSE 'TYPO3.Neos.NodeTypes:Text': TRUE 'TYPO3.Neos.NodeTypes:Image': TRUE On 9 ???? 2015 20:55, Dima Doronenko wrote: > Hi, all > > I have trouble with childNodes type, here settings: > > 'TYPO3.Neos.NodeTypes:Page': > childNodes: > 'teaser': > type: 'TYPO3.Neos:ContentCollection' > > when I try to add some content element to teaser, I have only two > general content elements Text and Image to add. > > How can I get all list of content elements, like in the > content.main(Main Section) ? -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From doronenkod at i.ua Mon Mar 9 15:44:45 2015 From: doronenkod at i.ua (Dima Doronenko) Date: Mon, 09 Mar 2015 15:44:45 +0100 Subject: [Neos] =?utf-8?q?ChildNodes_type?= References: Message-ID: Hi, Visay Keo No, I didn`t configure constraint for the node type Here full configuration for teaser 'TYPO3.Neos.NodeTypes:Page': childNodes: 'teaser': type: 'TYPO3.Neos:ContentCollection' ui: inspector: groups: 'footer': label: 'Footer Menu' properties: 'footermenu': type: boolean defaultValue: FALSE ui: label: 'Show in footer menu' inspector: group: 'footer' subpageLayout: ui: inspector: editorOptions: values: 'default': label: 'Default' From doronenkod at i.ua Mon Mar 9 16:16:19 2015 From: doronenkod at i.ua (Dima Doronenko) Date: Mon, 09 Mar 2015 16:16:19 +0100 Subject: [Neos] =?utf-8?q?_Localization_list?= Message-ID: Hi,all I need to do localization for site.I did everythnig like in manual and localization is working. And now I have all list with languages. But I want to output only two languages in dropdown list. Where I can configure it? Thanks! From visay.keo at typo3.org Mon Mar 9 16:33:36 2015 From: visay.keo at typo3.org (Visay Keo) Date: Mon, 09 Mar 2015 22:33:36 +0700 Subject: [Neos] ChildNodes type In-Reply-To: References: Message-ID: Hi Dima, What is the output for the teaser nodetype if you run: ./flow configuration:show --type NodeTypes On 9 ???? 2015 21:44, Dima Doronenko wrote: > Hi, Visay Keo > > No, I didn`t configure constraint for the node type > > Here full configuration for teaser > 'TYPO3.Neos.NodeTypes:Page': > childNodes: > 'teaser': > type: 'TYPO3.Neos:ContentCollection' > ui: > inspector: > groups: > 'footer': > label: 'Footer Menu' > properties: > 'footermenu': > type: boolean > defaultValue: FALSE > ui: > label: 'Show in footer menu' > inspector: > group: 'footer' > subpageLayout: > ui: > inspector: > editorOptions: > values: > 'default': > label: 'Default' -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From doronenkod at i.ua Mon Mar 9 17:14:45 2015 From: doronenkod at i.ua (Dima Doronenko) Date: Mon, 09 Mar 2015 17:14:45 +0100 Subject: [Neos] =?utf-8?q?ChildNodes_type?= References: Message-ID: I found the solution for this problem Before, by default nodeType was nodeType: '*': FALSE 'TYPO3.Neos.NodeTypes:Page': childNodes: 'teaser': type: 'TYPO3.Neos:ContentCollection' constraints: nodeTypes: '*': TRUE Thanks! From visay.keo at typo3.org Tue Mar 10 03:46:32 2015 From: visay.keo at typo3.org (Visay Keo) Date: Tue, 10 Mar 2015 09:46:32 +0700 Subject: [Neos] Localization list In-Reply-To: References: Message-ID: I guess you mean dropdown list in the frontend. You can define your own list in your typoscript of dimension menu: prototype(TYPO3.Neos:DimensionMenu) { # list of presets, if the default order should be overridden presets = ${['en_US']} } On 9 ???? 2015 22:16, Dima Doronenko wrote: > Hi,all > > I need to do localization for site.I did everythnig like in manual and > localization is working. And now I have all list with languages. > > But I want to output only two languages in dropdown list. > > Where I can configure it? > > Thanks! -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From doronenkod at i.ua Tue Mar 10 08:57:57 2015 From: doronenkod at i.ua (Dima Doronenko) Date: Tue, 10 Mar 2015 08:57:57 +0100 Subject: [Neos] =?utf-8?q?Localization_list?= References: Message-ID: Thank you, Visay Keo For this: prototype(TYPO3.Neos:DimensionMenu) { # list of presets, if the default order should be overridden presets = ${['en_US']} } it helped me! From dimaip at gmail.com Tue Mar 10 10:39:09 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 10 Mar 2015 09:39:09 +0000 Subject: [Neos] Main Menu In-Reply-To: References: Message-ID: Hi Jean! Sorry, I'm not sure if I understand your need correctly, but if you wish to show sub-levels in menu, it's possible with "maximumLevels=2" (or more). See the docs: http://docs.typo3.org/neos/TYPO3NeosDocumentation/Appendixes/NeosTypoScriptReference.html#menu On Mon, 9 Mar 2015 at 02:05 Jean Claude wrote: > hello ... > I wish to make a menu with a submenu. > > with demo TYPO3.NeosDemoTypo3Org, there is the main menu with > SecondLevelMenu appears horizontally below the main menu with such > "features" ... > Instead I wish it SecondLevelMenu appears with a click of a dropdown menu > as in the examples of Boostrap. > I understood for the css, but I can not find how to do it in the wrap > Default.html page ... > > if you could put me on the track ... it would allow me to continue my > lurning with neos ... > in advance, thank you > jean-claude > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From jccosse at gmail.com Tue Mar 10 11:10:10 2015 From: jccosse at gmail.com (Jean Claude) Date: Tue, 10 Mar 2015 11:10:10 +0100 Subject: [Neos] =?utf-8?q?Main_Menu?= References: Message-ID: Hello Dimitri thank you very much for your answer ... about documentation ... I have read and re-read, but I certainly did not understand everything .. :) I understood how to realize mainMenu.html, but I wish the second level is in this mainMenu.hrml ... I know how to do with TYPO3 CMS, but I do not know how to do with NEOS . . In the demo, the secondLevelMenu is located below the main menu ... I want to use the Bootstrap CSS ("dropdown-toggle", "dropdown menu" etc ..) to obtain a menu like on the site: http://www.zeaborn.com/en/home.html Dmitri thank you Best Regards jean-claude From dimaip at gmail.com Tue Mar 10 11:57:11 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 10 Mar 2015 10:57:11 +0000 Subject: [Neos] Main Menu In-Reply-To: References: Message-ID: Don't have a better example at hand, but here's menu with two levels in my site: https://github.com/sfi-ru/SfiDistr/blob/master/Packages/Sites/Sfi.Sfi/Resources/Private/Templates/TypoScriptObjects/MainMenu.html On Tue, 10 Mar 2015 at 13:15 Jean Claude wrote: > Hello Dimitri > > thank you very much for your answer ... > > about documentation ... I have read and re-read, > but I certainly did not understand everything .. :) > > I understood how to realize mainMenu.html, > but I wish the second level is in this mainMenu.hrml ... > > I know how to do with TYPO3 CMS, > but I do not know how to do with NEOS . > . > In the demo, the secondLevelMenu is located below the main menu ... > I want to use the Bootstrap CSS ("dropdown-toggle", "dropdown menu" etc > ..) to obtain a menu like on the site: > > http://www.zeaborn.com/en/home.html > > Dmitri thank you > Best Regards > jean-claude > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From visay.keo at typo3.org Tue Mar 10 12:29:24 2015 From: visay.keo at typo3.org (Visay Keo) Date: Tue, 10 Mar 2015 18:29:24 +0700 Subject: [Neos] Main Menu In-Reply-To: References: Message-ID: Hi Jean, > I understood how to realize mainMenu.html, > but I wish the second level is in this mainMenu.hrml ... > I know how to do with TYPO3 CMS, > but I do not know how to do with NEOS . Yes, the second level menu is rendered in the same template as the main menu for the demo site https://git.typo3.org/Packages/NeosDemoTypo3Org.git/blob/refs/heads/master:/Resources/Private/Templates/TypoScriptObjects/MainMenu.html If you define multiple levels from TypoScript, that means you pass a collection of menu together with its sub level to the MainMenu.html (not one level to one template). Then in MainMenu.html, you can render the way you want (from there you can separate file into partials if you want to split). For demo site case: (line 4) render the first level (line 33) render the second level > In the demo, the secondLevelMenu is located below the main menu ... I > want to use the Bootstrap CSS ("dropdown-toggle", "dropdown menu" etc > ..) to obtain a menu like on the site: There is condition in the first level loop to check if the menu has subpages, then render the second level. You can also use this condition to set needed classes on your menu item in the first level like "dropdown-toggle". HTH Visay -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From jccosse at gmail.com Wed Mar 11 02:28:32 2015 From: jccosse at gmail.com (Jean Claude) Date: Wed, 11 Mar 2015 02:28:32 +0100 Subject: [Neos] =?utf-8?q?Main_Menu?= References: Message-ID: Hello Dimitri Thank you very much for your help ... with your remarks, the menu works as I wanted ... I did not answer immediately, because I wanted to experiment ... I had a problem in the structure of the template with mistakes ... item and items - and subItem subItems etc ... if you can advise me about those objects and tell me where I can find documentation about the objects kind item, Menu, subItem and others that I don't know, I could learn without disturbing you ... I thank you one more time, I can continue the discovery of Neos that is more than wonderful ... I work in local with windows 7 and wamp ... next step I will try to work on a server Best Regards jean-claude From jccosse at gmail.com Wed Mar 11 02:43:30 2015 From: jccosse at gmail.com (Jean Claude) Date: Wed, 11 Mar 2015 02:43:30 +0100 Subject: [Neos] =?utf-8?q?Main_Menu?= References: Message-ID: Hello Visay I thank you for your explanation, I understood how the menu was built, but I did not understand why mine did not display the way I wanted ... I had mistakes in the structure of my template more mistakes with the objects item-items subItem- subItems etc .. I don't know where to find all those objects .. Best Regards jean-claude From dimaip at gmail.com Wed Mar 11 08:14:04 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Wed, 11 Mar 2015 07:14:04 +0000 Subject: [Neos] Main Menu In-Reply-To: References: Message-ID: Hey Jean! Glad you are moving forward with Neos! For me the learning algorithm with Neos is as follows: 1. Check the docs. E.g. regarding items and subItems: I would first read this: http://docs.typo3.org/neos/TYPO3NeosDocumentation/Appendixes/NeosTypoScriptReference.html#menu-item-properties 2. BUT, docs are not always absolutely complete or easy to understand. E.g. docs tell you some details about Menu item properties like node, originalNode etc, but tell you nothing about items and subItems. In this case I look at the source code and see what is really going on there. MenuImplementaion tells you how subItems work: $item['subItems'] = $this->buildMenuLevelRecursive($currentNode->getChildNodes($this->getFilter())); And AbstractMenuImplementation tells you about where `items` come from: "public function getItems()". 3. If I can't grasp something, I head to Slack channel and get a reply realy quick :) Regards, Dmitri On Wed, 11 Mar 2015 at 04:30 Jean Claude wrote: > Hello Dimitri > > Thank you very much for your help ... > with your remarks, the menu works as I wanted ... > I did not answer immediately, because I wanted to experiment ... > > I had a problem in the structure of the template with mistakes ... item > and items - and subItem subItems etc ... > > if you can advise me about those objects and tell me where I can find > documentation > about the objects kind item, Menu, subItem and others that I don't know, > I could learn without disturbing you ... > > I thank you one more time, I can continue the discovery of Neos that is > more than wonderful ... > I work in local with windows 7 and wamp ... next step I will try to work > on a server > > Best Regards > jean-claude > > > > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From typo3.org at tknetwork.de Wed Mar 11 10:26:50 2015 From: typo3.org at tknetwork.de (Tristan Koch) Date: Wed, 11 Mar 2015 10:26:50 +0100 Subject: [Neos] =?utf-8?q?_Localization_in_Fluid_Templates?= Message-ID: Hi, I'm trying to localize a string in one of my Fluid templates using the view helper. I'd like to add the translation catalogue (XLIFF) to my site package. However, when I add /Resources/Private/Translations/de/Main.xlf I get the error: No XLIFF file is available for TYPO3.Neos::Main::de in the locale chain. Interestingly the error is the same if a deliberately invalidate the XML file (omitting a tag for example). It appears that the Translations folder is not added to the load path. This is confirmed by the fact that if I add the exact same Main.xlf files to Packages/Application/TYPO3.Neos/Resources/Private/Translations/ they get recognized. I was under the impression a site package is an ordinary Flow package. Any ideas? From jccosse at gmail.com Wed Mar 11 11:21:00 2015 From: jccosse at gmail.com (Jean Claude) Date: Wed, 11 Mar 2015 11:21:00 +0100 Subject: [Neos] =?utf-8?q?Main_Menu?= References: Message-ID: Hi Dimitri Thanks ! you are my Neos Friend :) if Neos documentation is sometimes difficult to understand, your explanations are clear and easy to understand ... but when you write: "I look at the source code and see what is really going on there. MenuImplementaion "... please, can you give me where it is? .. Packages / Application? Packages / Frameworks? .. about Slack channel ... is it The Good link? https://typo3.slack.com/ Do you think they will accept me? ... One more time thank you very much ... I don't know where you live, but I am in France near Bordeaux. Best Regards jean-claude From bastian at typo3.org Wed Mar 11 14:45:30 2015 From: bastian at typo3.org (Bastian Waidelich) Date: Wed, 11 Mar 2015 14:45:30 +0100 Subject: [Neos] Main Menu In-Reply-To: References: Message-ID: On 11.03.15, at 11:21, Jean Claude wrote: Hi. > about Slack channel ... is it The Good link? https://typo3.slack.com/ > > Do you think they will accept me? ... Try: http://forger.typo3.org/slack Salutations distingu?es ;) -- Bastian Waidelich From dimaip at gmail.com Wed Mar 11 16:28:02 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Wed, 11 Mar 2015 15:28:02 +0000 Subject: [Neos] Main Menu In-Reply-To: References: Message-ID: Hey Jean, glad I was of a help. Here are the packages which of most interest to you: Application/TYPO3.Neos -- Neos itself Application/TYPO3.Neos.NodeTypes -- default node types Application/TYPO3.TypoScript -- TypoScript, you can lookup how base TS objects work there. Framework/TYPO3.Flow -- framework, on top of which all of these applications work. All base TypoScript objects have some PHP implementation class. E.g. here's one for menu: https://git.typo3.org/Packages/TYPO3.Neos.git/blob/HEAD:/Classes/TYPO3/Neos/TypoScript/MenuImplementation.php e.g. see line 192 for subItems. And yes, I'm from Moscow, Russia :) On Wed, 11 Mar 2015 at 16:50 Bastian Waidelich wrote: > On 11.03.15, at 11:21, Jean Claude wrote: > > Hi. > > > about Slack channel ... is it The Good link? https://typo3.slack.com/ > > > > Do you think they will accept me? ... > > Try: http://forger.typo3.org/slack > > > Salutations distingu?es ;) > -- > Bastian Waidelich > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos From jccosse at gmail.com Wed Mar 11 17:02:56 2015 From: jccosse at gmail.com (Jean Claude) Date: Wed, 11 Mar 2015 17:02:56 +0100 Subject: [Neos] =?utf-8?q?Main_Menu?= References: Message-ID: hello Bastien thank you very much I just signed up on Slack .. Friendly Danke sehr jean-claude From jccosse at gmail.com Wed Mar 11 18:04:15 2015 From: jccosse at gmail.com (Jean Claude) Date: Wed, 11 Mar 2015 18:04:15 +0100 Subject: [Neos] =?utf-8?q?Main_Menu?= References: Message-ID: Hello Dimitri ??????? ??????? ... I don't know if it is the correct translation (google) you are the first with very good informations. I spend hours and nights working on computer since 1980. I was a developer for Apple in Paris ... I was programming in assembler, but since I learned java, php and I discovered the CMS ... at the beginning of this year, I discovered TYPO3 CMS and then NEOS ... At first I could not do the installation on Windows ... after spending a lot of time, I found that the problem was due to "simlinks" ... I found the solution with a file ".BAT" ... all is Ok it's the same solution to create a new package with Neos ... you are all experts ... I'm a beginner who love NEOS :) thank you, thank you and thank you again to you without forgetting all the team . vodka and bordeaux :) Best Regards jean-claude From neos at roboticbrain.de Wed Mar 11 23:21:45 2015 From: neos at roboticbrain.de (Robotic-Brain) Date: Wed, 11 Mar 2015 23:21:45 +0100 Subject: [Neos] Dimensionmenu: get dimension value in viewHelper Message-ID: Hello List, I'm trying to write a custom DimensionMenu template. Unfortunately I can't figure out how to get the dimension value... From the default template I know that {item.label} gives me the user-readable 'label' value from the Settings.yaml configuration. How can I get the dimension value then? The use case is that I want to mark the different language links with specific css classes, so my css can display the corresponding flag(s). (specifically "lang_de" vs "lang_en") Also, how can I sort the items, such that the "current" dimension gets rendered first? Or is this already the case, by convention? Thanks for any help and Cheers Robotic-Brain Below are the relevant (shortened) files: Settings.yaml: TYPO3: TYPO3CR: contentDimensions: 'language': presets: 'en': label: 'English' values: ['en', 'de'] 'de': label: 'Deutsch' values: ['de', 'en'] Template.html: {item.label} From dimaip at gmail.com Thu Mar 12 08:19:51 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Thu, 12 Mar 2015 07:19:51 +0000 Subject: [Neos] Dimensionmenu: get dimension value in viewHelper In-Reply-To: References: Message-ID: Hello (Robotic-Brain?), I don't know the answer to your question directly, but you can always put {item} within the loop and see everything which is in {item}. Another (my favourite) way is to look at the source code of DimensionsMenuImplementations: $item = array( 'node' => $nodeInOtherDimension, 'state' => $this->calculateItemState($nodeInOtherDimension), 'label' => $presetConfiguration['label'], 'presetName' => $presetName, 'preset' => $presetConfiguration ); So maybe {item.presetName} would work? Regards, Dmitri On Thu, 12 Mar 2015 at 01:21 Robotic-Brain wrote: > Hello List, > > I'm trying to write a custom DimensionMenu template. > Unfortunately I can't figure out how to get the dimension value... > From the default template I know that {item.label} gives me the > user-readable 'label' value from the Settings.yaml configuration. How > can I get the dimension value then? > > The use case is that I want to mark the different language links with > specific css classes, so my css can display the corresponding flag(s). > (specifically "lang_de" vs "lang_en") > > Also, how can I sort the items, such that the "current" dimension gets > rendered first? > Or is this already the case, by convention? > > Thanks for any help and Cheers > Robotic-Brain > > Below are the relevant (shortened) files: > > Settings.yaml: > TYPO3: > TYPO3CR: > contentDimensions: > 'language': > presets: > 'en': > label: 'English' > values: ['en', 'de'] > 'de': > label: 'Deutsch' > values: ['de', 'en'] > > > Template.html: > > > > class="nobr"> > > > {item.label} > > > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From kurt.knick at gmail.com Thu Mar 12 16:34:51 2015 From: kurt.knick at gmail.com (Kurt Knick) Date: Thu, 12 Mar 2015 16:34:51 +0100 Subject: [Neos] Double content collections Message-ID: I was wondering how to get rid of the teaser content collection in a blank site package. After using the neos:repair command i have double entries of main and teaser in the structure tree. Can anybody explain this to me ? Thank you. From kurt.knick at gmail.com Thu Mar 12 21:44:47 2015 From: kurt.knick at gmail.com (Kurt Knick) Date: Thu, 12 Mar 2015 21:44:47 +0100 Subject: [Neos] Double content collections In-Reply-To: References: Message-ID: Hm, i guess it was because the demo package wasnt deaktivated. 2015-03-12 16:34 GMT+01:00 Kurt Knick : > I was wondering how to get rid of the teaser content collection in a blank > site package. After using the neos:repair command i have double entries of > main and teaser in the structure tree. Can anybody explain this to me ? > Thank you. > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From neos at roboticbrain.de Fri Mar 13 14:05:53 2015 From: neos at roboticbrain.de (Robotic-Brain) Date: Fri, 13 Mar 2015 14:05:53 +0100 Subject: [Neos] Dimensionmenu: get dimension value in viewHelper In-Reply-To: References: Message-ID: Thank you, that did the trick :) the "f:debug" didn't work for me earlier for no obvious reason... Now I tried it again with a clean version and it worked :) maybe I messed something up accidentally... I also tried looking at the code, however in a totally wrong place apparently... (Note to self: "Do NOT try to solve problems, when tired") Best Regards Robotic-Brain Am 12.03.2015 08:19, schrieb Dmitri Pisarev: > Hello (Robotic-Brain?), > I don't know the answer to your question directly, but you can always > put > {item} within the loop and see everything which is > in > {item}. > Another (my favourite) way is to look at the source code of > DimensionsMenuImplementations: > $item = array( > 'node' => $nodeInOtherDimension, > 'state' => $this->calculateItemState($nodeInOtherDimension), > 'label' => $presetConfiguration['label'], > 'presetName' => $presetName, > 'preset' => $presetConfiguration > ); > So maybe {item.presetName} would work? > > Regards, > Dmitri > From mail at patriceckhart.com Sat Mar 14 18:10:46 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Sat, 14 Mar 2015 18:10:46 +0100 Subject: [Neos] =?utf-8?q?_Got_HTTP_Error_when_image_upload?= Message-ID: Hey, I get HTTP Error when I upload an image in inspector or in media. I have uploadet the Installation from a local machine. It works all but the image upload produce a HTTP Error. I have run ./flow doctrine:migrate, ./flow doctrine:update and ./flow flow:cache:flush --force Thank you for your answer. From mail at patriceckhart.com Sat Mar 14 18:15:45 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Sat, 14 Mar 2015 18:15:45 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Got_HTTP_Error_when_image_upload?= References: Message-ID: In Media the upload work but it shows a black thumbnail. When I click on it I get: #1207255453: The resource "/var/www/vhosts/mydomain.at/Neos/Data/Persistent/Resources/1905973c6a6717235fbf6e4be42b280aeed86296" could not be mirrored. From book at dizains.lv Sat Mar 14 20:19:04 2015 From: book at dizains.lv (Ardis Markss) Date: Sat, 14 Mar 2015 20:19:04 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Got_HTTP_Error_when_image_upload?= References: Message-ID: Hi tpat If you work locally on Mac, Neos not recognise PNG format - You receive error on PNG file upload, site import if include PNG files and can't open Media manager, if library contains PNG files. With best regards Ardis From mail at patriceckhart.com Sat Mar 14 21:53:03 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Sat, 14 Mar 2015 21:53:03 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Got_HTTP_Error_when_image_upload?= References: Message-ID: Thank you for your answer. Is does not matter which file format I use. I?ve tried this with .jpg, .png and .gif Locally it works, but not on the webserver, when I upload the Installation. From mail at patriceckhart.com Sun Mar 15 09:25:44 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Sun, 15 Mar 2015 09:25:44 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Got_HTTP_Error_when_image_upload?= References: Message-ID: In the Logfile Data/Logs/Exceptions/ 34 TYPO3\Flow\Resource\Publishing\FileSystemPublishingTarget_Original::mirrorFile("/var/www/vhosts/mydomain.at/Neos/Data/Persistent/Resources/992f8cf2fa3b8cb46c77e5ec0444453382168c39", "/var/www/vhosts/mydomain.at/Neos/Web/_Resources/Persistent/992f8cf2fa3b8cb46c77e5ec0444453382168c39.jpg", FALSE) 33 TYPO3\Flow\Resource\Publishing\FileSystemPublishingTarget_Original::publishPersistentResource(TYPO3\Flow\Resource\Resource) 32 TYPO3\Flow\Resource\Publishing\FileSystemPublishingTarget_Original::getPersistentResourceWebUri(TYPO3\Flow\Resource\Resource) 31 TYPO3\Flow\Resource\Publishing\ResourcePublisher_Original::getPersistentResourceWebUri(TYPO3\Flow\Resource\Resource) 30 TYPO3\Neos\Controller\Backend\ContentController_Original::getImageProperties(TYPO3\Media\Domain\Model\Image) 29 TYPO3\Neos\Controller\Backend\ContentController_Original::uploadAssetAction(TYPO3\Media\Domain\Model\Image, "Image") 28 TYPO3\Neos\Controller\Backend\ContentController::uploadAssetAction(TYPO3\Media\Domain\Model\Image, "Image") 27 call_user_func_array(array|2|, array|2|) 26 TYPO3\Neos\Controller\Backend\ContentController::Flow_Aop_Proxy_invokeJoinPoint(TYPO3\Flow\Aop\JoinPoint) 25 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint) 24 TYPO3\Flow\Security\Aspect\PolicyEnforcementAspect_Original::enforcePolicy(TYPO3\Flow\Aop\JoinPoint) 23 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke(TYPO3\Flow\Aop\JoinPoint) 22 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint) 21 TYPO3\Neos\Controller\Backend\ContentController::uploadAssetAction(TYPO3\Media\Domain\Model\Image, "Image") 20 call_user_func_array(array|2|, array|2|) 19 TYPO3\Flow\Mvc\Controller\ActionController_Original::callActionMethod() 18 TYPO3\Flow\Mvc\Controller\ActionController_Original::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response) 17 TYPO3\Flow\Mvc\Dispatcher_Original::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response) 16 TYPO3\Flow\Mvc\Dispatcher::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response) 15 call_user_func_array(array|2|, array|2|) 14 TYPO3\Flow\Mvc\Dispatcher::Flow_Aop_Proxy_invokeJoinPoint(TYPO3\Flow\Aop\JoinPoint) 13 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint) 12 TYPO3\Flow\Security\Aspect\RequestDispatchingAspect_Original::blockIllegalRequestsAndForwardToAuthenticationEntryPoints(TYPO3\Flow\Aop\JoinPoint) 11 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke(TYPO3\Flow\Aop\JoinPoint) 10 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint) 9 TYPO3\Flow\Mvc\Dispatcher::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response) 8 call_user_func_array(array|2|, array|2|) 7 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::__call("dispatch", array|2|) 6 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response) 5 TYPO3\Flow\Mvc\DispatchComponent_Original::handle(TYPO3\Flow\Http\Component\ComponentContext) 4 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext) 3 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext) 2 TYPO3\Flow\Http\RequestHandler::handleRequest() 1 TYPO3\Flow\Core\Bootstrap::run() From aske at moc.net Sun Mar 15 21:06:46 2015 From: aske at moc.net (Aske Ertmann) Date: Sun, 15 Mar 2015 21:06:46 +0100 Subject: [Neos] FYI: Dynamic 404 page package Message-ID: Hey there, Just published a package that enables showing a dynamic page for 404 status codes (page not found) for Neos 1.0+ ? only works without language dimensions (translation) for now though, but forks are welcome ;) https://packagist.org/packages/moc/notfound https://github.com/mocdk/MOC.NotFound Cheers, Aske From itskevinsam at yahoo.co.in Tue Mar 17 06:14:50 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Tue, 17 Mar 2015 06:14:50 +0100 Subject: [Neos] =?utf-8?q?_Restrictions_to_render_a_node?= Message-ID: is there any way to put a restriction on how to render a node, ie: i want a node to render differently for different users in the system.. From itskevinsam at yahoo.co.in Tue Mar 17 06:40:12 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Tue, 17 Mar 2015 06:40:12 +0100 Subject: [Neos] =?utf-8?q?_=5BFlow=2CNeos=5D_Scheduler_for_TYPO3?= Message-ID: Do we have a cron-job scheduler package for TYPO3 [Flow/Neos] ?? From dimaip at gmail.com Tue Mar 17 07:45:21 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 17 Mar 2015 06:45:21 +0000 Subject: [Neos] [Flow,Neos] Scheduler for TYPO3 In-Reply-To: References: Message-ID: Like this one? https://github.com/ttreeagency/Scheduler On Tue, 17 Mar 2015 at 08:45 Kevin Sam wrote: > Do we have a cron-job scheduler package for TYPO3 [Flow/Neos] ?? > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From itskevinsam at yahoo.co.in Tue Mar 17 08:44:47 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Tue, 17 Mar 2015 08:44:47 +0100 Subject: [Neos] =?utf-8?q?=5BFlow=2CNeos=5D_Scheduler_for_TYPO3?= References: Message-ID: yup.. Thanks.. :-) From webmaster at adgrafik.at Tue Mar 17 19:01:36 2015 From: webmaster at adgrafik.at (Arno Dudek) Date: Tue, 17 Mar 2015 19:01:36 +0100 Subject: [Neos] Define variables in Implementation of TypoScript Message-ID: Hi! Can I define variables in the @class-Implementation of a TypoScript? Using this as class definition for TypoScript: class MyImplementation extends \TYPO3\TypoScript\TypoScriptObjects\TemplateImplementation { public function evaluate() { $myVar = 'hello world!'; $this->properties['myVar'] = $myVar; // Set TS value with full path. $this->tsValueCache[$this->path . '/' . 'myVar'] = $myVar; return parent::evaluate(); } } This is the TypoScript: prototype(Vendor.Package:TSObject) < prototype(TYPO3.Neos:Content) { @class = 'Vendor\\Package\\TypoScript\\MyImplementation' templatePath = ... } With this setting I can use the defined variable "myVar" in the template as regular object like

my Variable is: {myVar}

This will work so far. But now I also want to use "myVar" in the TypoScript itself. I tried already: prototype(Vendor.Package:TSObject) < prototype(TYPO3.Neos:Content) { @class = 'Vendor\\Package\\TypoScript\\MyImplementation' templatePath = ... # either this myVar = ${myVar} # nor this will work @override.myVar = ${myVar} } Is this possible? lg arno From webmaster at adgrafik.at Tue Mar 17 19:19:02 2015 From: webmaster at adgrafik.at (Arno Dudek) Date: Tue, 17 Mar 2015 19:19:02 +0100 Subject: [Neos] Define variables in Implementation of TypoScript In-Reply-To: References: Message-ID: Often the answer will be find by asking the question :) prototype(Vendor.Package:GetMyVar) { @class = 'Vendor\\Package\\TypoScript\\MyImplementation' value = '' } prototype(Vendor.Package:TSObject) < prototype(TYPO3.Neos:Content) { templatePath = ... myVar = Vendor.Package:GetMyVar { value = ${node.properties.value} } } lg arno From itskevinsam at yahoo.co.in Wed Mar 18 10:43:04 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Wed, 18 Mar 2015 10:43:04 +0100 Subject: [Neos] =?utf-8?q?_Issues_in_Selecting_a_Finisher?= Message-ID: I have a finisher in a separate package, I have followed the files structure convention as Application\Package\Org.Code\Classes\Org\Code\Finishers\SaveFinisher.php and i have updated the settings as TYPO3: Form: presets: finisherPresets: 'Org.Code:Save': implementationClassName: 'Org\Code\Finishers\SaveFinisher' options: {} I am not able to use the finisher inside the forms yaml file, if i add this custom finisher the page dumps me a message. "Exception while rendering default/ body/ content/ main/ default/ element/ itemRenderer/ default/ element: The finisher preset identified by "Org.Code:Save" could not be found, or the implementationClassName was not specified. (201503181042309c9f8b)" Any thoughts on how to debug this thing ?? From bastian at typo3.org Wed Mar 18 11:04:56 2015 From: bastian at typo3.org (Bastian Waidelich) Date: Wed, 18 Mar 2015 11:04:56 +0100 Subject: [Neos] Issues in Selecting a Finisher In-Reply-To: References: Message-ID: On 18.03.15, at 10:43, Kevin Sam wrote: Hi Kevin, > [...]i have updated the settings as TYPO3: > Form: > presets: > finisherPresets: > 'Org.Code:Save': > implementationClassName: 'Org\Code\Finishers\SaveFinisher' > options: {} You're missing the preset name, for example: TYPO3: Form: presets: 'default': finisherPresets: ... See http://flow.typo3.org/documentation/guides/forms/extending-form-builder#creating-a-finisher-editor -- Bastian Waidelich From itskevinsam at yahoo.co.in Wed Mar 18 11:26:12 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Wed, 18 Mar 2015 11:26:12 +0100 Subject: [Neos] =?utf-8?q?Issues_in_Selecting_a_Finisher?= References: Message-ID: Same issue.. My Settings.yaml file is now.. TYPO3: Form: presets: MyCustomPreset: finisherPresets: 'Org.Code:Save': implementationClassName: 'Org\Code\Finishers\SaveFinisher' options: {} and my forms (yaml) file begins with type: 'TYPO3.Form:Form' identifier: testForm label: 'Test Form' renderingOptions: submitButtonLabel: Save finishers: - identifier: 'Org.Code:Save' renderables: From bastian at typo3.org Wed Mar 18 11:47:51 2015 From: bastian at typo3.org (Bastian Waidelich) Date: Wed, 18 Mar 2015 11:47:51 +0100 Subject: [Neos] Issues in Selecting a Finisher In-Reply-To: References: Message-ID: On 18.03.15, at 11:26, Kevin Sam wrote: > TYPO3: > Form: > presets: > MyCustomPreset: > finisherPresets: > 'Org.Code:Save': > implementationClassName: 'Org\Code\Finishers\SaveFinisher' > options: {} Are you sure the Neos form runs in preset "MyCustomPreset"? If you use the neos demo site the preset would be "bootstrap" for example: prototype(TYPO3.Neos.NodeTypes:Form) { presetName = 'bootstrap' } That's why I set it to "default" in my example because that is the parentPreset by default, so it gets inherited. -- Bastian Waidelich From itskevinsam at yahoo.co.in Wed Mar 18 13:12:35 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Wed, 18 Mar 2015 13:12:35 +0100 Subject: [Neos] =?utf-8?q?Issues_in_Selecting_a_Finisher?= References: Message-ID: Hi, tried to do that.. it gave me this.. Exception while rendering default/ body/ content/ main/ default/ element/ itemRenderer/ default/ element: Type "TYPO3.Form:Form" not found. Probably some configuration is missing. (201503181311392d227b From visay.keo at typo3.org Wed Mar 18 14:26:46 2015 From: visay.keo at typo3.org (Visay Keo) Date: Wed, 18 Mar 2015 20:26:46 +0700 Subject: [Neos] Issues in Selecting a Finisher In-Reply-To: References: Message-ID: Hi Kevin, Try running: ./flow configuration:show --type Settings --path TYPO3.Form and see the output. It usually helps to see the end result of configuration merging. Cheers, Visay On 18 ???? 2015 19:12, Kevin Sam wrote: > > Hi, > > tried to do that.. > it gave me this.. > > Exception while rendering > default/ > body/ > content/ > main/ > default/ > element/ > itemRenderer/ > default/ > element: > Type "TYPO3.Form:Form" not found. Probably some configuration is > missing. (201503181311392d227b -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From itskevinsam at yahoo.co.in Thu Mar 19 05:44:55 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Thu, 19 Mar 2015 05:44:55 +0100 Subject: [Neos] =?utf-8?q?Issues_in_Selecting_a_Finisher?= References: Message-ID: I do have my Finisher listed under there... but still i cant use it in the forms file.. From itskevinsam at yahoo.co.in Thu Mar 19 07:36:47 2015 From: itskevinsam at yahoo.co.in (Kevin Sam) Date: Thu, 19 Mar 2015 07:36:47 +0100 Subject: [Neos] =?utf-8?q?Issues_in_Selecting_a_Finisher?= References: Message-ID: it works now... i've changed the settings to. TYPO3: Form: presets: default: finisherPresets: 'Org.Code:SaveForm': implementationClassName: 'Org\Code\Finishers\SaveFinisher' options: {} From markus.goldbeck at typo3.org Thu Mar 19 10:31:58 2015 From: markus.goldbeck at typo3.org (Markus Goldbeck) Date: Thu, 19 Mar 2015 10:31:58 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_TYPO3_Neos_Code_Sprint__March_2015?= References: Message-ID: FYI because of the fact that alomst everybody who arrives on sunday for the sprint will not be there before the evening, the sprint starts officially on monday at FH Rosenheim. So the TechDivision office will stay closed on sunday. Looking forward to see you on monday. -- Markus Goldbeck TYPO3 Neos Core Team Member TYPO3 .... inspiring people to share! Get involved: typo3.org From bastian at typo3.org Thu Mar 19 13:30:31 2015 From: bastian at typo3.org (Bastian Waidelich) Date: Thu, 19 Mar 2015 13:30:31 +0100 Subject: [Neos] Issues in Selecting a Finisher In-Reply-To: References: Message-ID: On 19.03.15, at 07:36, Kevin Sam wrote: Hi Kevin > it works now... i've changed the settings to. > > TYPO3: > Form: > presets: > default: [...] which is exactly what I wrote ;) You can use custom presets of course but then you must tell the form content object to use this: prototype(TYPO3.Neos.NodeTypes:Form) { presetName = 'MyCustomPreset' } HTH -- Bastian Waidelich From omelandr at gmail.com Thu Mar 19 15:51:13 2015 From: omelandr at gmail.com (Andrew Omelyanchuk) Date: Thu, 19 Mar 2015 15:51:13 +0100 Subject: [Neos] =?utf-8?q?_Lelesys=2EPlugin=2ESlideShow_crop_Images?= Message-ID: I use Lelesys.Plugin.SlideShow for gallery. Code output images {alternativeText} i want to use but i have error Cannot cast object of type "TYPO3\Media\Domain\Model\ImageVariant" to string. (201503191548493c5964) How I can fix it? From dimaip at gmail.com Thu Mar 19 16:17:20 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Thu, 19 Mar 2015 15:17:20 +0000 Subject: [Neos] Lelesys.Plugin.SlideShow crop Images In-Reply-To: References: Message-ID: Hey Andrew! The property is `node` and not `image`. On Thu, 19 Mar 2015 at 17:55 Andrew Omelyanchuk wrote: > I use Lelesys.Plugin.SlideShow for gallery. > Code output images > {alternativeText} src="{f:uri.resource(resource: image.resource)}" width="280" height="195"> > i want to use > maximumHeight="195" allowCropping="TRUE" /> > but i have error > Cannot cast object of type "TYPO3\Media\Domain\Model\ImageVariant" to > string. (201503191548493c5964) > > How I can fix it? > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From dimaip at gmail.com Thu Mar 19 16:18:08 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Thu, 19 Mar 2015 15:18:08 +0000 Subject: [Neos] Lelesys.Plugin.SlideShow crop Images In-Reply-To: References: Message-ID: Brr not `node`, `asset`! See docs: On Thu, 19 Mar 2015 at 18:17 Dmitri Pisarev wrote: > Hey Andrew! The property is `node` and not `image`. > > On Thu, 19 Mar 2015 at 17:55 Andrew Omelyanchuk > wrote: > > > I use Lelesys.Plugin.SlideShow for gallery. > > Code output images > > {alternativeText} > src="{f:uri.resource(resource: image.resource)}" width="280" > height="195"> > > i want to use > > > maximumHeight="195" allowCropping="TRUE" /> > > but i have error > > Cannot cast object of type "TYPO3\Media\Domain\Model\ImageVariant" to > > string. (201503191548493c5964) > > > > How I can fix it? > > > > > > _______________________________________________ > > Neos mailing list > > Neos at lists.typo3.org > > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From bastian at typo3.org Thu Mar 19 16:31:03 2015 From: bastian at typo3.org (Bastian Waidelich) Date: Thu, 19 Mar 2015 16:31:03 +0100 Subject: [Neos] Lelesys.Plugin.SlideShow crop Images In-Reply-To: References: Message-ID: On 19.03.15, at 15:51, Andrew Omelyanchuk wrote: Hi Andrew, > [...] i want to use maximumWidth="280" maximumHeight="195" allowCropping="TRUE" /> > but i have error > Cannot cast object of type "TYPO3\Media\Domain\Model\ImageVariant" to > string. It seems you didn't import the "media" namespace. So Fluid does not resolve to the corresponding ViewHelper and tries to render {image} instead. Just add {namespace media=TYPO3\Media\ViewHelpers} to the top of your template. FYI: With the upcoming version of Neos Fluid 3.0 is included and that will throw a more meaningful exception. Besides it allows you to use 3rd party ViewHelpers directly w/o having to import the namespace - if you use the package key: -- Bastian Waidelich From omelandr at gmail.com Thu Mar 19 16:36:27 2015 From: omelandr at gmail.com (Andrew Omelyanchuk) Date: Thu, 19 Mar 2015 16:36:27 +0100 Subject: [Neos] =?utf-8?q?Lelesys=2EPlugin=2ESlideShow_crop_Images?= References: Message-ID: Thanks for your answered, but I decided problem I Just add {namespace media=TYPO3\Media\ViewHelpers} to the top of my template. From omelandr at gmail.com Thu Mar 19 16:38:41 2015 From: omelandr at gmail.com (Andrew Omelyanchuk) Date: Thu, 19 Mar 2015 16:38:41 +0100 Subject: [Neos] =?utf-8?q?Lelesys=2EPlugin=2ESlideShow_crop_Images?= References: Message-ID: oh, thanks, it works From visay.keo at typo3.org Mon Mar 23 07:36:12 2015 From: visay.keo at typo3.org (Visay Keo) Date: Mon, 23 Mar 2015 13:36:12 +0700 Subject: [Neos] Dynamic nodetype properties Message-ID: Hello all, I have created a product listing page where I have a "Product" node type and some pre-defined properties in the yaml that backend editor can enter info about each product and display in the frontend Now I created a "Category" node type and each product must belong to a category but there is a requirement that properties of the product must be defined in the category. For example, in the category name "Drink", I can set some fields like "name", "price" and all products of this category will have these 2 fields there by default for user to fill in the info. What is the easiest solution to achieve this by what I'm having now? Is it possible to set required/optional attribute in the field defined in the category and get respected in the product inspector? Thanks, Visay -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From visay.keo at typo3.org Mon Mar 23 07:45:16 2015 From: visay.keo at typo3.org (Visay Keo) Date: Mon, 23 Mar 2015 13:45:16 +0700 Subject: [Neos] Cache entryIdentifier with request arguments Message-ID: Hi, I have an object that read the request argument to build a list of product and I cannot configure out the cache to work properly. Here is my TS code: prototype(My.Package:ProductList) { templatePath = 'resource://My.Package/Private/Templates/NodeTypes/Product/ProductList.html' productCategory = ${request.arguments.productCategory ? q(site).find('[instanceof My.Package:Product]').find('main').children(request.arguments.productCategory).get(0) : q(node).property('defaultProductCategory')} products = ${this.productCategory ? q(site).find('[instanceof My.Package:Product]').get() : []} products. at process.filterByReference = ${this.productCategory ? q(value).filterByReference('category', this.productCategory).get() : q(value)} @cache { mode = 'cached' entryIdentifier.productCategory = ${request.arguments.productCategory} entryTags { 1 = ${'NodeType_' + 'My.Package:ProductCategory'} } } } The product list is rendered correctly but when I switch to another category, it just shows the same one until I manually clear the cache. Anyone knows what am I missing here? Thanks, Visay -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From typo3mailinglist at webandco.com Mon Mar 23 10:48:56 2015 From: typo3mailinglist at webandco.com (David Spiola) Date: Mon, 23 Mar 2015 10:48:56 +0100 Subject: [Neos] You have a node that is no longer connected to a parent Message-ID: Hi everybody! I get this message in my log file. Does somebody know how I can fix this. Right now, I can?t even delete the node :-( Appreciate the help! bests, David From henjo at simplyadmire.com Mon Mar 23 12:07:37 2015 From: henjo at simplyadmire.com (Henjo Hoeksma) Date: Mon, 23 Mar 2015 12:07:37 +0100 Subject: [Neos] Localization in Fluid Templates References: Message-ID: On 2015-03-11 09:26:50 +0000, Tristan Koch said: > Hi, > > I'm trying to localize a string in one of my Fluid templates using the > view helper. > > > > I'd like to add the translation catalogue (XLIFF) to my site package. > However, when I add /Resources/Private/Translations/de/Main.xlf I > get the error: > > No XLIFF file is available for TYPO3.Neos::Main::de in the locale chain. > > Interestingly the error is the same if a deliberately invalidate the > XML file (omitting a tag for example). It appears that the Translations > folder is not added to the load path. This is confirmed by the fact > that if I add the exact same Main.xlf files to > Packages/Application/TYPO3.Neos/Resources/Private/Translations/ they > get recognized. > > I was under the impression a site package is an ordinary Flow package. > Any ideas? Hi Tristan, you have to specify your package in the translate viewhelper. A Neos site defaults to the TYPO3.Neos package. ie: Default value -- Kinds regards, Henjo From henjo at simplyadmire.com Mon Mar 23 12:14:01 2015 From: henjo at simplyadmire.com (Henjo Hoeksma) Date: Mon, 23 Mar 2015 12:14:01 +0100 Subject: [Neos] CSS classes for the standard Neos Content Elements References: Message-ID: On 2015-02-15 19:05:31 +0000, Patric Eckhart said: > Okay I have found the Nodetypes TS MultiColumn.ts2, ... > > But in the code there is col-sm-50 instead of col-sm-6 > > How can I change the -50 to -6 and so on? Hi Patrick, override it in you own package, you can specifically override that piece. The actual values are get as defined in the NodeType declaration. For Foundation we do something like this: https://gist.github.com/hphoeksma/98815a2fe7eecf66f0b0 -- Kinds regards, Henjo From dfeyer at ttree.ch Mon Mar 23 13:39:52 2015 From: dfeyer at ttree.ch (Dominique Feyer) Date: Mon, 23 Mar 2015 13:39:52 +0100 Subject: [Neos] [Flow,Neos] Scheduler for TYPO3 References: Message-ID: On 2015-03-17 07:44:47 +0000, Kevin Sam said: > yup.. Thanks.. :-) This package is not in a stable state currently, if you have any question feel free to open issue on Github, I will try to answer as fast as possible ;) Bests, Dominique Feyer From hitechgeek at gmail.com Mon Mar 23 20:40:01 2015 From: hitechgeek at gmail.com (Joe User) Date: Mon, 23 Mar 2015 20:40:01 +0100 Subject: [Neos] =?utf-8?q?_No_Backend?= Message-ID: I posted this in the wrong area and don't mean to cross post, but couldn't figure out how to delete my post from the other area. If there is anyone who could remove my old post.... Home ? Installing TYPO3 ? General Installation support ? No back end Hello all! I'm a noob, have some Drupal background but no expert by any means. I was point to TYPO3 by a friend and was blown away with the possibility. I'm not sure if I'm in the correct area to post this so please point me in the right direction if I'm wrong here. I successfully installed Neos 1.2 (a few times) I have one machine with the demo site, and the other I tried to make fresh, no default site. So on my blank site all seemed to go well, but when I log in and try to go to the backend there is no page. I just did a fresh install just to see if I did something wrong, and I got the error Error: During the import of the "Sites.xml" from the package "testsite.Insudtries" an exception occurred: Error: During import an exception occurred: "Unexpected end element ". Any ideas where I went wrong? Thanks! From neos at roboticbrain.de Mon Mar 23 21:44:42 2015 From: neos at roboticbrain.de (Robotic-Brain) Date: Mon, 23 Mar 2015 21:44:42 +0100 Subject: [Neos] No Backend In-Reply-To: References: Message-ID: I ran into this problem too while updating from Neos 1.1 to 1.2 Something changed in the last update, which changed the syntax of /Resources/Private/Content/Sites.xml however the kickstarted Sites.xml uses the old format... you have to change all: [] to: This should be fixed in the next update: https://jira.typo3.org/browse/NEOS-1003 Cheers Robotic-Brain Am 23.03.2015 20:40, schrieb Joe User: > I posted this in the wrong area and don't mean to cross post, but > couldn't figure out how to delete my post from the other area. If > there is anyone who could remove my old post.... Home ? Installing > TYPO3 ? General Installation support ? No back end > > Hello all! I'm a noob, have some Drupal background but no expert by > any means. I was point to TYPO3 by a friend and was blown away with > the possibility. I'm not sure if I'm in the correct area to post this > so please point me in the right direction if I'm wrong here. > I successfully installed Neos 1.2 (a few times) I have one machine > with the demo site, and the other I tried to make fresh, no default > site. So on my blank site all seemed to go well, but when I log in and > try to go to the backend there is no page. > > I just did a fresh install just to see if I did something wrong, and I > got the error > Error: During the import of the "Sites.xml" from the package > "testsite.Insudtries" an exception occurred: Error: During import an > exception occurred: "Unexpected end element ". > > Any ideas where I went wrong? > Thanks! > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos From dimaip at gmail.com Tue Mar 24 18:14:25 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 24 Mar 2015 17:14:25 +0000 Subject: [Neos] Dynamic nodetype properties In-Reply-To: References: Message-ID: Hey Visay! Hello from Germany and too bad you are not here (I'm the only non-mac developer this time)! Maybe you can set these properties in postprocessor? Btw, this RFC may be interesting to you too: https://jira.typo3.org/browse/NEOS-1166 On Mon, 23 Mar 2015 at 07:40 Visay Keo wrote: > Hello all, > > I have created a product listing page where I have a "Product" node type > and some pre-defined properties in the yaml that backend editor can > enter info about each product and display in the frontend > > Now I created a "Category" node type and each product must belong to a > category but there is a requirement that properties of the product must > be defined in the category. For example, in the category name "Drink", I > can set some fields like "name", "price" and all products of this > category will have these 2 fields there by default for user to fill in > the info. > > What is the easiest solution to achieve this by what I'm having now? > Is it possible to set required/optional attribute in the field defined > in the category and get respected in the product inspector? > > Thanks, > Visay > > -- > TYPO3 .... Inspiring People To Share! > Participate: http://typo3.org/participate/ > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From doronenkod at i.ua Wed Mar 25 10:57:03 2015 From: doronenkod at i.ua (Dima Doronenko) Date: Wed, 25 Mar 2015 10:57:03 +0100 Subject: [Neos] =?utf-8?q?_Problem_with_editing_content_element?= Message-ID: Hi,all I need a help.I have simple "Text" content element which works and I can use tags h2, h3, etc in editor. But when I add Text&Image or another content element with text, I cannot use h2, h3 tags, they change into "Remove formatting" but "bold' or "italic type" still work in editor. Thanks From hitechgeek at gmail.com Wed Mar 25 13:44:14 2015 From: hitechgeek at gmail.com (Joe User) Date: Wed, 25 Mar 2015 13:44:14 +0100 Subject: [Neos] =?utf-8?q?No_Backend?= References: Message-ID: Good to know! Thanks... Total noob, so not sure how to go about the fix or patch. Any pointers, or should I wait for the next update? Thanks for getting back to me!! From dmitry at typo3.ru.net Wed Mar 25 21:21:40 2015 From: dmitry at typo3.ru.net (Dmitry Vasiliev) Date: Thu, 26 Mar 2015 00:21:40 +0400 Subject: [Neos] Routing for typo3 neos paginator Message-ID: Hi, all. I'm trying to configure routing for typo3cr: widget.paginate as described here https://gist.github.com/radmiraal/8d68190e4d8de98ed865 But it does not help. I get link like http://mydomain.com/news.html?--node-55105527459ff[%40package]=&--node-55105527459ff[%40subpackage]=&--node-55105527459ff[%40controller]=&--node-55105527459ff[%40action]=index&--node-55105527459ff[currentPage]=2 How to configure routing for this link? Help. -- Kind regards, Dmitry Vasiliev Skype: thule-varahi; From visay.keo at typo3.org Thu Mar 26 03:27:19 2015 From: visay.keo at typo3.org (Visay Keo) Date: Thu, 26 Mar 2015 09:27:19 +0700 Subject: [Neos] Problem with editing content element In-Reply-To: References: Message-ID: Hi Dima, You can allow/disallow tags in your text property setting: 'Your.Package:YourNode': properties: yourText: ui: aloha: 'format': 'p': FALSE 'h1': TRUE 'h2': TRUE 'h3': TRUE 'removeFormat': TRUE 'link': 'a': TRUE So you can define it separately in your Text, Text&Image or AnotherElement node type as you need. If you those node type shared the same/similar aloha setting, you can create an abstract node type or yaml alias to not repeat your config. Cheers, Visay On 25 ???? 2015 16:57, Dima Doronenko wrote: > Hi,all > > I need a help.I have simple "Text" content element which works and I can > use tags h2, h3, etc in editor. > But when I add Text&Image or another content element with text, I > cannot use h2, h3 tags, they change into "Remove formatting" but > "bold' or "italic type" still work in editor. > > Thanks -- TYPO3 .... Inspiring People To Share! Participate: http://typo3.org/participate/ From sokly at web-essentials.asia Thu Mar 26 03:59:36 2015 From: sokly at web-essentials.asia (Sokly Phal) Date: Thu, 26 Mar 2015 09:59:36 +0700 Subject: [Neos] Get node by url path segment Message-ID: Hi list, I don't know how to write flow query to get node by url path segment. I have tried this getNode = ${q(site).find('[instanceof TYPO3.Neos:Document]').find('myurl').get(0)} but it can get only second level and third level, first not. Any idea? Thanks in advance for your help. Best, Sokly From sokly at web-essentials.asia Thu Mar 26 10:18:28 2015 From: sokly at web-essentials.asia (Sokly Phal) Date: Thu, 26 Mar 2015 16:18:28 +0700 Subject: [Neos] Get node by url path segment In-Reply-To: References: Message-ID: I got solution now. Here is the working code: getNode = ${q(site).find('[instanceof TYPO3.Neos:Document]').filter('myurl').get(0)} Thank Sebastian Helzle for your help. :) Cheer, Sokly On 26 ???? 2015 09:59, Sokly Phal wrote: > Hi list, > > I don't know how to write flow query to get node by url path segment. > > I have tried this > > getNode = ${q(site).find('[instanceof > TYPO3.Neos:Document]').find('myurl').get(0)} > > but it can get only second level and third level, first not. > > Any idea? > > Thanks in advance for your help. > > Best, > Sokly From jccosse at gmail.com Thu Mar 26 11:14:51 2015 From: jccosse at gmail.com (Jean Claude) Date: Thu, 26 Mar 2015 11:14:51 +0100 Subject: [Neos] =?utf-8?q?_=5BNEOS=5D_Production_and_Development?= Message-ID: Hello, Please, What is the best solution for working with development and producing context ? is the best to create a subdomain for development work and then copy the database and site to site production?.. Thank you for all your advice Best regards jean-claude From dmitry at typo3.ru.net Thu Mar 26 13:10:20 2015 From: dmitry at typo3.ru.net (Dmitry) Date: Thu, 26 Mar 2015 13:10:20 +0100 Subject: [Neos] =?utf-8?q?Routing_for_typo3_neos_paginator?= References: Message-ID: - name: 'News paginate' uriPattern: '{node}/{--node-55105527459ff.currentPage}' defaults: '@package': 'TYPO3.Neos' '@controller': 'Frontend\Node' '@format': 'html' '@action': 'show' '--node-55105527459ff': '@package': '' '@subpackage': '' '@controller': '' '@action': 'index' 'currentPage': '1' routeParts: node: handler: TYPO3\Neos\Routing\FrontendNodeRoutePartHandler appendExceedingArguments: TRUE From thierry.brodard at techniconcept.ch Fri Mar 27 16:07:42 2015 From: thierry.brodard at techniconcept.ch (Thierry Brodard) Date: Fri, 27 Mar 2015 16:07:42 +0100 Subject: [Neos] =?utf-8?q?_TYPO3CR=3A_API?= Message-ID: Hi, We've done a lot of "Domain Models" in the Extbase world. In the Neos world, there is a "choice" to do: - Use custom node types - Use a domain model with a standard controller Now: with the ease of creating custom node types, my tendency is to use them even for big "lists" of items, for exemple: events in a calendar. But: as I've seen the behavior of EEL / Flowquery, I think that for custom queries with a lot of business logic, it would be preferable to access the custom nodes in a standard controller, and give the results back to the Fluid view. So we could have the best of the both "worlds": an excellent interface for the redactor to enter the content in a custom node type, and a "standard" way in PHP to access the data and display them. Questions: - Am I on the "right way" thinking in that direction ? - Is there an API to access the nodes else than with EEL / Flowquery ? Many thanks, Thierry From dimaip at gmail.com Fri Mar 27 19:47:33 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Fri, 27 Mar 2015 18:47:33 +0000 Subject: [Neos] TYPO3CR: API In-Reply-To: References: Message-ID: Hi Thierry! I'm not at all an export in this area, but I think TYPO3CR has some sort of API which you can use. Easiest way to dive into it is to look through the code, stuff like TYPO3\TYPO3CR\Domain\Model\NodeType etc. I've only had to do it once, in this case: https://github.com/sfi-ru/Sfi.Migration/blob/master/Classes/Sfi/Migration/Command/MigrationCommandController.php But don't underestimate the power of TS/FlowQuery too, I prefer to use it in most of cases. On Fri, 27 Mar 2015 at 16:10 Thierry Brodard < thierry.brodard at techniconcept.ch> wrote: > Hi, > > We've done a lot of "Domain Models" in the Extbase world. > > In the Neos world, there is a "choice" to do: > > - Use custom node types > - Use a domain model with a standard controller > > Now: with the ease of creating custom node types, my tendency is to use > them even for big "lists" of items, for exemple: events in a calendar. > But: as I've seen the behavior of EEL / Flowquery, I think that for custom > queries with a lot of business logic, it would be preferable to access the > custom nodes in a standard controller, and give the results back to the > Fluid view. > > So we could have the best of the both "worlds": an excellent interface for > the redactor to enter the content in a custom node type, and a "standard" > way in PHP to access the data and display them. > > Questions: > > - Am I on the "right way" thinking in that direction ? > - Is there an API to access the nodes else than with EEL / Flowquery ? > > Many thanks, > Thierry > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From dmitry at typo3.ru.net Fri Mar 27 21:35:16 2015 From: dmitry at typo3.ru.net (Dmitry) Date: Fri, 27 Mar 2015 21:35:16 +0100 Subject: [Neos] =?utf-8?q?_multiple_different_forms_on_site?= Message-ID: How I can create multiple different forms on site? Can I make a few formIdentifier in NodeTypes.yaml? Are there examples? From dmitry at typo3.ru.net Sat Mar 28 08:08:57 2015 From: dmitry at typo3.ru.net (Dmitry) Date: Sat, 28 Mar 2015 08:08:57 +0100 Subject: [Neos] =?utf-8?q?_Different_templates_lelesys=2Enews_on_different?= =?utf-8?q?_pages?= Message-ID: I use the plugin lelesys.news On different pages I need to display a list of news with different templates. Can I add a condition in which the other page will display other template? Or to do additional nodetype and connect it to another template? From dimaip at gmail.com Sat Mar 28 10:48:32 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Sat, 28 Mar 2015 09:48:32 +0000 Subject: [Neos] Different templates lelesys.news on different pages In-Reply-To: References: Message-ID: ??????????, ???????! As always in Neos you have multiple ways to do it. Most obvious is to change template path for Lelesys.News:List in places where you need to. If you reuse that configuration in more places, define it as a new object extending Lelesys.News:List. If you insert news plugin as content element, you can add some inspector property that will allow you to select from a list of templates. ? ? ??????????? ??????????? ? ??????, ???? ??? ??????? ???????. On Sat, 28 Mar 2015 at 08:10 Dmitry wrote: > I use the plugin lelesys.news > On different pages I need to display a list of news with different > templates. > Can I add a condition in which the other page will display other template? > Or to do additional nodetype and connect it to another template? > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From dimaip at gmail.com Sat Mar 28 10:56:31 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Sat, 28 Mar 2015 09:56:31 +0000 Subject: [Neos] [NEOS] Production and Development In-Reply-To: References: Message-ID: Hey Jean! Development and Production contexts in Neos don't substitute for the need to have a separate environment for dev work (and possibly staging). Usually for every environment I configure dev.* alias, that leads to the same site, but sets FLOW_CONTEXT=Development. For the development work itself you would most likely use your local computer of completely different instance on production machine. On Thu, 26 Mar 2015 at 11:15 Jean Claude wrote: > Hello, > Please, > What is the best solution for working with development and producing > context ? > is the best to create a subdomain for development work > and then copy the database and site to site production?.. > > Thank you for all your advice > Best regards > jean-claude > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From j.kurschatke at skyfillers.com Sat Mar 28 12:06:59 2015 From: j.kurschatke at skyfillers.com (Jöran Kurschatke) Date: Sat, 28 Mar 2015 12:06:59 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Switching_to_the_development_master?= References: Message-ID: As Bastian Waidelich stated in Slack this error is solved by fixing your composer dependencies to dev-master (There is more to do, than neos.typo3.org/develop/download tells you) From j.kurschatke at skyfillers.com Sat Mar 28 12:25:11 2015 From: j.kurschatke at skyfillers.com (Jöran Kurschatke) Date: Sat, 28 Mar 2015 12:25:11 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Switching_to_the_development_master?= References: Message-ID: And if you find some more errors (as i currently get in TYPO3.Setup) then you need to include this package as an requirement in "dev-master" too... Documentation to get on dev-master could really be fixed From thierry.brodard at techniconcept.ch Sat Mar 28 14:44:02 2015 From: thierry.brodard at techniconcept.ch (Thierry Brodard) Date: Sat, 28 Mar 2015 14:44:02 +0100 Subject: [Neos] =?utf-8?q?TYPO3CR=3A_API?= References: Message-ID: Hello Dmitri ! Thanks a lot for your answer, let's concentrate on FlowQuery ! Thanks also for your exemple for importing data. Kind regards, Thierry From jccosse at gmail.com Sat Mar 28 16:25:40 2015 From: jccosse at gmail.com (Jean Claude) Date: Sat, 28 Mar 2015 16:25:40 +0100 Subject: [Neos] =?utf-8?q?=5BNEOS=5D_Production_and_Development?= References: Message-ID: Hello Dmitri, it's nice to receive an answer from a professional thank you very much for your advice and your idea to make an alias ... I will do it... to work with my local computer I have a windows 7, but it is too slow .. I work with a production machine ... with Plesk and Ubuntu and it's not easy .... I promised a friend to make him a site with Neos :) but before building a similar site like the demo .. I try to understand before to have too many problems ... I have a lot of rights issues .. because ./flow core: setfilepermissions jccosse psaserv psacln does not work properly with Plesk .... and as I don't know how to transfer a Neos site to another server ... I am afraid to be wrong ... one more time thank you very much best Regards jean-claude From jccosse at gmail.com Sat Mar 28 16:44:43 2015 From: jccosse at gmail.com (Jean Claude) Date: Sat, 28 Mar 2015 16:44:43 +0100 Subject: [Neos] =?utf-8?q?_Re=3A_Switching_to_the_development_master?= References: Message-ID: Hello J?ran, have crossed our minds because I have found the solution yesterday afternoon !.. Of course, I followed the instructions of https://neos.typo3.org/develop/download.html but it still did not work ... I searched and I finally found a solution that works. Aske Ertmann gives a solution at the bottom of this page: https://jira.typo3.org/browse/NEOS-997 I discovered the many features that prepare all technicians Typo3 Neos ! .. Thank you anyway for your answer. best Regards jean-claude From register at by-torsten.de Sun Mar 29 13:37:17 2015 From: register at by-torsten.de (Torsten Blindert) Date: Sun, 29 Mar 2015 13:37:17 +0200 Subject: [Neos] Add 2nd content dimension -> 404 Message-ID: Hey there, I?ve played around with content dimensions and it?s a really nice feature, but there is one thing I couldn?t figure out: If I add a content dimension (e.g. language) to an existing site, I can perform a node migration (./flow node:migrate 20140326143834) to add the default dimension to all nodeDatas. But what should I do if I want to add a 2nd dimension? Is there a migration for that use case too? Currently I?m running into a 404 error because my nodes don?t have the 2nd default dimension preset. Thanks in advance Torsten From aske at moc.net Mon Mar 30 20:28:21 2015 From: aske at moc.net (Aske Ertmann) Date: Mon, 30 Mar 2015 20:28:21 +0200 Subject: [Neos] Switching to the development master In-Reply-To: References: Message-ID: Hi there Updated https://neos.typo3.org/develop/download.html On Sat, Mar 28, 2015 at 4:44 PM, Jean Claude wrote: > Hello J?ran, > > have crossed our minds because I have found the solution yesterday > afternoon !.. > > Of course, I followed the instructions of https://neos.typo3.org/ > develop/download.html > but it still did not work ... > > I searched and I finally found a solution that works. > > Aske Ertmann gives a solution at the bottom of this page: > https://jira.typo3.org/browse/NEOS-997 > > I discovered the many features that prepare all technicians Typo3 Neos ! .. > > Thank you anyway for your answer. > best Regards > jean-claude > > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > -- Venlig hilsen Aske Webudvikler, team lead MOC A/S 4692 3435 / 4333 2200 moc.net From mail at patriceckhart.com Mon Mar 30 21:40:30 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Mon, 30 Mar 2015 21:40:30 +0200 Subject: [Neos] =?utf-8?q?_Error_500_after_Error_503_after_switching_in_th?= =?utf-8?q?e_Production_Mode?= Message-ID: Hey guys, I get an Error 500 after Error 503 after switching in the Production Mode. When I get back in Development Mode I also get Error 500 and 503. I have tried ./flow flow:cache:flush --force Can you help me? From jccosse at gmail.com Mon Mar 30 22:02:16 2015 From: jccosse at gmail.com (Jean Claude) Date: Mon, 30 Mar 2015 22:02:16 +0200 Subject: [Neos] =?utf-8?q?Switching_to_the_development_master?= References: Message-ID: ok Thank's Aske it's exactly the link I inserted in my last ticket but I wished to respect you, so I have inserted the link where I found your solution .. Aske Ertmann gives a solution at the bottom of this page: https://jira.typo3.org/browse/NEOS-997 it's a pleasure to meet you here ! best Regards jean-claude From jccosse at gmail.com Mon Mar 30 23:49:58 2015 From: jccosse at gmail.com (Jean Claude) Date: Mon, 30 Mar 2015 23:49:58 +0200 Subject: [Neos] =?utf-8?q?_Re=3A_Error_500_after_Error_503_after_switching?= =?utf-8?q?_in_the_Production_Mode?= References: Message-ID: hello try to check the permissions of your files but especially check the owner and group ... I'm on a dedicated server with plesk ubuntu ... and very often, some features of neos ( ./flow flow:cache:flush for example) change the owner or group or both simultaneously with, for example www-data instead of "psaserv" and "psacln" in my case. my example : chown -R artetsol:psacln /var/www/vhosts/art-et-sol.com/httpdocs/Neos chown artetsol:psacln /var/www/vhosts/art-et-sol.com/httpdocs/Neos replace "artesol" with your "owner" replace "psacln" with your "user group" replace /var/www/vhosts/art-et-sol.com/httpdocs/Neos with your link. I do not know if it helps, but I can assure you that I have spent many hours to understand what was not working ... and finally find a solution. If it still does not work you can put " chmod -R 777" for folders -----/Neos / Data and ----/Neos / Web, and why not other files also... you can change the rights later . best Regards jean-claude From thierry.brodard at techniconcept.ch Tue Mar 31 06:25:54 2015 From: thierry.brodard at techniconcept.ch (Thierry Brodard) Date: Tue, 31 Mar 2015 06:25:54 +0200 Subject: [Neos] =?utf-8?q?_Default_content_dimension?= Message-ID: Hi, Do we have to define a "default" content dimension for a "one language" website ? If no, in the table typo3_typo3cr_domain_model_nodedimension the field "value" is everywhere to "en_US". If afterwards a new language has to be added, that means that the default language is "en_US" instead of, for example, "fr". Thanks From mail at patriceckhart.com Tue Mar 31 10:09:54 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Tue, 31 Mar 2015 10:09:54 +0200 Subject: [Neos] =?utf-8?q?_CSS_only_in_Backend?= Message-ID: Hey, how can I use a CSS only in "backend mode" I?ve tried this with: my css but it does not work. From dimaip at gmail.com Tue Mar 31 10:19:53 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 31 Mar 2015 08:19:53 +0000 Subject: [Neos] CSS only in Backend In-Reply-To: References: Message-ID: Hey Patric! I do smth like this: ``` prototype(MYTEMPLATE).head.stylesheets.backend = TYPO3.TypoScript:Template { templatePath = 'resource://Sfi.Sfi/Private/Templates/Pages/Utility.html' sectionName = 'backendStylesheets' @process.1=${node.context.workspaceName != 'live' ? value:''} } ``` I guess Fluid condition could work too, but I think TS is better suited for such logic. On Tue, 31 Mar 2015 at 11:10 Patric Eckhart wrote: > Hey, > > how can I use a CSS only in "backend mode" > I?ve tried this with: > > my css > > > but it does not work. > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos From robinmarvel at outlook.com Tue Mar 31 11:36:07 2015 From: robinmarvel at outlook.com (Robin Marvel) Date: Tue, 31 Mar 2015 11:36:07 +0200 Subject: [Neos] =?utf-8?q?_Perfect_Tips_for_Unpacking_in_a_Big_Shift?= Message-ID: Many people regard relocating for packing just. But it is hardly like this at all. Unpacking in shifting is as far important as packing. once you packed your stuff well. And it arrived at location secure still there is a task awaiting for you there which is unpacking. You need to do it properly to ensure that it might not become a tension for you. We will present you with the best tips of unpacking which will avoid your from losing your mind for the duration of that. Begin with unpacking the essentials, or the things which are needed at the instant. Bedroom as well as kitchen have to be the two rooms that are required to be unpacked at the speediest. Firstly create a preparation of the room you might be unpacking at the first and then work appropriately. Have suitable tools in your possession and sufficient space too, where you could place all the packed containers together. Let it the living area, so it could be quick for you to shortlist and keep unpacking properly. Unlike packing unpack big furniture initially to ensure that here space can be utilised to keep packed boxes. Don't undertake it like an encumbrance yet allow it to be a work only. So unpack in installments. Seek help and suggestions of other family members to enable you to get more creative ideas in packing. Bed room needs to be prepared at the very first, so as to take a rest in between. Have refreshments in between the unpacking and entertainment is also a good idea. From mail at patriceckhart.com Tue Mar 31 12:18:02 2015 From: mail at patriceckhart.com (Patric Eckhart) Date: Tue, 31 Mar 2015 12:18:02 +0200 Subject: [Neos] =?utf-8?q?CSS_only_in_Backend?= References: Message-ID: Thank you. I have it resolved this so: frontendJavascripts = TYPO3.TypoScript:Template { templatePath = 'resource://MySite.Website/Private/Templates/Page/Default.html' sectionName = 'frontendJavascripts' @process.1 = ${node.context.workspaceName != 'live' ? '' : value} } backendStylesheets = TYPO3.TypoScript:Template { templatePath = 'resource://MySite.Website/Private/Templates/Page/Default.html' sectionName = 'backendStylesheets' @process.1 = ${node.context.workspaceName != 'live' ? value : ''} } From hitechgeek at gmail.com Tue Mar 31 14:41:27 2015 From: hitechgeek at gmail.com (Joe User) Date: Tue, 31 Mar 2015 14:41:27 +0200 Subject: [Neos] =?utf-8?q?_Noob_info?= Message-ID: Hi there... Are there any how to's for dummies type of thing for Neos? I've spent about an hour trying to make a 2 column's on a page and for the life of me cant figure out how to get them to display horizontal. No matter what I try it displays vertical. Seems like development is moving along on this project, glad to see that! quick question, does package management pull from a repository or is it a manual process? (Cant find anything that says update) Cool software, but confusing as hell for a brain dead noob like me. Thanks.. From book at dizains.lv Tue Mar 31 14:58:41 2015 From: book at dizains.lv (Ardis Markss) Date: Tue, 31 Mar 2015 14:58:41 +0200 Subject: [Neos] =?utf-8?q?=5BANN=5D_TYPO3_Flow_3=2E0=2E0beta1_released?= References: Message-ID: Hi Bastian Did You have any news about Neos new version? Thanks Ardis From dimaip at gmail.com Tue Mar 31 15:07:34 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 31 Mar 2015 13:07:34 +0000 Subject: [Neos] Noob info In-Reply-To: References: Message-ID: Hey Joe! Are you using TYPO3.Neos:NodeTypes package for the grid? If so, then you should probably add some CSS from TYPO3.Twitter.Bootstrap package (or add Bootstrap's CSS manually). See demo site for example. Didn't get your second question about package management though. Do you mean if it's possible to auto-update from inside the Neos interface? -- I don't think so, but simple `composer update` should work just fine... Regards, Dmitri On Tue, 31 Mar 2015 at 15:45 Joe User wrote: > Hi there... > > Are there any how to's for dummies type of thing for Neos? I've spent > about an hour trying to make a 2 column's on a page and for the life of me > cant figure out how to get them to display horizontal. No matter what I try > it displays vertical. > > Seems like development is moving along on this project, glad to see that! > > quick question, does package management pull from a repository or is it a > manual process? (Cant find anything that says update) > > Cool software, but confusing as hell for a brain dead noob like me. > > Thanks.. > > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From hitechgeek at gmail.com Tue Mar 31 15:20:30 2015 From: hitechgeek at gmail.com (Joe User) Date: Tue, 31 Mar 2015 15:20:30 +0200 Subject: [Neos] =?utf-8?q?Noob_info?= References: Message-ID: Hey, Thanks for the reply! As for the CSS stuff, I cant code for the life of me, maybe edit a few things here and there, but cant code... I'm guessing that may limit my use of Neos? I did install the demo, and it looks like its straight forward. I created a new page, added a three column content, added text to each three content collections, but everything display in a horizontal format. So even though I'm using the demo as a guide, I can seem to reproduce what the demo does. Not sure what I'm doing wrong. Yes that was part of the question for the package management, but also if I wanted to add new packages. I haven't had any luck using composer. A bit of a learning curve I guess. From dimaip at gmail.com Tue Mar 31 16:34:11 2015 From: dimaip at gmail.com (Dmitri Pisarev) Date: Tue, 31 Mar 2015 14:34:11 +0000 Subject: [Neos] Noob info In-Reply-To: References: Message-ID: Hey yeah, there are some indusrty-standard things behind Neos (composer, git, etc.), without understanding which it may be quite hard to use Neos to its full potential. And for the Neos stuff itself like html or CSS, Neos won't take care of it instead of you. But don't despair, even though it seems hard, if you want to learn to code, you'll manage it. So to wrap up your issue: you've created a blank site and trying to use the grid, but it doesn't work, as you have no CSS from Twitter Bootstrap, on which the current grid implementation depends. Demo site package works, because it imports the CSS file from Bootstrap: (see Default.html file). So you need to do something like this :) Dmitri. @team: should we try to have handle such usecases, so people without a lot of coding experience could create websites with some pre-defined templates/themes? Or is it a domain of tools like https://typostrap.io/? On Tue, 31 Mar 2015 at 16:25 Joe User wrote: > Hey, Thanks for the reply! > As for the CSS stuff, I cant code for the life of me, maybe edit a few > things here and there, but cant code... I'm guessing that may limit my use > of Neos? > > I did install the demo, and it looks like its straight forward. I created > a new page, added a three column content, added text to each three content > collections, but everything display in a horizontal format. So even though > I'm using the demo as a guide, I can seem to reproduce what the demo does. > Not sure what I'm doing wrong. > > Yes that was part of the question for the package management, but also if > I wanted to add new packages. I haven't had any luck using composer. A bit > of a learning curve I guess. > _______________________________________________ > Neos mailing list > Neos at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos > From typo3mailinglist at webandco.com Tue Mar 31 20:24:33 2015 From: typo3mailinglist at webandco.com (David Spiola) Date: Tue, 31 Mar 2015 20:24:33 +0200 Subject: [Neos] Development Master with new site package Message-ID: Hi everybody, we try to get an dev environment running based on the current master (2.0.0). Our approach is to start from scratch with a new site package. Unfortunately be face doctrine errors in the setup process -> create new site package (even the demo site package does not work): Uncaught exception #1300360480: Error: During import an exception occurred: "An exception occurred while executing 'DELETE FROM typo3_typo3cr_domain_model_nodedimension WHERE nodedata IN ( SELECT persistence_object_identifier FROM typo3_typo3cr_domain_model_nodedata WHERE identifier = :identifier AND workspace = :workspace AND dimensionshash = :dimensionsHash )?: Does someone has the same problems or has an working solution? regards from Vienna, David