Re: The Templating System Explained [message #37683 is a reply to message #20412] |
Fri, 15 June 2007 10:42 |
|
Quote: |
"FUDForum/" will be the Server Root, meaning the path of where the browsable files are stored.
"FUDForumData/" will be the Forum Data Root that contains all the non-browsable files.
|
It took me some time to undertand what that means.
If you run the forum on some domain (subdomain), "Server Root" is the DocumentRoot folder defined in the VirtualHost config. If you place the forum into the subfolder - "Server Root" in this article is that subfolder (strange name for the site's document root folder ).
The "FUDForumData" is not a separate folder, but a path where the compiler looks for the sources of the forum.
These folders should be found by the FUDForumData path:
"files/", "sql/", "src/", "thm/".
After you have just installed the forum from an installer you have "FUDForumData" same with your DocumentRoot.
You can move this data away from the DocumentRoot and set the "Data Root" settings in the Admin Control Panel, "Global" section.
Don't forget to recompile the theme.
It will be more convenient to have the "Recompile" button closer then in the "Template Management"->"Theme Manager"->"Rebuild Theme" link in the lower right corner.
Regarding the samples provided in this article - I tried to re-read the post for 3 times and gave up ... can't understand!
Maybe you can write something based on some single template, with more details for people who know nothing about FUD internal structure?
[Updated on: Fri, 15 June 2007 13:19] Report message to a moderator
|
|
|