Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Combined module CMS functionailty


Go to End


2 Posts   1280 Views

Avatar
Terminator4

Community Member, 81 Posts

12 January 2009 at 2:17am

Hi.
I would like to know how the following scenario would be achievable. I would like to create module, combine the site content functionality and dataobject relationship functions (also, include language translations, if possible).

URL references:
- Create a module (http://doc.silverstripe.com/doku.php?id=private:tutorial:creating-a-module)
- Dataobject Relationship (http://doc.silverstripe.com/doku.php?id=tutorial:5-dataobject-relationship-management)

In essence, [Q1] how would I be able to extract the basic functionality of the site content like the default fields such as the Title, Navigation Label and Meta Information and use it in combination with a custom module created on the CMS? In addition, for language translation abilities, [Q2] how would I go about implementing it for the Dataobject Relationship such as for a Complex Table or Many Many Complex Table.

Thanks

Avatar
Ingo

Forum Moderator, 801 Posts

25 January 2009 at 8:47pm

The new ModelAdmin controller (coming up in our 2.3 release) might be what you're looking for? http://doc.silverstripe.com/doku.php?id=modeladmin

It doesn't support translations yet, though, although that shouldn't be too hard to implement once the Translatable datamodel changes find their way into a release. Help appreciated ;)