Comments (11)
This will be available in next version of MODX, because there is no way to get it working in current version...
from collections.
doh, there isn't?? I just tried that...setting the attribute "hide_children_in_tree" of the CollectionsContainer resource indeed hides the arrow... (this is not set "normally" though, e.g that attribute has value of 0, also when its a Collection)...I guess there's something that was a problem when doing so?
I just saw 3 different editors clicking on that arrow...that's why it seems to be an issue for me...
from collections.
The problem is, that when you set this property, you will not be able to drag and drop resource in collections....
from collections.
shit...yap...any possibility to hide that arrow via css??
from collections.
hmm, probably you can try it based on the collections (not sure how it's named in real, LOL) class that it has because of the collecions icon.
from collections.
This works for me in MODX 2.3.2 to hide those triangles via css:
[ext\:tree-node-id="web_269"] > i.x-tree-ec-icon.x-tree-elbow-plus {
visibility: hidden;
}
where tree-node-id is "context" + "_" + "resource id".
from collections.
If you'll have nested collections, or folder under collections, it will not work properly
from collections.
That's true. This is just a dirty fix for the case as described by exside. I currently have this situation, too, where there's nothing nested but the editors always click on the triangle.
from collections.
-
Shouldn't
modResource
s have theshow_in_tree
flag set to0
? -
Shouldn't MODX recognize if all children have the
show_in_tree
flag set to 0 and don't show the little arrow?
from collections.
ad 1) resources under Collections have that flag set to 0
ad 2) yes it should :)
from collections.
Oops, (1) was a bug in Gitify (which is now fixed) :)
from collections.
Related Issues (20)
- Error while loading resource tree MODX 3 HOT 4
- Collections 4.0.0-alpha : Old class_key CollectionContainer is not changed HOT 3
- After the change of parent, the resource disappears, show_in_tree property = 0 HOT 1
- Collections 4 beta: Default template is not created HOT 4
- Collections 4 / MODX3: add option to use the template picker for creating a new child HOT 1
- [ Collections 4.0.0-beta2 / MODX 3.0.0-rc2 ] Collection Views manager page needs margin or padding HOT 1
- [ Collections 4.0.0-beta2 / MODX 3.0.0-rc2 ] xPDO error logged for uncapitalized Model dir HOT 1
- Modx3 Collection - Collumns table missing and unable to save on Add View HOT 4
- Collections 3.7.1 missing show_quick_create HOT 1
- Unlinking a resource in a selection list doesn't immediately remove it from the on-screen list.
- Quick Edit not working for collection children in v4 beta HOT 1
- MODX 3.0.0 Custom Property Sets do not display
- Unable to create a new Collections View HOT 3
- Modx3 Collection and Fred
- Collection. Columns. Remove duplicate [[id]] column check HOT 1
- Modx 3.0.3 Collections 4, error in Collections setting contentType
- Collections 4 not setting namespaced class_key correctly
- Quick update link not working in MODX 3.0.3 / Collections 4.0.0 (Works with MODX 2.6.5) HOT 2
- Undefined array key "getResourcesSnippet" HOT 1
- Combo box field type doesn't work in MODX 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collections.