Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: DocBuilder:
Multiple menu sections like ArtMan

 

 


Ruthie
User

Dec 31, 2003, 1:29 PM

Post #1 of 3 (5119 views)
Shortcut
Multiple menu sections like ArtMan Can't Post

Hi -- I thought there was an answer to my question in the posts, but I'm not sure if I found it.

I was looking for information about hard-coding DocBuilder to create multiple menu sections (like you guys are using for the ArtMan documentation, "User Guide," "Admin Guide," and "Install").

Is this what the post "Multiple User Guides" is about? Would I create several User Guides by 'publishing' to different directories, then hard-code the menu choices into the template?

Thanks for the help!


Donna
Staff / Moderator


Dec 31, 2003, 3:49 PM

Post #2 of 3 (5112 views)
Shortcut
Re: [Ruthie] Multiple menu sections like ArtMan [In reply to] Can't Post

Hi Ruthie!

Thanks for your email. :)

This is a little tricky to do but here's how we did it.

1. First we created 3 directories; /user/, /admin/, and /install/

2. Next we created 3 HTML files, each file has the same name, tabs.html. This was the file that the images of the tabs were stored in. There are 3 different variations of the image. One with the "user" button highlighted and the other two buttons not highlighted, one with the "admin" button highlighted and the other two not, and one with the "install" button highlighted and the other two not. Each of the tabs.html files has one of these 3 variations. (Each button, of course, links to the published content of it's document group. e.g. the admin button will have a link to the index.html file in the /admin/
directory.)

3. We then uploaded the "user" highlighted tabs.html file into the /user/ directory, the "admin" tabs.html into the /admin/ directory, and the "install" tabs.html into the /install/ directory.

4. We then added a Server Side Include call to the /templates/doc_menu.html file that calls the tabs.html file. <!--#include file="tabs.html" -->

So change this:

Code
<table border=0 cellpadding=0 cellspacing=0 width=100% height=100%> <tr> 
<td valign="top" width=100%>

<table width=100% border=0 cellpadding=2 cellspacing=0>
<tr><td rowspan=99><img src="$imageurl$spacer.gif" width=5>

To this:

Code
<table border=0 cellpadding=0 cellspacing=0 width=100% height=100%> <tr> 
<td valign="top" width=100%>
<!--#include file="tabs.html" -->
<table width=100% border=0 cellpadding=2 cellspacing=0>
<tr><td rowspan=99><img src="$imageurl$spacer.gif" width=5>


This means that each document groups menu file will include the tabs.html file within its respective directory (e.g. the "Admin" document group will include the admin tabs.html file within the /admin/ directory.

And that's it.

If you have any other questions or comments please feel free to let me know.

Donna

--
support@interactivetools.com


Ruthie
User

Jan 2, 2004, 6:29 AM

Post #3 of 3 (5107 views)
Shortcut
Re: [Donna] Multiple menu sections like ArtMan [In reply to] Can't Post

Thanks Donna. Sounds very doable. Happy New Year! -- Ruthie