-
It is often needed to be able to ignore tags inside of a template, because they should be rendered on the client only, while other parts of this template are rendered on the server.
@colinsullivan ha…
-
In a Content Container Template Paint Layout, I tried using conditional keywords in my SSJS output. However, although the conditional keywords were removed from the final output, the content inside t…
-
A direct bodycopy div rendering via https://www.example.com/site/_nocache?a=12345 (where the Preview -> In New Window sends you) or via ?SQ_ASSET_CONTENTS=12345 evaluates SSJS but has issues when atte…
-
Including a SSJS block in a Content Container Template Paint Layout like so:
```
Asset ID: %asset_assetid%
From pre-eval: print('%asset_assetid%')
From SSJS: prin…
-
Baseline:
Search automation
Search sql/ssjs
Clone by automation
Clone by definition
Put/update sql/ssjs
-
At the moment, the only way to get data in or out of SSJS is via keywords. These only get processed before an SSJS block is executed for data going in -- or after for controlling behaviour afterwards…
-
See Issue #28 & Issue #29
-
It's possible to have SSJS code run out of order if the setup looks like this:
1. Design file:
```html
var counter = 0;
```
2. Content Container Template Paint Layout:
```html
print(cou…
-
With the use of including one page's contents within another with a global keyword (eg `%globals_asset_contents:1234%`), the SSJS scope isn't the same.
First page:
```html
var counter =…
-
There is an issue with this sign function.
You parse the JSON and then stringify it again, while this is unnecessary, it might also alter the payload.
Like changing the order of properties or losin…