Histórico da Página
Index
Índice | ||||||
---|---|---|---|---|---|---|
|
Speaking of literals ...
This feature allows the client to change the system’s literals configured by the WCM, widget or layout .properties files to an existing language on the platform, allowing them to customize descriptions for company use.
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 path
Change literals
...
01. Access the platform with the wcmadmin user.
02. From In the main menu, click on Control Panel.
03. Click the General tab.
04. Click , then check General container (wcmadmin) and click Literals.
0503. View the options available for changing literals. You can choose the language via the Portuguese, English or Spanish tabs.
Alternative paths
Perform download
...
01. Click on Download
02. The file will be downloaded automatically and must be edited in a tool that supports and preserves its original encoding.
Painel | ||
---|---|---|
Expandir | ||
| ||
The tools that support editing literals are: notepad++, gedit, vi and atom. You can keep all keys or only the changed ones in the file. |
03. Save the changed file.
Send file
...
...
01. Click Choose file.
02. Search for the changed file.
03. Click Send.
Expandir | title | Learn more
---|
Painel |
After the process is complete, the progress bar disappears and the literals are displayed only when updating the pages. This update time can vary due to the browser javaScript cache update or node update if you use LoadBalance. For more information on how to customize literals, click here. |
Informações | ||
---|---|---|
| ||
This documentation is valid as of the 1.6.5 .11 update - Liquid. Previous updates may contain different information than what you see on your platform. |