The latest build of this product (v5.2.0) was released 23 years ago, which was before this thread was created.
Posted 22 years ago by Galley - Greenville, SC
Avatar
I would like to have some of the navigation boxes on my site so they can be all changed at once, just like I can change stuff using CSS. Can I link to an HTML file with CSS, the same way that I could using SSI? I could not find any answers on the web. Thanks.

"I'm not a cool person in real life, but I play one on the Internet". Galley

Comments (4)

Posted 22 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
You could use the SW tag which Spider Writer uses to include files at browser preview time and when you publish to a web site. Or if you preview through a server, you could use SSI tag as well.


Actipro Software Support

Posted 22 years ago by Galley - Greenville, SC
Avatar
I had no clue what you meant by "SW tag" until I went mucking about in the menus. The "Publish File Insert" option sounds like what I need, but I have a couple of questions.
As I understand it, once I use the "publish" feature, the actual HTML code will be inserted into the document, replacing the SW tag. Let's say I just wanted to display four links inside one of the boxes on my site. Should I create a new page containing only those links and nothing else? For example:

<html>
<body>
<a href="page1.html">Page 1</a>
<a href="page2.html">Page 2</a>
<a href="page3.html">Page 3</a>
<a href="page4.html">Page 4</a>
</body>
</html>
I am already using the Root URL function in my site, as I have the site divided into three subfolders. Don't I need the Root URL if someone is at <A HREF="http://www.stuffyougottahave.com/other/AstrydLypp.html" TARGET=_blank>http://www.stuffyougottahave.com/other/AstrydLypp.html</A> and clicks on <A HREF="http://www.stuffyougottahave.com/templates/auction.html" TARGET=_blank>http://www.stuffyougottahave.com/templates/auction.html</A>? (sorry, that page has not been updated yet)
If I don't use the Root URL, I need to put in full addresses, then don't I?
Thanks for your help. <IMG SRC="smile.gif" border="0">

"I'm not a cool person in real life, but I play one on the Internet". Galley

Posted 22 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Right the SW tag (Publish Insert command) will insert the specified file's contents when you publish your site. So it does a sort of mail merge.

Your included page should only contain HTML fragments so that means no HTML or BODY tags since those will be inserted into your document when it's published.

You can use relative URLS like HREF="../Subfolder/Doc.html". Those are better than absolute links.


Actipro Software Support

Posted 22 years ago by Galley - Greenville, SC
Avatar
Thanks for the great info and tech support as always. I will work on that stuff this week. <IMG SRC="cool.gif" border="0">

"I'm not a cool person in real life, but I play one on the Internet". Galley