RicoRoco - HOME Azure v.116
Witamy, Gość. Zaloguj się lub zarejestruj

Zaloguj się podając nazwę użytkownika, hasło i długość sesji
| VISTA - UNATTENDED | XP - UNATTENDED | Instalacje Nienadzorowane: Windows VISTA & Windows XP! - Zapraszam!
   HOME   FORUM HELP SEARCH Kalendarz Download Gallery Chat Zaloguj się Rejestracja  
Theme

TOP SITES
Recent Top
By Yurek3
[29.03.2009, 08:27:18]

By PdM
[11.06.2008, 18:21:50]

By gm1004
[19.05.2008, 16:53:50]

[18.05.2008, 18:38:30]

By Yurek3
[30.03.2008, 16:06:21]

By Yurek3
[29.03.2008, 04:40:05]

By Yurek3
[27.02.2008, 00:35:27]

[13.02.2008, 10:50:11]

[09.02.2008, 11:44:18]

[22.01.2008, 10:36:45]

M.C. Escher
"Ascending and descending"
2 Gości, 0 Users

Introduction..

This page illustrates one way of using the template system in SMF for adding custom pages. All you need is to make template files (PHP files really) and place it into a folder of the actual Novelty theme folder called "pages". Then you go to Admin section, "Themes and Settings" and look for "current theme settings".

There you can add the entries for the custom files. First its real name (minus "template.php") and the title you like to use. For example, this custom page is the file "about.template.php" and has "Custom" as the title. Therefore we insert "about,Custom" for this one. To add more, do the same, but put a "|" inbetween, like: "about,Custom|my,My Page!"


Content of custom pages

..can be anything really, since its PHP pages, you can even add your own PHP routines in there. Note that its indeed still a part of SMF, so any values you might want to use from the forum, is available. If you look at the other custom page called "homepage.template.php" you will see its using a lot of SSI functions to show a simple "news" page. It can also mix PHP and HTML freely, as this template shows.

Top Links:

SMF
TinyPortals.net
TinyPortals - ThemeShop
TinyPortalHosting
septalsdefects.org
TinyPortals.com
RebelRoseNetworks
SearchEngines.pl
Polska Pomoc Simple Machines Forum
Polish Suport for TinyPortal
RicoRoco.com

Imagination is more important than knowledge...
Albert Einstein

Last News from: TinyPortal.net
Geo Visitors Map  
28.03.2024, 12:58:05