rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Anonymous on November 01, 2005, 05:07:34 PM

Title: Is this possible?
Post by: Anonymous on November 01, 2005, 05:07:34 PM
Howdy...

I'm trying to create a webpage about myselft but u dont want to create a separate page in html, i want to to put source code inside tpl file like

[about]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>

<head>
<style>
a:link         {font:8pt/11pt verdana; color:red}
a:visited      {font:8pt/11pt verdana; color:#4e4e4e}
</style>

and when somebody uses this link it will show about me page

http://127.0.0.1/~about

Is that possible ? or is it on to do list?

and on more thing....PAGE NOT FOUND - Server dont show custom page not found ... for some reason....

Thanx
Title: Is this possible?
Post by: rejetto on November 01, 2005, 05:51:49 PM
that's not the way to do it.
you got to create the page in an html file, and publish that file, then link it.
you should not put everything in the template.
if you don't want that file to be listed, you can hide it.
Title: Is this possible?
Post by: Anonymous on November 01, 2005, 10:59:54 PM
Howdy...

thats what i'm doing right now...html files which are in hidden folder but i'm just asking if that is possible...html pages in ...template.?
Title: Is this possible?
Post by: Bugs Bunny on November 02, 2005, 02:47:28 AM
Quote from: "Anonymous"
i'm just asking if that is possible...html pages in ...template.?
Sure it is possible but definitely not the right place to put them and would probably cause you headaches sooner or later.  Just make a standalone html then link it from your template.
Title: Is this possible?
Post by: rejetto on November 02, 2005, 04:26:30 AM
Quote from: "Anonymous"
i'm just asking if that is possible...html pages in ...template.?
not possible until you change HFS source