Author Topic: simple question about page format..(help)  (Read 5652 times)

0 Members and 1 Guest are viewing this topic.

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
simple question about page format..(help)
« on: August 17, 2005, 06:02:58 PM »
if i change home.html to home.shtml  this still working ????

how can i change to shtml....

 :roll:

TheOracle

  • Guest
Re: simple question about page format..(help)
« Reply #1 on: August 18, 2005, 01:49:39 AM »
In your index.php file,

find :

Quote

$main_template = "home";


replace with :

Code: [Select]

$main_template = "home.shtml";


Then, in your templates/<your_template>/index.html

to :

index.shtml.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: simple question about page format..(help)
« Reply #2 on: September 22, 2005, 01:09:03 AM »
actualy it wont work that way, TheOracle, because 4images will look for home.shtml.html template instead.
The templates extension is set in includes/template.php:
Code: [Select]
  var $template_extension = "html";
P.S. why would u want to change the extension in the first place?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: simple question about page format..(help)
« Reply #3 on: September 22, 2005, 02:14:16 AM »
well , i've tried that because smf (ssi functions) but actually i'm using the Dreamboard addon .. so isn't necessary anymore ;)

But thanks :)

Offline Xyu BAM

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Re: simple question about page format..(help)
« Reply #4 on: September 22, 2005, 02:43:18 AM »
well , i've tried that because smf (ssi functions) but actually i'm using the Dreamboard addon .. so isn't necessary anymore ;)

But thanks :)
it doesnt metter what extension template is using, the browser will NOT know about it existens anyway...