Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Índice
outlinetrue
exclude.*ndice
stylenone

 

 

Speaking of groups...

If it is necessary to relate user with the group, by means of this function, it is necessary that users are already properly registered. This registration is effected in Users, located on the General tab of the control panel.

...

User groups can also be added into clouds of relationship-when this feature is active. In this case, when a user group belongs to a cloud of relationship, all of your users can view the contents of the members of the cloud. Consequently, when you include a user to the group, it automatically has access to the content of the cloud. To delete it, it ceases to show the content shared among members of the cloud.

 

Estado
subtletrue
titleLearn more

HTML
<a id="toggleAll" href="#" >Expand/hide additional information. </a>
 <script type="text/javascript">
 
 var abertos = 0;
 var fechados = 0;
 function contador() {
    abertos = 0;
    fechados = 0;
    jQuery(".expand-control").each( function() {
		if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
           	fechados++;
        } else {
        	abertos++;
        }
    });
 }
 AJS.toInit(function() {
 
    contador();
	var soma = abertos + fechados;
	$("#toggleAll").html('Expand/hide ' + soma  + ' additional information.');

    AJS.$('#toggleAll').click(function() {
        contador();
        if (abertos >= fechados) {
            jQuery(".expand-control").each(
                function() {
                    if (document.getElementById(this.id).children[0].className == "expand-control-icon icon expanded") {
                        jQuery(this).trigger("click");
                    }
                }
            )
        } else {
            jQuery(".expand-control").each(
                function() {
                    if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
                        jQuery(this).trigger("click");
                    }
                }
            )
        }
    });
});
 </script>

Basic Path


01. Control Panel functionality in the General tab, and then click groups.

...