...
Click an XperienCentral version for specific upgrade information.
Excerpt |
---|
HTML |
---|
<!-- VOORBEELD EXPAND EN COLLAPSE BUTTONS -->
<style type="text/css">
.buttons_expand-collapse_all{
font-size: 12px;
color: white;
border-width: 1px;
border-radius: 0.5em;
border-style: solid;
border-color: #000000;
background-color: #00a6ff;
padding: 5px 12px;
}
.buttons_expand-collapse_all:hover {
font-size: 12px;
color: white;
border-width: 1px;
border-radius: 0.5em;
border-style: solid;
border-color: #000000;
background-color: #0092e0;
padding: 5px 12px;
}
</style>
<div class="div_expand-collapse_all">
<br />
<button
class="buttons_expand-collapse_all"
name="expandAll"
id="expandAll"
type="button"
>
Expand All
</button>
<button
class="buttons_expand-collapse_all"
name="collapseAll"
id="collapseAll"
type="button"
>
Collapse All
</button>
</div>
<script type="text/javascript">
AJS.toInit(function () {
AJS.$("#expandAll").click(function () {
AJS.$(".expand-container").each(function () {
if (
AJS.$(".expand-content", this)
.css("display", "none")
.css("opacity", "0")
) {
AJS.$(".expand-icon", this).removeClass("aui-iconfont-chevron-right");
AJS.$(".expand-icon", this).addClass("aui-iconfont-chevron-down");
AJS.$(".expand-content", this).removeClass("expand-hidden");
AJS.$(".expand-content", this).css("display", "block");
AJS.$(".expand-content", this).css("opacity", "1");
}
});
});
});
</script>
<script type="text/javascript">
AJS.toInit(function () {
AJS.$("#collapseAll").click(function () {
AJS.$(".expand-container").each(function () {
if (
AJS.$(".expand-content", this)
.css("display", "block")
.css("opacity", "1")
) {
AJS.$(".expand-icon", this).removeClass("aui-iconfont-chevron-down");
AJS.$(".expand-icon", this).addClass("aui-iconfont-chevron-right");
AJS.$(".expand-content", this).addClass("expand-hidden");
AJS.$(".expand-content", this).css("display", "none");
AJS.$(".expand-content", this).css("opacity", "0");
}
});
});
});
</script> |
|
Expand |
---|
|
XperienCentral R38Release date: October 28, 2022
Note |
---|
Minimum Version Required for Upgrading to XperienCentral R38Upgrading to XperienCentral R38 requires a minimum version of R26. If you are upgrading from XperienCentral R25 or lower, you must first upgrade to R26 and then upgrade to XperienCentral R38. |
Check Configuration FilesSee Check Configuration Files. - The file
static/wmpformpresentation/js/jquery.form.js was renamed to static/wmpformpresentation/js/plugin/jquery-form-4.2.0.js . - The file
static/wmpformpresentation/css/plugin/jquery-ui.min.css was renamed to static/wmpformpresentation/css/plugin/jquery-ui-1.13.1.min.css .
If you have custom code that uses these files, you need to modify your code to pick up these name changes. These name changes are only relevant for projects that do not use the default formsHeadTag.jsp . Shared languagesIn XperienCentral version R38, language labels are no longer implicitly shared between channels. When you want to keep sharing the labels of a specific language between 2 channels, perform the following steps before upgrading to R38: - Open the JCR Browser and navigate in the "JCR Tree" tab to the
/wm:webmanager/wm:websites/wo:webinitiatif[{_}n{_}]/wo:wm_registry node where wo:webinitiatif[{_}n{_}] represents the channel that will receive the shared language labels. Click [Edit] by the wo:language property and remove the language you want to share. In order to find out which of the shown UUIDs represents that language, execute the following query in the JCR Browser:
Code Block |
---|
| //element(*)[@jcr:uuid='<the uuid of a language>'] |
Share the language between the 2 channels by following the steps on https://wiki.gxsoftware.com/wiki/display/PD/Multiple+Channels#MultipleChannels-sharing_contentSharingContent.
Upgrading to R38 has no impact when a language was already shared in the way described above.
HTML |
---|
<br /><br /><br /><br /><br /><br /><br /><br /> |
|
...