Author |
Topic  |
|
bgrex
Starting Member
Australia
29 Posts |
Posted - 10 September 2004 : 07:00:01
|
I have a question I have fixed the problem with sending email to new pending members, but now is there a way to get the link that returns them to the forum to be set so that it can them to the forum that is in a frameset, as My site forum is set inside a frameset one having many links to all different pages and the other which is the main content part of the site where all the details are shown including the forum.  |
|
Nertz
Junior Member
 
Canada
341 Posts |
Posted - 10 September 2004 : 08:07:50
|
Done that at our church website, and I might be able to help you.
You will need to make your frameset document an asp file. Within the <head> </head> tags, insert the following code:
<%
If Request("main") = "" Then
pgMain = "your default page"
Else
pgMain = Request("main")
End If
%>
In the frameset definition, edit the source parameter for the frame where your forums appear like this:
<frame name="your frame's name" src="<%=pgMain%>" target="_self">
Finally, change the forum URL in admin option / main config to:
http://your site/your frameset doc.asp?main=/your forums folder/
and also change the home URL to:
/your home page/ (without "http://your site")
good luck!
cheers, Nat
|
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
Edited by - Nertz on 10 September 2004 08:16:17 |
 |
|
bgrex
Starting Member
Australia
29 Posts |
Posted - 11 September 2004 : 00:18:43
|
Nertz Tried your code and was not able to get it to work, will get back to you with the changes I made. Strated with this
<meta name="keywords" content=""> </HEAD> <FRAMESET frameBorder=0 frameSpacing=0 rows=27,85><FRAME name=directory src="controls.asp" noResize><FRAME name="view box" src="content1.asp"><NOFRAMES> <BODY> Viewing this page requires a browser capable of displaying frames. </BODY> </NOFRAMES></FRAMESET></HTML>
Changed to this <meta name="keywords" content=""> <% If Request("main") = "" then pgMain = "content1.asp" Else pgMain = Request("main") End If %> </HEAD> <FRAMESET frameBorder=0 frameSpacing=0 rows=27,85><FRAME name=directory src="controls.asp" noResize><FRAME name="view box" src="<%=pgMain%>" target="_self" ><NOFRAMES> <BODY> Viewing this page requires a browser capable of displaying frames. </BODY> </NOFRAMES></FRAMESET></HTML> no luck with this. |
Edited by - bgrex on 11 September 2004 00:25:37 |
 |
|
Nertz
Junior Member
 
Canada
341 Posts |
Posted - 11 September 2004 : 07:50:09
|
What do you mean didn't work? Do you have a link I can look at?
Nat |
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
 |
|
bgrex
Starting Member
Australia
29 Posts |
Posted - 11 September 2004 : 21:51:34
|
Nertz the following is the link to my site http://www.sdsfa.com/home.html but at this time I have not place the forum open to the public as the committee has requested to keep it off limits until futher notice, as I'm still working all things out as you can see. |
 |
|
Nertz
Junior Member
 
Canada
341 Posts |
Posted - 13 September 2004 : 08:12:09
|
bgrex,
I'd like to help you get this working, but I'm lacking info why it didn't work. If you did exactly what you show above, it should have worked. After you inserted the asp code into home.html, did you rename home.html to home.asp? I tried looking for home.asp at your site but came up with a 404. home.asp should become your default site document.
cheers, Nat |
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
 |
|
bgrex
Starting Member
Australia
29 Posts |
Posted - 14 September 2004 : 04:05:39
|
Nat I am at a loss as to why it didn't work, I retried without success again, but this time I left the home.asp in the domain, when opened shows the controls.asp but nothing in the main content frame.
cheers Bruce |
 |
|
Nertz
Junior Member
 
Canada
341 Posts |
Posted - 14 September 2004 : 08:45:21
|
Bruce,
I just tried the home.asp on your site, and it loaded fine, both frames with the default content. Home.asp is doing exactly what it is supposed to do, and the links in the top frame worked and changed content in lower frame. I was even able to specify the default page to load in the lower frame from the URL as a parameter to home.asp like this: http://www.sdsfa.com/home.asp?main=/results_draw/resultsTable1view.asp?key=37 or http://www.sdsfa.com/home.asp?main=/archives.html
cheers, Nat
|
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
 |
|
Nertz
Junior Member
 
Canada
341 Posts |
Posted - 14 September 2004 : 08:50:38
|
Bruce,
FYI.... Just noticed your forums folder has a space in it, and you won't be able to pass it as a parameter to home.asp
cheers, Nat |
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
 |
|
bgrex
Starting Member
Australia
29 Posts |
Posted - 14 September 2004 : 20:10:01
|
Hi Nat Thanks for that information, can see that it now works, again thanks. |
 |
|
Nertz
Junior Member
 
Canada
341 Posts |
Posted - 14 September 2004 : 20:24:40
|
Bruce,
You're welcome... Glad you got it working... but just for my sanity, was it the space in the folder name the problem?
cheers, Nat |
Sadly, most Family Court Judges wrongfully reward opportunistic gold diggers that use our children unjustly as "instruments" of power.
www.fathers-4-justice-canada.ca |
 |
|
bgrex
Starting Member
Australia
29 Posts |
Posted - 15 September 2004 : 04:01:57
|
Nat you may keep you sanity, it wasn't the space.  I altered a line in the controls.asp from  <align=center><A FRAME name="view box" to this,
<align=center><A FRAME name="view box" src="<% = pgMain %>" target="_self" ></a>  by doing this all my links then opened the pages within the lower frame including the forum page. could not have done any of this without your code and help many thanks. Bruce  |
 |
|
|
Topic  |
|