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:

Archive /

Our old forums are still available as a read-only archive.

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

Starting module development

Go to End

2 Posts   1645 Views


Community Member, 10 Posts

17 September 2008 at 9:11am


Could someone give me a quick intro to what is needed to start a simple module? I have looked at some of the other modules developed and can see generally there are the following files/folders:
-code (how do the php files work in this folder?)
-css (how do these get included in the cms/content output)
-javascript (how is the javascript called?)
-templates (I take it these are the templates for display to website visitor??)

looking forward to some help and maybe a pointer / base module template/file & folder structure.



Forum Moderator, 5523 Posts

17 September 2008 at 12:21pm

this is a very brief documentation page -

You are correct in your format as it stands! The Code is automatically found by SilverStripe and same with the templates! all you need to do is make sure you have that _config.php file. If you don't have any config settings for it then you still need that file with <?php ?> at least in it

If you have any more questions feel free to ask :) What is it that you are going to develop? out of interest