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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

My moule


Reply


4 Posts   1226 Views

Avatar
Kasutajanimi

Community Member, 15 Posts

29 August 2009 at 8:26am

I'd like to know how to link my own module to the CMS.
I've read the manual, but I didn't understand completely... Please, help ))

Avatar
Martijn

Community Member, 271 Posts

29 August 2009 at 8:32am

You can add a module folder to the root of your site, which contains a _config.php in the module folder.
The _config.php file will let SS knows the folder contains a module.

Avatar
Kasutajanimi

Community Member, 15 Posts

29 August 2009 at 9:53pm

I've already done it exactly, but id doesn't work!
What should I wtite in _config.php to create the link to my module from the CMS Main Page?
I've tried to access my module by the URL: htttp://my-site.com/mymodulefoldername, but it also doesn't work (error 404).

Avatar
Martijn

Community Member, 271 Posts

30 August 2009 at 1:12pm

It doesn't work that way.

I suggest you do some tutorials and read some documentation first about how SS and Sapphire handle things.

Some reading/watching stuff:

Extending pagetypes:
http://doc.silverstripe.com/doku.php?id=tutorials&s=extending

Extending cms/leftandmain
http://doc.silverstripe.com/doku.php?id=private:tutorial:creating-a-module
http://silverstripe.org/making-a-crm-with-modeladmin-in-silverstripe-230/

Introduction DOM
http://www.youtube.com/watch?v=E1msUj9CwRg

Good luck!