Simple Machines Blogs > Developers' Blog
Simple Machines Website-Forum Integration
bassbass:
thanks for that RunicWarrior, I'll play with it and see how far i can get. thanks again,
Bass
Joomlamz:
good
work
but i see here ..
Each file is broken up into 4 main parts
* Setup variables not see
* Bringing in integrate.php i see yes
* A source function not see
* A template function not see
Thantos:
Setup variables are all the variables being defined prior to integrate.php being included.
The source function is file_source() and the template function is template_file_template()
Joomlamz:
did see what i need...
How can puty like that picture
tedhogan:
I'm not sure what's wrong, but I get this error when I try to run the sample script:
Unable to load the 'main_above' template.
It works when I have the $ssl_layers assignment commented out. I am using the default theme ($ssi_theme = 1)
-----------------------
<?php
error_reporting(E_ALL);
// Theme we're going to use
$ssi_theme = 4;
// Layers we're going to use
$ssi_layers = array('main');
// Enable GZip compression (saves bandwidth)
$ssi_gzip = true;
require('SSI.php');
echo 'See? SMF is cool :)';
ssi_shutdown();
?>
-------------------------
Can someone please point me in the right direction?
Thanks,
Ted
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version