This topic is locked

TEmplate change

6/21/2006 4:01:54 PM
ASPRunnerPro General questions
B
barljo00 author

I'm using a front end menu via FrontPage and link to each of the 4 ASPRunner projects. WHen I'm in the ASP pages, I can only go back to the master table. I'd like to add a link to get to the main FP menu on each page. I've looked at the template editor and don't know where to make the change.
Tks,

Joan

K
kat 6/22/2006

Joan,
to add a link to get to the main FP menu on each page you can use header.asp file for example.

Create it using any text editor, put your link there and save this file in output/include directory. It will be displayed on all generated ASP pages.
If you like these header will be added to all generated ASP projects automatically you need to put these files to C:\Program Files\ASPRunnerpro\source\include directory.

B
barljo00 author 6/23/2006

Joan,

to add a link to get to the main FP menu on each page you can use header.asp file for example.

Create it using any text editor, put your link there and save this file in output/include directory. It will be displayed on all generated ASP pages.
If you like these header will be added to all generated ASP projects automatically you need to put these files to C:\Program Files\ASPRunnerpro\source\include directory.


In the Template Editor, I added a new file called Header.asp. In this file, I added the following code:

%>
<html>

<head>

<link href="d:\inetpub\wwwroot\hsQR\SETDMeetings\PWT_Menu.htm">

</head>
<% ">

</head>
<%
What do I have to do to get this picked up?
Tks,

Joan

K
kat 6/26/2006

Joan,
put this code into header.asp file:

<html>

<head> <title>PWT_Menu</title></head>

<body>

<a href="d:\inetpub\wwwroot\hsQR\SETDMeetings\PWT_Menu.htm">PWT_Menu</a>

</body>

</html>


Save this file in your output/include directory. Rebuild the project.

You'll see the PWT_Menu link on the top of the each generated ASP page.

B
barljo00 author 6/26/2006

Joan,

put this code into header.asp file:
Save this file in your output/include directory. Rebuild the project.

You'll see the PWT_Menu link on the top of the each generated ASP page.


Still isn't showing up on the generated ASP pages.

Joan

K
kat 6/27/2006

Joan,
try to save the link only in the header.asp file:
<a href="d:\inetpub\wwwroot\hsQR\SETDMeetings\PWT_Menu.htm">PWT_Menu</a>
without other tags.

B
barljo00 author 6/27/2006

OK, we're getting close. THe link does appear on each page, but it won't go to the menu page when clicked. It shows as file:///d:\inetpub\wwwroot\hsQR\SETDMeetings\PWT_Menu.htm">PWT Menu when you hover over it.
Joan

Sergey Kornilov admin 6/27/2006

Joan,
try to change link to relative path:

<a href="PWT_Menu.htm">PWT_Menu</a>