tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/19436-system-asset-is-not-workingCascade CMS: Discussion 2015-10-08T19:52:08Ztag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-14T14:12:48Z2015-09-14T14:12:48Z[system-asset] is not working<div><p>Hi,</p>
<p>Would you please confirm that the checkbox <code>Rewrite links
in file</code> (Edit -> System) is checked?</p>
<p>Wing</p></div>Wing Ming Chantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-14T15:38:16Z2015-09-14T15:38:16Z[system-asset] is not working<div><p>Also, if these files are within a different Site, make sure you
prefix the paths with <code>site://SITE_NAME</code> to tell Cascade
which Site the assets can be found in.</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-14T18:17:24Z2015-09-14T18:17:24Z[system-asset] is not working<div><p>Closer.<br>
The rewrite links in file was not checked.<br>
They still are not displaying?</p>
<p>Here is a link to the page:<br>
<a href="http://cmstst.slcc.edu/accounting/index.aspx">http://cmstst.slcc.edu/accounting/index.aspx</a></p>
<p>It is set up the same way as my bootstrap.min file?</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T13:09:13Z2015-09-15T13:09:13Z[system-asset] is not working<div><p>Hi Ellen,</p>
<p>When viewing your page, I am seeing 404 errors when the browser
attempts to load the files (see attached screenshot). Looks like
the generated path looks something like the following:</p>
<pre>
<code>http://cmstst.slcc.edu/_redesign/_files/fonts/glyphicons-halflings-regular.woff</code>
</pre>
<p>One thing you could try is to check the <strong>Maintain
absolute links when rewriting</strong> and re-publish the file to
see if perhaps the issue is related to the sub-domain preventing
the relative link from mapping to the correct directory.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T13:09:44Z2015-09-15T13:09:44Z[system-asset] is not working<div><p>Whoops, forgot to attach the screenshot.</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T18:15:47Z2015-09-15T18:15:47Z[system-asset] is not working<div><p>Can you do a screen share with me for a minute?</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T18:42:20Z2015-09-15T18:42:20Z[system-asset] is not working<div><p>I figured out that I was getting an error because of Smart
Pubishing it was checked, I unchecked it and published them.</p>
<h2><a href="#skipped-jobs-10-top-" class="anchor" name="skipped-jobs-10-top-"></a>Skipped Jobs (10): [Top]</h2>
<p>[Destination: newtemplate-cmstst] <em>redesign common:
<em>redesign/_files/fonts/glyphicons-filetypes-regular.woff2
(Skipped due to smart publishing) [Destination: newtemplate-cmstst]
<em>redesign common:
_redesign/_files/fonts/glyphicons-filetypes-regular.eot (Skipped
due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/</em>files/fonts/glyphicons-halflings-regular.ttf
(Skipped due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/</em>files/fonts/glyphicons-filetypes-regular.svg
(Skipped due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/_files/fonts/glyphicons-halflings-regular.woff (Skipped
due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/</em>files/fonts/glyphicons-halflings-regular.eot
(Skipped due to smart publishing) [Destination: newtemplate-cmstst]
<em>redesign common:
<em>redesign/_files/fonts/glyphicons-filetypes-regular.ttf (Skipped
due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/</em>files/fonts/glyphicons-halflings-regular.svg
(Skipped due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/</em>files/fonts/glyphicons-halflings-regular.woff2
(Skipped due to smart publishing) [Destination: newtemplate-cmstst]
_redesign common:
_redesign/_files/fonts/glyphicons-filetypes-regular.woff (Skipped
due to smart publishing)</p>
<h2><a href="#successful-jobs-10-top-" class="anchor" name="successful-jobs-10-top-"></a>Successful Jobs (10): [Top]</h2>
<p>[Destination: newtemplate-cmstst] <em>redesign common:
<em>redesign/_files/fonts/glyphicons-filetypes-regular.eot
[Destination: newtemplate-cmstst] <em>redesign common:
_redesign/_files/fonts/glyphicons-filetypes-regular.svg
[Destination: newtemplate-cmstst] _redesign common:
_redesign/</em>files/fonts/glyphicons-halflings-regular.woff2
[Destination: newtemplate-cmstst] _redesign common:
_redesign/</em>files/fonts/glyphicons-halflings-regular.woff
[Destination: newtemplate-cmstst] _redesign common:
_redesign/_files/fonts/glyphicons-halflings-regular.svg
[Destination: newtemplate-cmstst] _redesign common:
_redesign/</em>files/fonts/glyphicons-filetypes-regular.woff
[Destination: newtemplate-cmstst] <em>redesign common:
<em>redesign/_files/fonts/glyphicons-halflings-regular.eot
[Destination: newtemplate-cmstst] _redesign common:
_redesign/</em>files/fonts/glyphicons-filetypes-regular.ttf
[Destination: newtemplate-cmstst] _redesign common:
_redesign/</em>files/fonts/glyphicons-filetypes-regular.woff2
[Destination: newtemplate-cmstst] _redesign common:
_redesign/_files/fonts/glyphicons-halflings-regular.ttf</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:06:15Z2015-09-15T19:06:15Z[system-asset] is not working<div><p>Thank you for following up, Ellen. This sort of makes sense
since you were making changes to the Destinations and not the File,
so Cascade was assuming nothing needed to be done there.</p>
<p>I would suggest turning this back on; however, since it helps
cut down on publish times by skipping files that have not been
modified recently.</p>
<p>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.</p>
<p>Have a great day!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:14:00Z2015-09-15T19:14:00Z[system-asset] is not working<div><p>Yes but the icons are still not showing up?</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:20:20Z2015-09-15T19:20:20Z[system-asset] is not working<div><p>Oh, sorry about that, didn't realize those URLs are still
404'ing.</p>
<p>Seems odd the other files are publishing just fine, but those
two are not. Did you try temporarily disabling smart publishing and
re-publishing those two files? Also, you could try un-publishing
those two files and re-publish them again.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:29:21Z2015-09-15T19:29:21Z[system-asset] is not working<div><p>How do you write the path if I'm going to another site within
cascade</p>
<p>I moved the fonts to SLCC site.</p>
<p>so would it be?</p>
<p>
site::SLCC/_common/_files/fonts/glyphicons-halflings-regular.woff</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:29:43Z2015-09-15T19:29:43Z[system-asset] is not working<div><p><a>
site://SLCC/_common/_files/fonts/glyphicons-halflings-regular.woff</a></p>
<p>Sorry typo</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:31:53Z2015-09-15T19:31:53Z[system-asset] is not working<div><p>Ah, that will do it. You are correct, use the
<code>site://SITE_NAME</code> prefix before the path so Cascade
knows what Site the asset is in. Then, re-publish the file and see
if that addresses things.</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:36:29Z2015-09-15T19:36:29Z[system-asset] is not working<div><p>url() format('woff')</p>
<p>The URL doesn't show up?</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:46:52Z2015-09-15T19:46:52Z[system-asset] is not working<div><p>Looks like the path isn't being rewritten on publish. Are you
surrounding the link with <code>[system-asset]</code> still?</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:52:01Z2015-09-15T19:52:01Z[system-asset] is not working<div><p>I took that off and it was correct but still the icons are not
showing up</p>
<p><a href="http://www.slcc.edu/_files/fonts/glyphicons-halflings-regular.woff">
http://www.slcc.edu/_files/fonts/glyphicons-halflings-regular.woff</a>
(Does show up)<br>
<a href="http://www.slcc.edu/_files/fonts/glyphicons-halflings-regular.woff2">
http://www.slcc.edu/_files/fonts/glyphicons-halflings-regular.woff2</a>
(Doesn't show up)</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T19:53:28Z2015-09-15T19:53:28Z[system-asset] is not working<div><p>Does it has something to do with the preferences? See
screenshoot</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T20:18:33Z2015-09-15T20:18:33Z[system-asset] is not working<div><p>OK now none of my icons are showing up. Help!<br>
<a href="http://cmstst.slcc.edu/accounting/index.aspx">http://cmstst.slcc.edu/accounting/index.aspx</a></p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-15T20:53:12Z2015-09-15T20:53:12Z[system-asset] is not working<div><p>Ok, I reverted the<br>
/_redesign/_files/css/glyphicons-filetypes.css and they came
back.</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-16T13:08:53Z2015-09-16T13:08:53Z[system-asset] is not working<div><p>Hi Ellen,</p>
<blockquote>
<p>Does it has something to do with the preferences?</p>
</blockquote>
<p>Link rewriting would not be affected by your system preferences,
it's all about the path you use when linking to the asset, if you
use <code>[system-asset]</code>, and whether or not your File has
the <strong>Rewrite Links in File</strong> option enabled.</p>
<blockquote>
<p>Ok, I reverted the
/_redesign/_files/css/glyphicons-filetypes.css and they came
back.</p>
</blockquote>
<p>Based on this, it sounds like your files are not within a
different Site, so you won't need the <code>site://</code> prefix.
That being said, using the <code>site://</code> prefix shouldn't
hurt anything as long as you are linking to the correct Site.
Sounds like you might not be, which is why the path was never
rewritten in the published file.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/379140862015-09-24T12:51:46Z2015-09-24T12:51:46Z[system-asset] is not working<div><p>Hi Ellen,</p>
<p>It was a pleasure meeting you at the conference this year!</p>
<p>Just wanted to follow up here since we looked into this during
the conference. Were you able to speak with your system
administrator to see if those files are being published to the web
server and/or if the server is able to handle those file types?</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffith