CVS edit link for tbp

I want to create a project page for a module that enable i18n support for Organic Groups.
CommentFileSizeAuthor
#1 og_i18n.zip1.11 KBtbp

Comments

tbp’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.11 KB
avpaderno’s picture

Status: Needs review » Needs work
Issue tags: +Module review

Hello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review the code, pointing out what it needs to be changed.

As per requirements, the motivation message should be expanded to contain more features of the proposed project. For themes, it should include also a screenshot of the theme, and (when possible) a link to a working demo site using the proposed theme; for modules, it should include also a comparison with the existing solutions.

What is the difference between the proposed module, and http://drupal.org/project/og_translate?

tbp’s picture

ok, some more Informations:

Normaly, OG creates a seperate Group for a translation because it's based on nodes and not on translation sets.
The Modul add the user to all "translation"-groups or remove on leave. The group settings like public/private and so on are synced over the i18nsync-Hook. So it synchronize all groups of a translation set.

avpaderno’s picture

Status: Needs work » Needs review

Thank you for your reply.

avpaderno’s picture

Status: Needs review » Needs work
  • The points reported in this review are not in order of importance / relevance.
  • Most of the times I report the code that present an issue. In such cases, the same error can be present in other parts of the code; the fact I don't report the same issue more than once doesn't mean the same issue is not present in different places.
  • Not all the reported points are application blockers; some of the points I report are simple suggestions to who applies for a CVS account. For a list of what is considered a blocker for the application approval, see CVS applications review, what to expect. Keep in mind the list is still under construction, and can be changed to adapt it to what has been found out during code review, or to make the list clearer to who applies for a CVS account.
  1. See http://drupal.org/coding-standards to understand how a module should be written. In particular, see how the code should be formatted.
  2.  /*
     * Implements the i18sync hook
     * Activate Fields in contenttype Synconization
     */
    
    

    Synconization?

    Hook implementation comments should be like the following one:

    /**
     * Implements hook_menu().
     */
    

    As reported in Documenting hook implementations:

    If the implementation of a hook is rather standard and does not require more explanation than the hook reference provides, a shorthand documentation form may be used in place of the full function documentation block described above:

    /**
     * Implements hook_help().
     */
    function blog_help($section) {
      // ...
    }
    

    This generates a link to the hook reference, reminds the developer that this is a hook implementation, and avoids having to document parameters and return values that are the same for every implementation of the hook. Optionally, you can add more information in a separate paragraph to describe the particular quirks of your hook implementation.

    In the case of hooks that have variables in the names, such as hook_form_FORM_ID_alter(), a slightly expanded syntax should be used:

    /**
     * Implements hook_form_FORM_ID_alter() for node_type_form().
     */
    function mymodule_form_node_type_form_alter(&$form, &$form_state) {
      // ...
    }
    

    This generates a link to the hook reference, as well as to the particular form that is being altered. Again, optionally you can add more information in a separate paragraph to describe the particular quirks of your hook implementation.

avpaderno’s picture

Component: Miscellaneous » new project application
Status: Needs work » Closed (won't fix)

I am closing this application due to lack of activity.

avpaderno’s picture

Issue summary: View changes

Please read the following links as this is very important information about CVS applications.