add a site navigator on the left of each page. [message #17305] |
Tue, 23 March 2004 21:52 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
I want to use the forum as a discussion area as part of a larger website. We currently use a 170 pixel wide html ssi to create a uniform navigator column for our html pages. Is there a way to use ssi with FUDForum? Assuming ssi is not available, is there a way to create this site navigator column in php and fit it on the left (maybe stealing 170 pixels of horizontal space from the topic column)?
I saw the general admonition that template files for the layouts are all accessible and editable. But there are a lot of them, and so it would really help to get a clue as to a) whether or not what I want to do is even possible, and if so b) where to start and what to do to inch toward implementing something like this? Do you have a list of people who have implemented FUDForum so that new users like me can check out the different implementations?
|
|
|
|
|
|
Re: add a site navigator on the left of each page. [message #17429 is a reply to message #17350] |
Tue, 30 March 2004 07:36 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
Oops..
Now I don't know what I have done. I was in the theme manager, where I noticed that I had made a test1 theme with a yes in the enabled column (and a yes in the default column to the right of that), and I also had a second test1 theme with no in each column. (Shouldn't that be trouble right there, having two themes with the same name?) There was also a row for the default theme, which was still set as the default theme. So I clicked on the enable field on the second test1 theme, changing it from no to yes. Then I used the delete function to delete the extra test1 theme (with the two yeses). Then I went to exit the control panel and I was greeted with a blank screen. I looked at the underlying HTML source to see that it is in fact an empty HTML file, with a <body></body> pair surrounded by a couple of lines of HTML boilerplate. How can I get back to my default screen and the control panel? I have no idea how to recover from this situation. I am about to physically delete my two folders from the server and install the whole thing again. I went to run the uninstall script, but it says that my non-browsable folder cannot be found, so it doesn't seem to work. Is physical removal (by hand) an acceptable way to begin again? Is there something I should try first that might help me recover THIS installation?
|
|
|
|
Re: add a site navigator on the left of each page. [message #17462 is a reply to message #17439] |
Wed, 31 March 2004 05:25 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
Again, thank you!
I uninstalled and reinstalled (easily! very impressive), and I seem to be still lacking some procedural knowledge about the use of themes and templates. I am still trying to put our site navigator column on the left side, and reduce the forum width so that both the forum and the navigator column fit on every page, every time.
I created my theme as test1. However, there is a place in the theme editor to give a name to the theme in addition to the name test1, so I gave it the name test_one. This latter name seems to show up in the profile list.
I went into the non-browsable folder, found the thm folder, selected the test1 theme, and went to the tmpl folder to find the header.tmpl and footer.tmpl files.
I am encouraged, because in the header file, I reduced the table width from 100% to 75%, and the forum files actually display narrower, with room for the navigator information. However, the navigator is not showing.
Here are the operative lines from that file:
<?php
include 'pre.txt';
?>
<table width="75%" border="0" cellspacing="3" cellpadding="5"><tr><td class="ForumBackground">
{MAIN_SECTION: END}
Will this "include" function simply drop the html lines from my pre.txt file into the page file at this point? Evidently not, but the php documentation says that is what it will do. Where will this pre.txt file have to be placed in order to be included?
In the same folder with the header.tmpl?, in the browsable folder?
|
|
|
|
|