Total Users Online: 0 üye, 139 guest | Tarih/Saat: 2025-04-29 07:34
Including content in the pages or the skin files
Inlcude foreign HTML datas into your pages.
Including content in the pages or the skin files
Inlcude foreign HTML datas into your pages.

Including a TPL file into another TPL file :

In the skin files you can put includes with a special tag as follow :

Kod:
{FILE "skins/manta/mytext.tpl"}


Be sure the the path to the file inside the quotes is relative to the Seditio HTML root.
The sample above is for the Manta skin, remember to replace it with your own skin code !


Parsing the body of a page as HTML code :

By default a page (page.php) is set to the parsing mode "Default".
When you edit the page, switch it to "HTML" so it will see the body of the page as pure HTML code.


Including a whole HTML file into a page :

For pages (page.php) there's a special feature, with a special code it can pick up the content of an HTML file as body of the page, simply place this line alone at the beginning of the body :

include:mytext.html

The html file must go into the folder : datas/html/
Actually there can be only one include per page.


Redirect from a page to another URL :

You can also redirect to an URL, simply put the word "redir:" (without the quotes) at the very beginning of the body of the page, followed by the targeted URL, like this :

Kod:
redir:http://www.yourdomain.com/anotherpage.html


Be warned that to edit this page later, you'll have to directly type the edit URL with the ID number of the page, as you won't be able to directly reach it :

Kod:
http://www.yourdomain.com/page.phpşm=edit&id=1234
]

Henüz yorum yapılmamıştır.
Including content in the pages or the skin files
Author: Kaan
Date: 2009-12-28 11:47
Comments: (0)
Benzer SayfalarYorum
Hellsing - LDU Skin2
Seditio Beauty Skin1
Show Ratings on Pages0
New pages (by path)0
User's pages0
Optional skin files2
Halloween skin0
 
Powered by Seditio © 2009-2012 All Rights Reserved