where can I use [sytem-asset:local]

mdcarter's Avatar

mdcarter

04 Aug, 2010 04:35 PM

I am attempting to use [sytem-asset:local] in an xml block, but it doesn't seem to work. The published page actually renders [sytem-asset:local]. Is the tag only available in certain asset types?

thanks

-matt

  1. 1 Posted by Penny on 04 Aug, 2010 09:14 PM

    Penny's Avatar

    Hmm... I am not having an issue with this. But I am on 6.7.
    Here are some things to check:
    1. Verify that you are on 6.2 or later, I believe that is when that tag became available.
    2. Verify that the image is in the location that you specify it being within the Site your page is.
    3. You are in a Site.
    4. Is it rendering within your CMS? It should be.

    Please let me know if this helps and what the results to the above questions are.

    Here is the sample of my XML block that worked:
    `<system-xml>
    <img src="[system-asset:local]/files/images/bg01.jpg[/system-asset:local]"/>
    </system-xml>`

  2. 2 Posted by Penny on 04 Aug, 2010 09:16 PM

    Penny's Avatar

    Actually. I think I just spotted it. You have "sytem-asset:local" change those to "system-asset:local".

  3. 3 Posted by mdcarter on 04 Aug, 2010 09:40 PM

    mdcarter's Avatar

    DOH! You are correct. I had the following

    <link href="[sytem-asset:local]/common/css/site.css[/system-asset:local]" media="screen" rel="stylesheet" type="text/css"/>

    I hate when you can stare at something for so long and not see the small typo.

    Thanks!

  4. 4 Posted by Penny on 04 Aug, 2010 09:43 PM

    Penny's Avatar

    If you only knew how many times I have typed "sytem-asset". Glad I could help!

  5. Tim closed this discussion on 05 Aug, 2010 01:07 AM.

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

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

 

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