[system-asset] isn't working as desired

Todd Ashmore's Avatar

Todd Ashmore

24 Feb, 2014 09:05 PM

I'm trying to use the system-asset tag for our footer.

I enter this:
<a href="[system-asset]site://WWW/aboutus/index[/system-asset]">About Us</a>

It spits out this:
<a href="[system-asset:id=2160ce9b0a68815b52c9350961e4bb0c]site://WWW/aboutus/index[/system-asset]">About Us</a>

If you click on the link, it works but it is opening the entire cascade layout within the i-frame (a meta copy). I've attached a screenshot showing what it looks like.

Am I doing something wrong here that would cause this?

Thanks!

  1. 1 Posted by Ryan Griffith on 24 Feb, 2014 09:12 PM

    Ryan Griffith's Avatar

    Hi Todd,

    I believe this is some sort of issue with the way Cascade Server is serving the internal page render links and the preview frame. In the past I have gotten around this by adding target="_parent" to the link.

    Note: if this affects the way the link functions on the live website, you could surround this with a [system-view:internal] pseudo tag so the attribute is only present when previewing pages within Cascade Server.

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by Todd Ashmore on 24 Feb, 2014 09:28 PM

    Todd Ashmore's Avatar

    That fixed it. Thanks Ryan.

  3. Todd Ashmore closed this discussion on 24 Feb, 2014 09:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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