
Donna
Staff
/ Moderator

Apr 8, 2003, 5:16 PM
Post #4 of 4
(4915 views)
Shortcut
|
|
Re: [Dino] Main Frame Alignment
[In reply to]
|
Can't Post
|
|
Hi Dino! No problem, we can go into further detail. :) Basically, what you need to do is edit the templates. You may want to make backups of the original files before you do this -- we're not making any huge changes, but it's a good habit to get into. (There's a little bit of advice I need to take more often myself!) Both problems can be solved by editing the templates. So, you'll want to get a text editor (like Notepad) and open up the file "_doc_index.html" in your DocBuilder templates directory. If you don't have a copy of this file on your home computer, you'll want to download it -- you'll find it on your server wherever it was installed. (Usually in a folder called "/db/templates/" or "/cgi-bin/db/templates/" but I can't be sure without looking at your exact configuration.) On line 6, you should see the following: <frameset cols="204,*" border="0"> The 204 stands for how many pixels wide the column on the left is -- the reason your text appears to not be aligned left is actually because the frame on the left is too wide. You'll want to change the 204 to something narrower... I usually go down in increments of 25 or so until I get the right width. That's sort of a case of trial and error until you get the page looking exactly how you want it. ---- The second problem is the link: It looks that aside from the link in the content, that's doing what you want it to. So, the best solution is probably to edit the template so that that doesn't show up. So, open the template file named _doc_page.html (in the same directory as _doc_index.html that we mentioned above.) On line 9, you'll see the placeholder tag $title$. Remove this and that will stop the page title from showing up on the content page. The catch is that it won't show up on ANY page, not just the main one. So if you want it to continue showing up on the other pages (Profile, Quotes, etc) you'll want to add that in by hand in the Document Manager. Once you've changed the two template files, upload them to the templates folder on your server. Does this help? Let me know if you're still having trouble. Thanks! Donna Donna -- support@interactivetools.com
(This post was edited by Donna on Apr 9, 2003, 9:25 AM)
|