Unofficial SMF API Documentation

./ssi_examples.php

template_ssi_above

function template_ssi_above(): void

Displays the header for this file

template_ssi_below

function template_ssi_below(): void

Displays the footer for this file

template_homepage_sample1

function template_homepage_sample1(string $method = 'source'): string|void

Displays a sample homepage to give you an idea of what’s possible using SSI functions

Type Parameter Description
string $method If ‘source’, simply returns the source code, otherwise displays it

template_homepage_sample1_php

function template_homepage_sample1_php(): void

Generates the sample homepage. Used with template_homepage_sample1 if $method isn’t ‘source’.

template_homepage_sample1_html

function template_homepage_sample1_html(): string

Generates the HTML for the homepage sample. Used in conjunction with template_homepage_sample1 if method is ‘source’

Suggest an edit to this page on GitHub