Data management

Permalink
Hi all.

let me start by saying how much I'm enjoying C5.
It's really a different kind of CMS.

Right now, the only thing that I'm missing is the ability of create databases inside of the back-office, like this module does on my old cms:
http://web.casa-loca.com/index.php?example_auto-template...

Basically I would like to know if there's some sort of module that would allow me to create categories with a certain number of filed on each other were a web site admin could add / remove / modify items and they would simply appear on that category list.

If anyone knows of a way of doing this, I would really appreciate some info.

Thank you so much.
Pedro Fardilha

Fardilha
 
Remo replied on at Permalink Reply
Remo
I've got the same problem I guess..

Right now I'm just creating a custom block for every "table" I'd like to manage. The first one took a while but it's actually quite easy in the meanwhile.

But I agree, it would be nice have a flexible way to manage table(s).

We've got some papers in our office about how to solve this problem (they're written in german) and it's possible that we build a big block for this but this will have to wait a few months I guess..

I'll be out of the office for a few days but I could probably post you the block I've built for one project. As I said, it's specific for a customer but it might give you an idea about how you could solve this problem. But you definitely need some php skill to modify the block right now!
Fardilha replied on at Permalink Reply
Fardilha
Hi Remo.

Thank you for your nice (and quick) answer.
If you don't mind posting that initial block, I would love taking a look at it.
Quite probably I won't be able to make it usable for me, but at least I'll learn some more how c5 works.

Thanks
Pedro
Remo replied on at Permalink Reply 1 Attachment
Remo
Hey Pedro,

I've attached the current block. But please keep in mind that this is not finished code! I haven't tested it yet, the project is not finished yet!

There are a couple of labels written in German but that shouldn't be a problem.

The form.php has a little redundancy which I did intentionally. Unfortunately it is not longer required - I'll probably remove it later..

(The block is not meant to be published, it's just to give you a rough idea how you could build something like it)
Remo replied on at Permalink Reply
Remo
I've got the same problem I guess..

Right now I'm just creating a custom block for every "table" I'd like to manage. The first one took a while but it's actually quite easy in the meanwhile.

But I agree, it would be nice have a flexible way to manage table(s).

We've got some papers in our office about how to solve this problem (they're written in german) and it's possible that we build a big block for this but this will have to wait a few months I guess..

I'll be out of the office for
jgarcia replied on at Permalink Reply
jgarcia
I used to do a lot of work with DotNetNuke (using it, that is...not development...I'm not a dotnet guy), and there was one module that I absolutely loved and used all the time called Xmod. You can read about it athttp://www.dnndev.com It's a bit hard to explain but here's how it worked...

First you have a custom form that is used to keep track of the data you are entering. Then, there are two "views": a list view and a detail view. Both of these are just HTML templates with placeholders for where the field values go. The only difference between the two is that list shows multiple items (repeated template for each item) and detail shows a single item.

There were lots of other functions built in as well, such filtering, searching and other things.

All that to say, I'd like to do something like this for C5. Did make explanation make sense and does that sound like something people would be interested in?
Remo replied on at Permalink Reply
Remo
I started writing a block like that a while ago but had to find a quicker way.

The custom form in my case was a page with page attributes. I wanted to keep my data linked to the pages because displaying sub pages might quickly become a must. Having a block that shows the overview and the detail isn't very flexible.

Well, it's what the block which I've posted above does. But that's not dynamic at all.. Having something more dynamic would be great but I think it's not only about tables and rows, but rather about pages and sub pages.. Basically like the "discussion" package!
plant replied on at Permalink Reply
plant
I also have been looking for something with this list/detail view display. It has been suggested to use pages for this kind of functionality which seems to make sense in many instances. However I would still like to create some sort of "repeater" block that would allow you to define a table to use and easily add more than one row to a block rather than a new block for every row. Does that make sense? Anyone working on something similar?

I did look at Remo's block but I am bit lost on how it works? Is it runnable as is? I mean can I install it and try it out?