FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=30390&th=6221#msg_30390
hints did not solve our problem.
We've used FUDforum 2.3.4 with relative links (WWW_ROOT = /FUDforum2/) without problems. To get popup windows (like password change) working we commented 'BASE HREF' out in header.tmpl (header_plain).
Now we've upgraded to 2.7.4 and relative links are not working via IE (all links are http:///FUDforum2/).
Because our site is reachable under 2 addresses via http and https I cannot change WWW_ROOT in GLOBALS.php to "http://" . $_SERVER['HTTP_HOST']."/";
If I set WWW_ROOT without 'http://' I can reach our site via https but all links are still http://
Can anyone help ?!
Thanks
Horst]]>horst2006-02-22T10:07:44-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=30395&th=6221#msg_30395
Ilia2006-02-22T15:18:53-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=30399&th=6221#msg_30399
Now we solved the Problem.
We had to comment out (or delete) BASE HREF="{FULL_ROOT}" in header.tmpl (header and header_plain).
Now relative links (WWW_ROOT = /FUDforum2/) also work's via IE.
Cheers
Horst]]>horst2006-02-22T17:51:28-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31070&th=6221#msg_31070
Please PM me or reply to my post regarding "IE link bug...".]]>empororvader2006-03-30T15:06:24-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31079&th=6221#msg_31079
Ilia2006-03-30T19:59:47-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31088&th=6221#msg_31088
For example, sould the HREF url be the url of the forum page itself ("http://www.somesite.com/fud/forum_page.php"), the base ("http://www.somesite.com/") of the site, or a library page (something from MS IE) to make it work for IE links? ]]>empororvader2006-03-31T15:13:05-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31098&th=6221#msg_31098
<BASE HREF="http://fudforum.org/forum/">
If you do not, that could explain your JavaScript troubles. The value of the href attribute should be the full URL of your forums.
You can check for the presense of this tag by doing view source in your browser on any of your forum's pages.]]>Ilia2006-04-01T18:02:45-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31538&th=6221#msg_31538
empororvader2006-05-04T21:31:08-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31549&th=6221#msg_31549
Ilia2006-05-06T16:35:17-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31580&th=6221#msg_31580
Has anyone else had this problem? If so, what solved the problem? And has the problem ever returned later? ]]>empororvader2006-05-08T21:57:01-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31607&th=6221#msg_31607
Ilia2006-05-09T22:20:48-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31610&th=6221#msg_31610
What is funny is that for a small time, it was fixed, then came back. It came back about a week later. Could a recent Java update that WINDOWS XP updates regularly have imposed a new problem or backstepped to it?
UPDATED: I just confirmed the error does not happen through this forum.
For my information, would having two <base> tags nested cause a problem? Of course, it seems odd that this is the one and only forum bug we have...I would think if nested templates were a problem, more would go wrong than one very specific and not always performed set of tasks. Below might help you understand what I'm refering to:
//our general template that contains the forum output...
< html>
< head>
< base.....>
< /head>
< body>
.
.
.
//general and dynamic code within our template
.
.
//FUD TEMPLATE picked by FORUM coding inserted in our template
< html>
< head>
< base.....>
< /head>
< body>
.
//FUD coding here
.
< /body>
< /html>
//TEMPLATE DONE....entire forum output placed in our template
//back to our coding and template form...mainly our page footer
.
.
.
< /body>
< /html>]]>empororvader2006-05-09T22:39:02-00:00Re: Problem Relative Links, IE
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31623&th=6221#msg_31623
Ilia2006-05-10T12:59:07-00:00