Absolute link publishing within JS file output

birwin's Avatar


08 Jul, 2015 06:36 PM

Hi there,
Have a quick question, something easy I'm sure but I'm overlooking. I'm writing a javascript file, which is generated from content entered into a data-definition block. (see attached). To have the Js file output work, and be usable within Cascade, I'm using the

<!--#cascade-skip--><system-region name="DEFAULT"/><!--#cascade-skip--> as the template, and the format (attached) to output the following javascript.

This data definition / format combo works well for what i need it to do (once its published that is) however in Cascade, it doesn't play nice.

I tried using the link attribute from my page chooser, however when the script is output, then I get the site:/// which doesn't work for either.

Its like the interpreter is ignoring the link re-writing. Any ideas are always appreciated. Thanks so much!


  1. 1 Posted by Ryan Griffith on 08 Jul, 2015 07:44 PM

    Ryan Griffith's Avatar

    Hi Brendon,

    Sounds as though the links are not being tracked within Cascade. Have you tried surrounding the value of the href attribute with a [system-asset] pseudo tag? This will force Cascade to track the link.

    Please let me know if you have any questions.


  2. 2 Posted by birwin on 08 Jul, 2015 07:48 PM

    birwin's Avatar

    I knew it was something small.

    Brilliant. Thanks!

  3. 3 Posted by Ryan Griffith on 08 Jul, 2015 07:51 PM

    Ryan Griffith's Avatar

    Glad to hear that did the trick, Brendon.

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  4. Ryan Griffith closed this discussion on 08 Jul, 2015 07:51 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM