Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

17478 Posts in 4473 Topics by 1972 members

Archive

SilverStripe Forums » Archive » Starting module development

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

Page: 1
Go to End
Author Topic: Starting module development 428 Views
  • kiwifellows
    avatar
    Community Member
    10 posts

    Starting module development Link to this post

    Hi,

    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:
    -_config.php
    -code (how do the php files work in this folder?)
    -css (how do these get included in the cms/content output)
    -images
    -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.

    cheers

  • Willr
    avatar
    Moderator
    2741 posts

    Re: Starting module development Link to this post

    this is a very brief documentation page - http://doc.silverstripe.com/doku.php?id=creating-modules

    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

    428 Views
Page: 1
Go to Top

Currently Online: timwjohn

Welcome to our latest member: GreenWork

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.