- To enable any error reporting to my site when developing my own module i should add in those following commands in my Drupal settings.php. Link.
- Naming convention of the functions of module. It should be written the same as the module name. example "
_ ()". This representation of function names in writing module is refered as hook().
Never ever use dash in naming convention. This applies for function names, filenames and the directory of your module. I did some errors on this during my first attempt of writing my own module. Example is here.- Add in the
- Besides file .module, you should also have .info file. It can be called as modulename.info.
- for clarity purposes, the drupal doc site uses this convention in their explanation throughout the site
- Add in the
All about the children. It is merely a free flow of thoughts that require no plan of putting it together to make a nice story. This site is never intended to be read by other people nor does it plan to get any followers.
Wednesday, March 14, 2012
Some handy notes when Getting Started
I must write this down or else i would forget this steps and keynotes.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment