Can be removed date column from Blog Posts ?

DEJU ALIN MADALIN May 17, 2021

Hello, 

 

I'm just wondering if the "date" column from Blog Posts can be somehow hidden due to wrong creation date ( https://jira.atlassian.com/browse/CONFSERVER-59388 )

Thank you !

 

Best regards,

Alin

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 19, 2021

@DEJU ALIN MADALIN if you are on server you could identify the HTML element and use CSS to hide it.  It would be across the board though and hide every single date on all blog posts.

DEJU ALIN MADALIN May 20, 2021

Hello @Brant Schroeder ,

This will impact all the Blog Posts from entire Confluence Server? Or can be set only for one Space.

Thank you !

Best regards, Alin

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2021

You could use JavaScript to identify the space and apply the style.  This way it would only impact a single space.

DEJU ALIN MADALIN May 23, 2021

Can you please provide me an example of the code that can be used?

Thank you !

 

Best regards,

Alin

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2021

You would need to do something like this.

SPACEKEY - needs to be changed to the space key  

<script>
AJS.toInit(function() {
if (window.location.href.indexOf("display/SPACEKEY/") != -1) {
AJS.$('.last-modified').hide();
}
});
</script>

The class last-modified will hide all dates in the space since a blog page is the same as any other page in the space.

DEJU ALIN MADALIN May 26, 2021

Thank you !

 

Best regards, 

Alin

Suggest an answer

Log in or Sign up to answer