Access Keys:
Skip to content (Access Key - 0)

Cannot hide contents in site search


This forum has now moved. These topics have been left as a read-only archive. Please create all new topics in the Community space.


Hi guys,

I'm trying to hide page contents from anonymous users when viewing the page and when searching for it. I used the {builder-hide} macro but it seems that the "context", "decorator", "action", and "mode" parameters does not work. I tried with:

variant 1
{builder-hide:mode=view|user=@anonymous}
stuff to hide
{builder-hide}

variant 2
{builder-hide:user=@anonymous|decorator=page,search}
stuff to hide
{builder-hide}

variant 3
{builder-hide:user=@anonymous|context=page,search}
stuff to hide
{builder-hide}

variant 4
{builder-hide:user=@anonymous|action=viewpage,dosearchsite}
stuff to hide
{builder-hide}

I also tried to hide the contents using the {builder-show} macro:

{builder-show:user=@author,@creator|mode:edit}
stuff to show
{builder-show}

...but it seems the site search shows the contents by default.

We use Theme Builder plugin version is 4.1.2 and Confluence v.3.2.

Please advise!



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence