Forum Discussion

domladden's avatar
9 years ago

Quilt replacement

Hi, I'm trying to use the replaceQuilt function in the Page Initialisation tab but it doesn't seem to be working. As a simple test I was just trying to replace the custom quilt used on some blog article pages (OfficeoftheFuture-ArticleQuil2) with the standard blog quilt (two-column.main-side) but the following snippet doesn't appear to work:

http.response.replaceQuilt("OfficeoftheFuture-ArticleQuil2","two-column.main-side")

I have tried this with an if function to ensure I am selecting the right article as well as just having the line on its own but nothing seems to work. Can you please assist with me this.

Thanks,

  • Are you sure that "two-column.main-side" is a quilt? Looks more like a Layout name...