Skip to end of metadata
Go to start of metadata

Hi,

I'm using the builder-hide macro on a page that will be included in other pages using the include macro.

I'd like to hide content based on the title of the page in which my page containing the builder-hide macro is included, like:

Page X containing the following:

 {builder-hide:title=Y|recurse=true}something here{builder-hide}

And page X in included on YYY, which is a child of page YY which in turn is a child of page Y.

Is this scenario remotely posible?

TIA,

P.

  • No labels

3 Comments

  1. Use the {import} macro & {builder-show:hastitle=Y|recurse=true}

    1. Unknown User (p)

      Excellent!

      (it's title=Y, instead of hastitle=Y, but that was an easy one to sort out)

      P.

      1. title= is being deprecated in builder 4.0 to become the more descriptive hastitle=, your old code will however still work.