>>
Site Map
>>
Forums
>>
Modules 6x
Forum module - topics in forum:
Modules 6x - Discussions regarding PHP-Nuke Modules.
[Resolved] Viewing Forum Seperately
I have removed the left blocks from the forum but I was wandering how I can view it without the sites header or footer, so it's purely the forums on their own?
Cheers for any help
You could try this, I have never done it but it should work
Opem the modules/Forums/nukebb.php file and find the following:
| Code: : |
| include("header.php"); |
Change it to
| Code: : |
| // include("header.php"); |
Then open includes/page_tail.php and find:
| Code: : |
| include("footer.php"); |
Chage it to
| Code: : |
| // include("footer.php"); |
That should do it, there may be some other problems by not including the header file but it includes the mainfile.php into the Forum seperatly so I wreckon it will be ok.
Post back and let me know how it goes
Cheers, but the file only has the first bit of code and when I changed it it made no difference
Any other ideas?
I mentioned 2 files above there is one bit in each file.
Post the changes you made, just post about 3 or 4 lines above and below the lines i mentioned in both files.
changed...
| Quote: : |
require_once("mainfile.php");
get_lang($module_name);
include("header.php");
?>
|
to...
| Quote: : |
require_once("mainfile.php");[/color]
get_lang($module_name);
// include("header.php");
?>
|
I decided that I want to leave the footer, so thats the only change I made
Edit...
I just uploaded the file again and now when I view the forums it says this...
| Quote: : |
Fatal error: Call to undefined function: opentable() in /home/virtual/site40/fst/var/www/html/html/mainfile.php on line 236
|
line 236 just says...
try putting this line in just about the header one that you have remed out
| Code: : |
| include("themes/YOUR_THEME/theme.php"); |
Replace YOUR_THEME for the name of your theme, if you use more than one theme on your site try this
| Code: : |
| include("themes/$ThemeSel/theme.php"); |
Cheers for the help Dashe, it's working now 