Histórico da Página
The layout defines the composition of a page. A layout is comprised of multiple slots. Slots are defined containers that are able to contain Widgets. The quantity, position and dimension of these slots are what defines a template body. So template is the skeleton of a page, defining the distribution of Widgets that compose it through slots.
Informações | ||
---|---|---|
| ||
You cannot change the structure of the platform default layouts through its own tool. To create custom layouts, see the documentation on Building WCM components in fluig Fluig Studio. |
...
Estado | ||||
---|---|---|---|---|
|
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
Recommended for pages that do not require many slots for content display
Broad
Ideal for widgets that have detailed information and require larger slots for best viewing.
Public
Values broad contents and allows better detailing of information, if necessary.
Half and half
Ideal to display Analytics indicators. The simple layout comprises only two large slots.
Communicative
Recommended for pages where the target audience will have access to a large volume of information. Through the tabs available in that layout, you can segregate the information, facilitating and optimizing content reading.
Expandirpanel | ||
---|---|---|
| ||
The SlotB in this layout supports the inclusion of tabs with a different widget in each one. Widgets can be added and adjusted in this slot as usual, because the division into tabs are performed automatically after the page is posted. You cannot change the order of the tabs after posting them. |
...
Detailed
With the detailed layout, you can view different contents at the same time, thanks to the great number of slots available.
Code
Having slots of two sizes, the collaborative layout allows greater interaction with the contents of various widgets.
Constant
In order for the important information not to be forgotten, this layout has a fixed slot bar: as you browse, the sidebar widgets will always be visible.
Expandirpanel | ||
---|---|---|
| ||
Widgets added to SlotG in this layout will be permanently displayed on the screen, regardless of page scrolling. |
...
Portal
The more space, the better. The contents of your intranet or portals get more emphasis, since this layout does not display the side menu
Painel | ||
---|---|---|
Expandir | ||
| ||
In order to have this layout displayed on the list of layouts available for pages, first get the Kit Intranet kit artifact. Then, import the artifact from Import and export pages. After performing these procedures, the layout are available for use. |
...
Informações | ||
---|---|---|
| ||
This documentation is valid from the 1.5.10 update. If you use a previous update, it may contain information different from what you see on your platform. |