What is the best way to extend list of steerCMSCoreNode types?

1 view
Skip to first unread message

mr.scoff

unread,
Mar 16, 2008, 11:48:49 PM3/16/08
to Steer CMS Users
Hello

I've been playing a little with Steer and I really like that i'ts
built with symfony so you don't have to dive in yet another framework/
api etc.

Now to the question.

I just want to create/manage some new node type(s) using a single site
tree and create/publish workflow.

Currenlty steerCMSCoreNode can be of one of several hardcoded types
that act as containers or items. I need a new item type, say,
"product", that can hold extended information itself (as a quick hack,
that cold be done using "properties" I guess, for example: color,
price) and have a number of related records of more complex type (not
just name/value). This new item type should have its own create/edit
interface and i't's own list/show templates.

Any thoughts?

Piers Warmers

unread,
Mar 17, 2008, 1:31:16 AM3/17/08
to steercm...@googlegroups.com

Hi there,

Ooo, where to start.

Well let me give you a heads up on this - the nodes system with nested
structure and publishing workflow are one of the areas which will be
update in the very near future... hopefully within the next few days.

What you have found is one of the points I dislike... it's overly
complex and difficult to extend... thus the new change.

The updated model is now in testing, i.e. I'm working on it madly over
tonight and tomorrow.

For a preview:

http://www.steercms-project.org/trac/steercms/browser/plugins/steerCMSContentPlugin/trunk/lib/model/steerCMSContent.php

It's much simpler than its predecessor.

While this new object still has some preset types, it will be much
easier to extend with custom classes.

If you have a moment to take a browse over it, you might like to take
a look at this very early version. It's whole purpose is aimed to be
more open to what you are trying to do.

- Piers

mr.scoff

unread,
Mar 17, 2008, 2:33:57 AM3/17/08
to Steer CMS Users
Not that I can understand too much in this amount of code right now,
but I'll try...
Great news anyway, thank you and good luck!
:)

On Mar 17, 3:31 pm, Piers Warmers <pi...@wranglers.com.au> wrote:
> Hi there,
>
> Ooo, where to start.
>
> Well let me give you a heads up on this - the nodes system with nested
> structure and publishing workflow are one of the areas which will be
> update in the very near future... hopefully within the next few days.
>
> What you have found is one of the points I dislike... it's overly
> complex and difficult to extend... thus the new change.
>
> The updated model is now in testing, i.e. I'm working on it madly over
> tonight and tomorrow.
>
> For a preview:
>
> http://www.steercms-project.org/trac/steercms/browser/plugins/steerCM...
Reply all
Reply to author
Forward
0 new messages