tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/22938-system-asset-tag-issueCascade CMS: Discussion 2016-08-15T15:03:04Ztag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-12T20:55:08Z2016-08-12T20:55:08Zsystem-asset tag issue<div><p>Hi Adam,</p>
<p>Are you just looking for an absolute link as opposed to a
relative one? If so, try editing one of your Pages containing these
links and click on the System pane. Under it, check the 'Maintain
absolute links when publishing' check box and then click
Submit.</p>
<p>Then, try publishing that Page and let me know if those types of
links are what you're looking for.</p>
<p>Thanks</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-12T21:05:55Z2016-08-12T21:05:55Zsystem-asset tag issue<div><p>Thanks for the quick reply Tim!</p>
<p>I have tried what you suggested, however it's outputing:</p>
<pre>
<code><system-xml>
<link href="http://domain.com/path/to/asset.css" rel="stylesheet" />
</system-xml></code>
</pre>
<p>instead of:</p>
<pre>
<code><system-xml>
<link href="http://domain.com/parent/folder/path/then/path/to/asset.css" rel="stylesheet" />
</system-xml></code>
</pre></div>Adamtag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-12T21:10:54Z2016-08-12T21:10:54Zsystem-asset tag issue<div><p>Ah, OK. It sounds like <a href="http://ideas.hannonhill.com/forums/52559-cascade-cms-ideas/suggestions/1085379-option-for-using-site-or-destination-url-when-crea">
this feature</a> describes the functionality you're looking for.
Can you confirm?</p>
<p>If that is indeed the case, I do think you'll need to hard code
those values.</p>
<p>Let me know.</p>
<p>Thanks</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-15T12:17:10Z2016-08-15T12:17:10Zsystem-asset tag issue<div><p>Yeah, unfortunately, that's the functionality I was looking for.
I've hardcoded all the links, however because of that, none of the
css renders inside cascade. I have tried this:</p>
<pre>
<code><system-xml>
<link href="[system-view:external]/parent/folder/path/then[/system-view:external]/path/to/asset.css" rel="stylesheet"/>
</system-xml></code>
</pre>
<p>However it doesn't appear to work, does the [system-view] tag
not work inside an href?<br>
Thanks!</p></div>Adamtag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-15T13:21:59Z2016-08-15T13:21:59Zsystem-asset tag issue<div><p>For the CSS to work inside Cascade, you can use a combination of
both tags. For example, try something like this:<br></p>
<pre>
<code><system-xml><br> [system-view:external]
<link href="/parent/folder/path/then/path/to/asset.css" rel="stylesheet"/>
[/system-view:external]
[system-view:internal]
<link href="/path/to/asset.css" rel="stylesheet"/>
[/system-view:internal]
</system-xml></code>
</pre>
This should force the system to use the normal rewriting process
internally, but use your fully qualified path once published.
<p>Give that a shot and let me know if it helps.</p>
<p>Thanks!</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-15T15:02:28Z2016-08-15T15:02:28Zsystem-asset tag issue<div><p>I knew that was possible, and it does works. I was hoping I
wouldn't have to have two links for each css file, but that seems
like the only way to get the css to render inside cascade and on
the server.</p>
<p>Thanks for the help Tim!</p></div>Adamtag:help-archives.hannonhill.com,2010-02-09:Comment/405296922016-08-15T15:03:03Z2016-08-15T15:03:03Zsystem-asset tag issue<div><p>You bet, Adam! Have a good one.</p></div>Tim