Announcement

Collapse
No announcement yet.

how to work around an error - cdicken?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to work around an error - cdicken?

    Originally posted by cdicken
    I had this error this weekend for the first time. It was due to me referring to a stylesheet in Act_Primary.html using a fully-qualified URL (http://www.....). I had to remove the URL part to make it work.
    Hi, I have an error that I can't seem to solve. I searched before I posted, (see quote above) and found that cdicken had exactly the same problem, but didn't know if a solution was found.

    In act_primary I need to call a CSS style sheet, but when I use the full http://www.... url I get a 'no error occurred' and then 'error generating html pages' error. When I remove the http://www... part the error stops, but then my style sheet isn't recognised. The error also comes up in preview within actinic.

    It didn't bother me for a while, as the site still uploaded properly and is working fine at www.merlinarcherycentre.co.uk, but when I loaded my snapshot onto our order processing station it failed to import. So it is a problem I somehow need to work around.

    cdicken said he had to remove the URL part to make it work, but how then can you call the style sheet?

    Could any one help me please? I'm at a dead end.

    #2
    Hi there

    I cannot remember the exact circumstances of my original problem. The method I now use to get around this is to save the custom css file straight into my 'Site1' folder. I then just include a link of the following format in the <head> section of my Act_Primary and Act_BrochurePrimary template.
    Code:
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    You may end up with two copies of the same stylesheet on your site (one in the root of your site, and one in the 'acatalog' folder) but at least Actinic will work reliably.

    Comment


      #3
      Thanks for the reply

      Comment

      Working...
      X