Hello
recently i saw a site
http://www.ishopvegas.com/Henderson/Index.tpl?cm=HE
wondering how this .tpl is called in the browser. Can we do the same in php?
any useful resource available?
regards
sathish
How can i make this?
Moderator: General Moderators
yes you can do the same in php
what is a .tpl? template?
if so, they might not have used a template, it could just be direct output from sql queries/html pages.
what is a .tpl? template?
if so, they might not have used a template, it could just be direct output from sql queries/html pages.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Why not use
That in the URL would look like
http://example.com/index.php?page=yourpage and where the code is it will load the TPL.
and index.php will load your normal home.tpl page.
Code: Select all
<?php
if $page = "" {
include = "home.tpl";
} else {
include = "$page.tpl";
?>http://example.com/index.php?page=yourpage and where the code is it will load the TPL.
and index.php will load your normal home.tpl page.
-
sathumenon
- Forum Newbie
- Posts: 5
- Joined: Wed Mar 08, 2006 3:02 am
Hello
Thanks for the replies!
I am trying to run a .tpl file first of ..if it works.. will get back to U..
And if it not works.. still I will hav to be here
Regards
Sathish
I am trying to run a .tpl file first of ..if it works.. will get back to U..
And if it not works.. still I will hav to be here
Regards
Sathish