 |

void
User
Jan 24, 2003, 11:52 AM
Post #1 of 7
(4833 views)
Shortcut
|
Damm frames...is it possible to redesign the templates to a non-frame based architecture? I have a dynamic centered site (tables with align=center width=770) and that darn docbuilder menu is just stuck in its frame to the right. Its a real showstopper. We need to find a way to get around this. Isnt there someway to encapsulate the java menu's in something else than frames? Do they need to be encapsulated at all? Could they exist in a table td instead? Cheers, Tim
(This post was edited by void on Jan 24, 2003, 12:10 PM)
|
|
|  |
 |

Luke
Staff
/ Moderator

Jan 24, 2003, 4:05 PM
Post #2 of 7
(4820 views)
Shortcut
|
Hi Tim, Instead of using frames, what you could do is use Server Side Includes. There are a few requirements though (1) that your server supports SSIs and (2) pages will most likely have to be published with a .shtml extension rather than a .html extension. There is one drawback to this method. Because the JavaScript menu is output using a frame it never gets reloaded when following a link to a new document page, meaning the menu stays in whatever form it was in when you last clicked a link. For example, with the way it works now, if you expand one of the top level links to view all of the sublinks and then click on a sublink the menu will still stay expanded. If we were to use SSIs the pages would be reloaded every time you linked to a new document page, so whenever you click on a sublink the menu will retract to its original form because the entire menu is being reloaded in the new page. The other option would be to just use the static (non JavaScript) menu. This one is always expanded. To get an idea of how this looks you can just check out the DocBuilder documentation on our website (http://www.interactivetools.com/docs/docbuilder/). See how the menu is always expanded? In any case, let me know if using Server Side Includes would work for you, I'll then reply to you with a some SSI ready templates attached to this thread! :) Luke Holzken Product Development
|
|
|  |
 |

void
User
Jan 25, 2003, 3:39 AM
Post #3 of 7
(4811 views)
Shortcut
|
Luke, Instead of SSI can we use php? I have also converted the SSI to php includes with my am templates on www.ateist.org. This works great! (Sign..I do SO wish for a real php version of AM) So I guess i can do the same with the SSI templates you're willing to provide me or ? Btw, if a fully expanded menu is the only way to go I'll take it. No problem. But I would'nt mind a page reload at all if you've got templates that does this. Thanks Tim
|
|
|  |
 |

DataDork
User
Jan 25, 2003, 4:19 PM
Post #4 of 7
(4807 views)
Shortcut
|
Hi Tim, Instead of using frames, what you could do is use Server Side Includes. There are a few requirements though (1) that your server supports SSIs and (2) pages will most likely have to be published with a .shtml extension rather than a .html extension. There is one drawback to this method. Because the JavaScript menu is output using a frame it never gets reloaded when following a link to a new document page, meaning the menu stays in whatever form it was in when you last clicked a link. For example, with the way it works now, if you expand one of the top level links to view all of the sublinks and then click on a sublink the menu will still stay expanded. If we were to use SSIs the pages would be reloaded every time you linked to a new document page, so whenever you click on a sublink the menu will retract to its original form because the entire menu is being reloaded in the new page. The other option would be to just use the static (non JavaScript) menu. This one is always expanded. To get an idea of how this looks you can just check out the DocBuilder documentation on our website ( http://www.interactivetools.com/docs/docbuilder/). See how the menu is always expanded? In any case, let me know if using Server Side Includes would work for you, I'll then reply to you with a some SSI ready templates attached to this thread! :) James Edmonds DataDork (http://www.datadork.com) "Have you hugged your pocket protector today?"
|
|
|  |
 |

Luke
Staff
/ Moderator

Jan 27, 2003, 4:58 PM
Post #5 of 7
(4790 views)
Shortcut
|
Hi Guys, I created a copy of the DocBuilder templates that make use of SSIs. You can download them from the this thread. Before using these templates one thing you will want to do is log into DocBuilder, go to the setup options, and change the "Document Index Filename" and "Default Document Extension" to "index.shtml" and "shtml", respectively. If you're interested in using PHP instead, while I'm not a PHP expert, this shouldn't be a problem. All you have to do is modify the SSIs to be PHP includes instead, and change the "Document Index Filename" and "Default Document Extension" to "index.php" and "php", respectively. I hope this helps! :) If you have any questions please let me know. Luke Holzken Product Development
|
|
Attachments:
|
_doc_header.html
(0.40 KB)
|
|
|
_doc_footer.html
(0.26 KB)
|
|
|
_doc_index.html
(34 B)
|
|
|
_doc_menu.html
(0.66 KB)
|
|
|
_doc_page.html
(1.37 KB)
|
|
|  |
 |

DataDork
User
Jan 27, 2003, 5:10 PM
Post #6 of 7
(4781 views)
Shortcut
|
Luke, I hope the new year is treating you well. I really appreciate you taking the time to post the templates. James Edmonds DataDork (http://www.datadork.com) "Have you hugged your pocket protector today?"
(This post was edited by DataDork on Jan 27, 2003, 5:10 PM)
|
|
|  |
 |

void
User
Jan 28, 2003, 12:05 PM
Post #7 of 7
(4761 views)
Shortcut
|
Luke, Just surfed by to check if the surf was up...and this is excellent dude I'll take'em for a spin and get back to you asap. Cheers Tim
|
|
|  |
|