Customizing SMF > SMF Coding Discussion
Can we use SSI code in the index page of SMF?
(1/1)
sarobar:
I want to have the no. of users online on top of the SMF's index page. I tried to put the SSI code as shown in the SSI example but it didn't work. However it works in a separate page created by myself. Please help me in this regard.
andrea:
Yes this should be possible. Make sure that you include SSI right after the 1st line
<?php
in your "index.template.php" file.
That means "index.template.php" will start then like this:
<?php
include("SSI.php");
// Version: 1.0 Beta ...
Navigation
[0] Message Index
Go to full version