Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
Developing for Drupal

Developing for Drupal

Ratings: (0)|Views: 86|Likes:
Published by Vernancius Emeka

More info:

Published by: Vernancius Emeka on Aug 19, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

04/29/2014

pdf

text

original

 
Table of Contents
................. 1Developing for Drupal ................ 2Contributing to Drupal ................ 2Types of Contributions ................... 3Task list .................. 3Bug reports ............. 3How to report bugs effectively ................ 10Feature suggestions ................... 10Patches ................. 10Diff and patch ................ 12Diff on Windows .............. 13Patching with Cygwin .............. 14Gnuwin32 diff and patch ............... 14Patch on Windows ........... 15Using Cygwin to patch in Windows ...... 16HOWTO: Set up a test environment to help review patches ............. 18Creating and submitting patches .............. 19Tips for reviewing patches ............... 19General guidelines ................ 20Reviewing process .............. 20Authoring a patch review ................ 20Severity levels of bugs ................ 21The revision process ........... 22Criteria for evaluating proposed changes ............ 22Maintaining a project on drupal.org .............. 23Downloads and packaging ................ 23Managing releases ................ 23Orphaned projects ............. 24Tips for contributing to the core ................. 24List of maintainers ................... 26Mailing lists ................... 26Support .................. 26Development ................... 26Themes ................. 26Documentation .................. 26Translations ................... 26Consulting .................. 27CVS commits .................. 27Infrastructure .................. 27DrupalCON ................... 27Subscribe ............... 27Mailing of project issues ................. 28Coding standards ............... 28Drupal Coding Standards ................... 28Indenting
i
Drupal Handbook25 Aug 2006
 
.................. 28Control Structures ................... 29Function Calls ................. 29Function Declarations ..................... 29Arrays .................... 30Comments ................... 30Including Code ................... 30PHP Code Tags ................ 31Header Comment Blocks .................... 31Using CVS ................... 31Example URLs ................. 31Naming Conventions ................. 31Functions and Methods .................... 32Constants ................... 32Global Variables .................... 32Filenames ............... 32Doxygen formatting conventions .................. 34Configuring vim .................... 34Identation ................. 34Syntax highlighting ............. 35Using these settings only with drupal .................... 35Indenting ................... 35PHP Code tags ................ 36SQL naming conventions ................. 37String concatenations .................... 37Use of icons ............... 37Write E_ALL compliant code ................. 37Introductionary notice ................ 37E_ALL: a better practice ......... 38Common coding mistakes and new coding practice ........ 381- Use of 
................ 39Testing for error notices .................... 39Functions .................... 40Constants .................. 40Control structures ................. 40Header comment blocks ...................... 42CVS ................... 42CVS concepts .............. 43Using CVS with branches and tags ................... 44Windows ................. 45Available Branches .............. 45Apply for contributions CVS access ................. 45CVS GUIs and clients ............... 45Cross-platform CVS clients ................. 45Eclipse CVS plug-in ......... 45Checkout Drupal CVS into the Eclipse Workspace ............ 46Installing Eclipse with PHP Support .......... 46Checkout Drupal in your Eclipse Workspace
ii
25 Aug 2006Drupal Handbook
 
...............47CVS front ends for Windows ...................47SmartCVS ..................47TortoiseCVS ...................48WinCVS ................48Adding a new project ............49Checking out a project using WinCVS ..................49CVS on Mac OS X ...............49CVL: point and click CVS ..............50Setting up/step by step CVS ................51Basic CVS with CVL ................52Preparing a project ................52Committing a project .................53Drupal CVS repositories ..................53Main repository ................54Contributions repository ...........55Promoting a project to be an official release ..........56Adding/modifying a file to the CVS repository ....................56Adding ...................57Modifying ...............57Demoting an official release ..............57Tracking Drupal source with CVS ...................57Example ................58Managing contributions ...............61Updating the vendor branch ...................62Summary ................62Additional resources ...............62Sandbox maintenance rules ..........63Commit messages--providing history and credit ...................63Give details .........63Provide a link to the drupal.org issue, if available ...................63Give credit ...................63Example .................64Additional references ....................65Drupal’s APIs ....................65Forms API ...............67Forms API Quickstart Guide .................67Forms API reference .............67Multipage forms with the Forms API ......67Why can’t I make multipage forms with what I already know? ...............68A Fully Working Example ..................69Tips and Tricks .................69#tree and #parents ........71Adding a custom element type & expanding elements ........73Adding and theming additional fields to a node form .............74Creating an array of form elements .........75Creating fieldsets outside forms with minimal code ...............75Creating multi-part forms
iii
Drupal Handbook25 Aug 2006

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
bharath_mv7 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->