TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,992
  • Total Topics: 21,323
  • Online today: 569
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 378
  • Total: 378

Creating Pages

Started by Brandon05, October 05, 2008, 03:31:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brandon05

Simple question deserves simple answer.  I can code the pages but dont know how or where to do it at?


Ianedres

My suggestion would be to use the php-type article to display your pages.

Design your page as you want, and the place it on your server; you can then use the php 'include' statement in the php article to get the page on the screen.

By naming the query title of your article (you have to save it first before it appears) you directly reference the page with your portal wrapped by specifying "index.php?page=" and the title.

You can edit the page in your design application and TP will get the latest version you saved on every request.

Using the include will require a relative path to the file, by referencing it as it relates to your location of the SMF index.php file.. 

This website is proudly hosted on Crocweb Cloud Website Hosting.