News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SSI Page

Started by nathan89, February 04, 2009, 03:42:51 PM

Previous topic - Next topic

nathan89

I have read the docs and posts regarding SSI functionality.  I have no problem getting that to work, however I do not understand how to make the page look like the rest of the site.  What do I do to add my forums menu bar, background, etc on another page?  For example like the main page of this site, the menu, and background match the rest of the site.

SlammedDime

You can use the functions template_header() and template_footer() to get the top and bottom of the forum, along with the styles.


<?php

require_once('SSI.php');

template_header();

template_footer();

?>
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

nathan89

I created a .php file named "test.php" however it displays entire homepage of my site.  I added only the code you just specified to this php file located here: http://crohnssociety.com/test.php

??

SlammedDime

You may have to contact whoever makes your portal system and ask them about it then... that's not a normal SMF behavior.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

nathan89

Thats exactly what the problem was. Something with simple portal was preventing it from working. Thank you very much!

Advertisement: