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 ))
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
My moule
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.
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).
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!