Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Guide

Hide Widget component

Hi, 

On the  https://lithosphere.lithium.com/t5/Real-time-notifications/Enable-and-set-up-notification-features/t... post it is suggested to add component to the quilt for the pop-up notifications to work.

It also states that these components can be hidden;

What is the attribute to hide a component on a quilt?

 

Thanks

1 Reply 1
Boss

@Kallie,

Actually there is no such attributes for component which make it hidden from the quilt.
 
But there is way by which we can add component to different quilt from another quilt if the first quilt is defined as nested and included in the another quilt.
 
Example:
If I have a ForumPage.quilt and I want to add component for only this page and to see in header. (like: Breadcrumb).
So, I can directly add that component only for this quilt from XML view of the page, and add breadcrumb to header of the forum page quilt using below code.
 
<add to="header">
    <component id="common.widget.breadcrumb"/>
</add>
 
See attached screenshot for reference of hidden component.
 
You will not see the component in grid column layout of page quilt.no-hidden-component.PNG
 
 
 
 
 and when you switch page quilt to XML view you will se the component common.widget.breadcrumb is there in quilt and its referring to Header quilt in XML.
 
hidden-component.PNG

 

 and If you want to remove any of the component to not visible on the page you can use the below code to remove that component

<remove from="breadcrumb" for="Header">
    <component id="common.widget.breadcrumb"/>
  </remove>

.

 

.......
Expecting your Kudos and Accepted Solution to my replies.

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.