modxcms / collections Goto Github PK
View Code? Open in Web Editor NEWAn Extra for MODX Revolution that provides for Resource Collections managed by CollectionContainer Resources
License: GNU General Public License v2.0
An Extra for MODX Revolution that provides for Resource Collections managed by CollectionContainer Resources
License: GNU General Public License v2.0
Filter/search in grid by tags, whether TV or maybe some other thing?:P
What if each Collection Container had the ability to set whether or not it's resources should show in the tree. Yes that seems like what is the point...but you could base that setting off a user setting. So that certain collections, for certain users, actually show their children in the tree. This way, if a user or user group (2.3) prefers the ability to drag and drop in the tree for certain collections, they can make that happen.
Is there a way to configure the grid view? e.g. to change the columns and representation of column content?
It would be great to have this configurable at least on system level (for all collection containers). Even better on container lever, to define different "views" for different containers...
Drag from Collection to Tree is amazing! What about the reverse?
Note: there is a lot of dragging with this thing now LOL. Hopefully we can keep the code sane and Manager fast...if not maybe we shouldn't add this feature?
When updating a Collections Template item, the Tree does not load. The Tree tabs show, and clicking on one of them loads that tree.
Revo 2.3.1
Collections 2.0.2-pl
Firefox 31.0
OK in Safari and Chrome
We'd talked about this for "future" versions but it turns out we'll need it sooner than later...possible?
This will prevent displaying arrow before the Collection node in Resource tree when it has only Resource children (that are all hidden under children's tab).
Running version 2.2.14
The menu items under bulk actions are not translated into German. All other grid labels seem to be ok.
Published selected = Auswahl veröffentlichen
Unpublish selected = Auswahl zurückziehen
Delete selected = Auswahl löschen
Undelete selected = Auswahl wiederherstellen
Regards,
pepebe
It would be a nice feature to have an option to completely remove a 'deleted' child and its intersects (TV values, resource groups, etc) from the database.
This could take the form of a new "purge" or "remove" button that is displayed if the child is already 'deleted'.
On each manager request I got the following logged to the error log:
[2014-05-22 16:38:23](ERROR @ /manager/index.php) Could not load class: Tagger from tagger.
[2014-05-22 16:38:23](ERROR @ /manager/index.php) Problem getting service tagger, instance of class Tagger, from path /home/radiober/modx/core/components/tagger/model/tagger/
this is quite annoying =)...I think it should just check if the Tagger extra is installed and if not skip "tagger" functionality...skipped trough the source and it seems to set a config variable "taggerInstalled", but couldn't find where it's checking that...obviously disabling the plugin stops the log swamping, but not really a solution...
If you change a child resources parent, from one collection parent to another the resources will be shown in the tree even if the new parent is a collection type as well.
did we have this in another issue? I think this is forthcoming already yes?
The purpose of the Collection Templates is a little confusing. It's not for the templates the resources will be assigned to use, it's for the Collection's editing form. This could be described better in the CMP.
When moving resources into a collection resource, the old parent get's changed into a collection type as well.
See this video for example http://www.screencast.com/t/pmsf1Y7wb
I would like to see in future versions of this add-on:
in Grid view if the document is a Collections class, you can view the child document, or create new child in them.
This will give multi-level system, while maintaining the Grid view type
How can one recover deleted resources?
Not sure what is going on but on sites with VersionX installed on MODX 2.3, Collections grid is failing to load. I tested it with a clean modxcloud install of MODX 2.3-pl, Collections 2.0.1-pl and VersionX 2.1.0-pl to make sure it wasn't just my site.
I'm testing Collections 1.3.2 with MODX 2.3 and most things seem to work just fine, except the container grid doesn't show children. I can confirm that those resources are indeed created and searchable and they have the correct parent setting as well.
It'd be nice to see this issue resolved before MODX 2.3 is released.
Boogs hypothesizes it's because hide_in_tree is flagged
collections.children.none = This resource don't have any children.
It would be very useful if you could drag & drop a item from the list into another parent.
After a fresh install of Collections into a site with four contexts I get an error
Procesor "resource/update" nenalezen.
(Processor "resource/update" not found. in English)
when trying to update the collection. It's creation is fine though. Could the problem be in multiple contexts?
Your extra seems to be a great idea. Something along the line of "Handling Child Resources with MIGX" but easier to setup.
Unfortunately I'm not able to make it work.
I have installed your extension, created a few resources and moved some of them into each other.
From the screenshot I believe there should be a new tab with a grid showing the child resources but it isn't there.
I've checked the collectors plugin and it is activated,
4 Events are checked:
There doesn't seem to be a settting in the settings manager that could cause this problem.
I also logged out/in and deleted core/cache as well as my browser cache.
My site is hosted on modxcloud.
The version is MODX 2.2.10
I use the latest version of Google Chrome
There are no JS errors shown in the console.
I'm sure it is a stupid mistake on my side. Any advice?
pepebe
When choosing for Resource information in context menu on container in tree resulting in following error:
Fatal error: require_once() [function.require]: Failed opening required '/xxxxxxxxxxxx/core/components/collections/controllers/data.class.php' (include_path='.:/usr/share/pear;') in /xxxxxxxxxxxx/manager/controllers/default/resource/resource.class.php on line 79
It occurs on several installations using MODX 2.3.1.
The file data.class.php is really missing in called directory.
I've found a flexible way to add an optional thumbnail to every grid row that can be easily customized, but I still have a couple of issues:
/* source: assets/components/collections/js/mgr/widgets/category/collections.grid.resources.js
*/
this.tplThumbnail = new Ext.XTemplate('<tpl for=".">'
+'<div class="collections-thumbnail">'
/* !empty(thumbnail)... */
+' <img src="/connectors/system/phpthumb.php?h=80&w=80&zc=1&source={source}&wctx=mgr&src={thumbnail}" alt="{thumbnail}">'
/* /!emtpy(thumbnail)... */
+'</div>'
+'</tpl>',{
compiled: true
});
If somebody is in the mood to help, I'll send some login details to my test environment.
I'll post a pull request if I'm able to get rid of these problems.
Regards,
pepebe
The resources pagetitle is clickable, but when I do that I get redirected to the dashboard instead of the edit page for the resource, the link is like this:
http://www.domain.tld/manager/?a=resource/update&action=post/update&id=1086
a click on the edit button results in a link like this
http://www.domain.tld/manager/?a=30&id=1086
this happens in 2.2.x
How to convert a previously created folder
I think this is really cool. Was just wondering if you had plans to clean up the UI at all? I never understood why Articles had such a massive Published On and Title Text.
Ideally it should be a nice clean grid like Expression Engine uses for it's Channels: http://i.stack.imgur.com/1TrJS.png
or how Craft CMS displays Channels.
And are you planning pagination and search too?
To accept friendly date string format like "May 2"
Attempting to update a Collection resource produces the "Processor not found: update" error message.
createdby:userinfo=fullname
and modifiedby:userinfo=fullname
Possible?
Version 2.0.2-pl installed, Update button highlighted. It produces this error message:
An error occurred while connecting to the Provider: No Package release found.
After installing Collections 2.0.2, the following error is being logged every time the manager page refreshes:
(ERROR @ /manager/index.php) [OnManagerPageInit]1
This happens in MODX 2.3.0 and 2.3.1, and doesn't matter whether or not a resource of the type "Collection" currently exists.
The Publish and Unpublish buttons affect the wrong resources. I still haven't determined the pattern, but it appears that the first click will unpublish the first child, a second click will unpublish the second resource, etc until finally it will unpublish itself.
The publish button works in the opposite direction. Top resource published first, then down the line until it publishes itself.
How to specify the parent alias in url
Now
site.com/1
needed
site.com/news/1
create resource fine, but after editing and save he show in tree
version 1.10
Add ability to import/export collection's templates
show_in_tree defaults to 1 on other Resource Types that are meant to be hidden children. Even after saving, it reverts back to being checked. This runs into conflicts with other types of containers (e.g. miniShop2) making it impossible to hide anything else in the tree.
I have tried this on two different 2.3 installations - one running June 14th Nighly and another running June 24th nightly.
All CMS seems to be running as expected, however when I add a new collection the tree icon never gets changed from either a standard 'page' or 'folder' icon (depending on if it has children or not). If I go to edit the Collection parent I can see the grid but none of the children show. I cannot get to these pages unless I change the document class from "collection" back to "document".
I think there is something wrong with how the pagination is calculated. I do not see all of my documents when set to view the first 20. It says it is displaying 1-4 of 6. I try view 10, I get 1-2 of 6. When I increase the items per page to 200 I get all six. There is a large gap between my resource ids.
UPDATE: It happens when I try to add a tv_variable column. The mapping seems to be off and I get different TV values other than the one I specify.
Children aren't showing up in Revo 2.3.1, using Collections 2.1.0
Works as expected in Revo 2.2.15
In 2.3.1 error log:
[2014-07-28 02:05:50](ERROR @ /assets/components/collections/connector.php) Error 42S22 executing statement:
Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'CollectionTemplate.child_template' in 'field list'
)
[2014-07-28 02:05:50](ERROR @ /assets/components/collections/connector.php) Error 42000 executing statement:
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
)
Hi there,
just a simple "demand" ;-) by ANY customer using Collections:
"Could we place have more space for the title of a resource?"
I absolutely get what they mean: The colums for "menu index" and "alias" are so huge compared to their content.
Just saying. ;-)
Thanks for the tool anyway. It'a a great assets!
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.