rejetto forum

Is this possible?

Guest · 5 · 4927

0 Members and 1 Guest are viewing this topic.

Anonymous

  • Guest
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


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13524
    • View Profile
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.


Anonymous

  • Guest
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.?


Bugs Bunny

  • Guest
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13524
    • View Profile
Quote from: "Anonymous"
i'm just asking if that is possible...html pages in ...template.?
not possible until you change HFS source