-
- 615 Posts
Quote from: gerritvanaaken at Oct 08, 2010, 07:17 AM
Any plans to convert this handy ressource overview table/manager to Revolution? Would _love_ to use it for blogs and events sections on several client’s websites!
Same here.
I think, thererfor I am! But what I am, and why...?
-
- 24,544 Posts
Why not organize the news items into subfolders representing the month or week or some other information?
Quote from: tan1772 at Nov 23, 2009, 09:34 PM
that would require me to create folders automatically based on some attributes of the resources. I am sure MODx has the capibility of doing it but I haven’t learned it yet :-(
One main reason for me to ask the question is that this would be common problem for any site with a sizable amount of contents. I wanted to find out the "right" way to do it in MODx, or if there is already something built-in that I missed..
Thanks for the reply!
That’s really pretty easy in MODx if you have the coding skills. It’s just a matter of writing a plugin tied to a system event that fires when a document is about to be saved. The plugin would check the date and set the ’parent’ field of the document accordingly (creating the Folder if necessary).
That said, with that many documents, you should really be storing the data in a custom DB table as mentioned earlier. Using a separate document for each post carries a ton of overhead that you don’t really need or use. You might also check out the PubKitBlog add-on if you’re using Evolution.
-
- 195 Posts
Might I make a suggestion - you might want to take a look at jquery-based datatables.net for the container. Sorting and sifting through stories will be made easier for both the programmer and the user.
I should think that a plugin could take care of that.