We have some exciting changes coming to the case portal. To see the changes that are on their way come and visit our blog.

Using blogs for external and internal release notes?

Hi,

I'm new to Lithium and still learning about all it can do. We are using the blog feature for our customer facing Release Notes and I am wondering if it is possible to have some internal content included, that would only be visible to employees that are signed into the community? 

Message 1 of 4
3 REPLIES

@GlennD

It can be done using freemarker context object. You just need to wrap the gated things inside it. 

<#if user.registered>
<#-- Gated content goes here and will be visible to logged in user only -->
</#if>

Give kudos if you find my posts helpful or mark solution if it answers your query
Message 2 of 4
Highlighted
Community Management
Software Development

 

@VikasB - This condition will not work inside an editor.  

 

@GlennD - You can not fully restrict the content, however, you can hide it using CSS or remove using JS. For that, your internal content must have a different class, which you can give by switching to HTML mode.  SS below.

 

hidden-content.JPG                                                  

 

 CSS

.internal-content{  
   display: none;
 }

.lia-user-status-registered .internal-content{
   display:block;
}

 

 

Give kudos if you find my posts helpful or mark solution if it answers your query.
Check out my recent idea: Ability to copy permissions from other node.
Message 3 of 4
Community Management
Gamification
kudos from me, I'll be using this Smiley Happy

Stephen



My latest Ideas: Vanity URL Manager l @mention Roles l  LSW Password Policy


Message 4 of 4