Documentation
Documentation
1- <settings> element
Description:
                   This element contains general group settings.
Sub elements:
                   <defaultmodule>,<template>,<moderation> and <subscription>

1.1 - <defaultmodule> element
Description:
                   Group default module.
Example:
                   <defaultmodule>blogs</defaultmodule>

1.2 - <template> element
Description:
                   This element contains your template settings. It has one attribute which is name type.
Example:
                   <template type="custom">templatepath</template>
Notes:
                   If your group is using a custom template,  attribute value should be custom. However, if you use a standart template, attribute value is your template name. (nautica,simplex_black... )
        
1.3 - <subscription> element
Description:
                   This element contains your subscription settings.
 Example:
                   <subscription enabled="false" />
Notes:
                   Whether your group subscription is open or not.
   
1.4 - <moderation> element
Description:
            This element contains your group's role settings
Example:
            <moderation>                      
                           <write type="custom" moderation="true">
               
                <role id="roleid">![CDATA["roletitle"]]</role>
                <role id="roleid">![CDATA["roletitle"]]</role>
                          
            </write>
                   </moderation> 
Notes:    
            If you describe any role, moderation attribute value must be true.



2 - <module>
This element contain your module settings.It has two attribute (type, id) and five sub elements(<moderation>, <activityrank>,<features>,<title>,<blocks>). type attribute value is module type (blog, map...) and id attribute value is module id (blogs, maps...).

2.1 - <moderation>
                     This element contain two sub elements. (<read>,<write>)
   
                   2.1.1 - <read>
                   This element contains read permissions. If anyone is allowed to read content, attribute value is anyone. If only member can read, attribute value is member.  

                   2.1.2 - <write>
                   This element contains member write permission and moderation attribute value can be boolen(true/false).

    Example:
    <module type="blog" id="blogs">
              
               <moderation>
                       <read type="anyone" />
                       <write type="member" moderation="true" />
               </moderation>
   
2.2. - <activityrank>
        This element contain one sub element.(<per-write>)
   
    2.2.1 - <per-write>
        This elements contain 2 attributes; activity and point. Activity attribute contain a special  name for  module. For example if we are working on blogs module, the attribute value can be blogs_add_entry and blogs_add_blog_rss.
        Point attribute contain point for activity.
     Example:

           <activityrank>
            <per-write activity="blogs_add_entry" point="1" />
            <per-write activity="blogs_add_blog_rss" point="1" />
           </activityrank>

2.3 - <features>
sub element.(<allow-modulpropertiesname>)
    <allow-> element
        This element contains module properties. For instance, the blogs module we can use external_entries and shorten_entries. Type attribute value can be boolean.(true/false)      
<title> element
    This element contain title of module name.
   
    Example:
        <title><![CDATA[“Blogs”]]></title>

2.4 - <blocks>
           This element contains two sub elements.(<vote>,<extrablock>)
   
    <vote> element
    This element contains voting block weight.
   
    Example
    <vote weight="100" />
       
    <extrablock> element
    This element contains extrablock properties.     

     <blocks>
                   <vote weight="100" />
            <extrablock weight="extrablockweight" id="extrablockid" title="extrablocktitle">
            <![CDATA[“extrablockcontent”]]></extrablock>       
    </blocks>


Discussion



or
Connect with Facebook