tmsdev / tms.select Goto Github PK
View Code? Open in Web Editor NEWSelect nodes instead of searching via reference editor in Neos CMS.
License: MIT License
Select nodes instead of searching via reference editor in Neos CMS.
License: MIT License
If no startingPoint
is set, the RootNode /sites
is used as startingPoint.
This leads to unwanted effects in a multi-site setup as linking and refernces always use the actual site as startingPoint.
I can't find a way to set the startingPoint
to the currently active site.
Changing the RootNode to the actual site would fix the issue: https://github.com/tmsdev/Tms.Select/blob/master/Classes/DataSource/NodeDataDataSource.php#L103
@jobee we already discussed this in Slack โ๏ธ
An option to hide the current Node would be awesome.
For example we have a Document.News where you can add others Document.News as related News.
Here i'd like to hide the current Document so no relations to the current Node are possible.
@jobee
Support for type: references would be awesome
I'd love to use GroupBy a Property.
groupBy: 'Your.Package:GroupType' # If it's just a parent nodetype
groupByPropertyName: 'category' # In addition to `groupBy`, if you'd like to group by a reference field
If only groupByPropertyName is set, it will group the Nodes only by Property maybe?
as discussed @jobee
It would help a lot if you could provide an example of how to use the groupBy
option.
BTW: An awesome package!
dataSourceAdditionalData:
nodeTypes: [ 'Your.Package:Mixin.Something' ]
Looks like Tms.Select does not respect dimensions.
With the classic references i can only see and select Nodes which exist in the current Dimension - makes sense.
After switching to Tms.Select I can see and select Nodes which do not exist in this Dimension.
Even the Titles do not get translated.
So it looks like the "default dimensions" are used @jobee?
If you filter by keyword and add a Node, the filter remains active and can't be removed.
Lets assume we have the following Elements available
How to reproduce:
The idea of this Issue is to have a property of the "references" type and allowing a singular choice (multiple: false|null).
To facilitate switching between singular and multiple selection afterwards.
Current Problem: Within a nodeType, when type is set to type: references
and it is not multiple: true
, when selecting a single entry, it doesn't apply the changes.
I will provide a snippet, if anything is unclear or needs more details, please let me know.
Thanks for the hard work and any further support is much appreciated.
categories:
type: references
ui:
label: News Category
inspector:
group: newssettings
editor: 'Neos.Neos/Inspector/Editors/SelectBoxEditor'
editorOptions:
dataSourceIdentifier: 'tms-select-nodedata'
dataSourceDisableCaching: true
#multiple: true
dataSourceAdditionalData:
nodeTypes: ['Foo.Bar:Tag.Category']
#startingPoint: /sites
It can happen that a label has a
in it. This should be removed or replaced.
By default, the Flow query will sort the results by index (position in nodetree).
We need at least two more arguments to make sorting work.
dataSourceAdditionalData:
sortByProperty: 'title'
sortOrder: 'ASC'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.