where can I use [sytem-asset:local]
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
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
1 Posted by Penny on 04 Aug, 2010 09:14 PM
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 Posted by Penny on 04 Aug, 2010 09:16 PM
Actually. I think I just spotted it. You have "sytem-asset:local" change those to "system-asset:local".
3 Posted by mdcarter on 04 Aug, 2010 09:40 PM
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 Posted by Penny on 04 Aug, 2010 09:43 PM
If you only knew how many times I have typed "sytem-asset". Glad I could help!
Tim closed this discussion on 05 Aug, 2010 01:07 AM.