This isn't the usual problem with images that are outside of the Site1 folder, it's a new one on me! (sorry, this is a bit long).
Because a client wanted a menu with rollover buttons that was exactly the same on all pages, I had re-created the brochure page menu in Act_Primary.html, using Adobe Golive's way of making rollover menus. This uses embedded CS Objects with some example code as follows:
Actinic didn't like this very much and it stopped working, so I dumped that method (making sure all the GoLive code was stripped out), and switched to a Javascript instead. This is an all-in-one script, i.e. no script within <head></head>, as the following example:
Here's the point of this post - Using the GoLive version, I was getting errors when doing a snapshot as follows:
(File ExportFiles.cpp, Line 528) - The file C:\Program Files\Actinic Ecommerce v6\Sites\Anniversary House\Birthday.html was not found System error 2 - The system cannot find the file specified.
... followed by 10 more errors, one for each button.
After I changed to the Javascript version the errors have changed to:
(File ExportFiles.cpp, Line 528) - The file C:\Program Files\Actinic Ecommerce v6\Sites\Anniversary House\birthday.src was not found System error 2 - The system cannot find the file specified.
The initial error message, before getting the above details, was:
Warning: The HTML templates specify source files (with "SRC=" commands) that reside in directories other than the acatalog directory on the web site. Actinic Ecommerce cannot handle these files and they are being omitted from the list of files to upload.
Everything works fine when previewing and after uploading.
I'm used to seeing this message after I've imported clients' snapshots, and they've accessed image files from elsewhere in their hard drives, but I've not seen it related to HTML in a template before. Does anyone know how I can fool Actinic into ignoring the xxxxxx.src references in the Javascripts?
Malcolm
Because a client wanted a menu with rollover buttons that was exactly the same on all pages, I had re-created the brochure page menu in Act_Primary.html, using Adobe Golive's way of making rollover menus. This uses embedded CS Objects with some example code as follows:
Code:
<csobj al="Birthday" h="27" ht="birthday1.gif" t="Button" w="63"> <a href="Birthday.html" onmouseover="return CSIShow(/*CMP*/'button2',1)" onmouseout="return CSIShow(/*CMP*/'button2',0)" onclick="return CSButtonReturn()"> <img src="birthday1.gif" width="63" height="27" name="button2" border="0" alt="Birthday"></a></csobj>
Code:
<script language="JavaScript"> <!-- // start hidden code birthday = new Image(); birthday.src = "birthday2.gif"; // done with hidden code --> </script> <a href="../Birthday.html" onMouseOver="button2.src=birthday.src;" onMouseOut="button2.src='birthday1.gif';"> <img name="button2" src="birthday1.gif" width="63" height="27" alt="Birthday" border="0"></a>
(File ExportFiles.cpp, Line 528) - The file C:\Program Files\Actinic Ecommerce v6\Sites\Anniversary House\Birthday.html was not found System error 2 - The system cannot find the file specified.
... followed by 10 more errors, one for each button.
After I changed to the Javascript version the errors have changed to:
(File ExportFiles.cpp, Line 528) - The file C:\Program Files\Actinic Ecommerce v6\Sites\Anniversary House\birthday.src was not found System error 2 - The system cannot find the file specified.
The initial error message, before getting the above details, was:
Warning: The HTML templates specify source files (with "SRC=" commands) that reside in directories other than the acatalog directory on the web site. Actinic Ecommerce cannot handle these files and they are being omitted from the list of files to upload.
Everything works fine when previewing and after uploading.
I'm used to seeing this message after I've imported clients' snapshots, and they've accessed image files from elsewhere in their hard drives, but I've not seen it related to HTML in a template before. Does anyone know how I can fool Actinic into ignoring the xxxxxx.src references in the Javascripts?
Malcolm
Comment