4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: beseech on August 17, 2005, 06:02:58 PM

Title: simple question about page format..(help)
Post by: beseech 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:
Title: Re: simple question about page format..(help)
Post by: TheOracle 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.
Title: Re: simple question about page format..(help)
Post by: V@no 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?
Title: Re: simple question about page format..(help)
Post by: beseech 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 :)
Title: Re: simple question about page format..(help)
Post by: Xyu BAM 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...