Back to TF Net

From: Daniel Raguse <Daniel_Raguse@sp
To: Daniel O'Leary, all
Subject: SPML Templates and Embeded conf
Date:Fri, November 20, 1998 03:02 PM


Daniel,

I have solved the broken image problem with my conferences. It was a subtle change that seems to have fixed it. The links, however, are still not working. What's happening is that each time a user accesses the BBS from the web and goes to a conference that is more than one directory deep, the "Back to (directory name)" link does not function. According to the error page (and the web server log), the name of the directory is getting duplicated in the URL, thus making it non-functional. For example:

A user goes to our BBS page and clicks the "Workshop Leaders" link, which prompts them for a password. They are presented with three items: Files (a folder), Leader News (a conference), and Programs (a folder). If they click on Programs, it takes them to another series of folders: Box It or Bag It Math, Bridges, Math Alive, MME and Opening Eyes. If they click on Math Alive for example, it takes them to an area with four items: MA Files (a folder), MA Materials (a conference), MA WrkShps (a conference) and Roundtables (a folder). If they click on one of the conferences, that is where the problem starts to arise. The MA Materials conference, for example, will present them with a "Back to Math Alive" link generated by the following code in the topic.spml file:

<!-- #if DIRNAME -->
<a href="<!-- #echo PARENT_LOCATION --><!-- #echo DIRNAME -->/"> Back to <!-- #echo DIRNAME --> </a> <br>
<!-- #else -->
<a href="<!-- #echo PARENT_LOCATION -->"> Back to <!-- #echo PARENT_LOCATION --> </a> <br>
<!-- #endif -->

The link, however, gives the name of the directory, in this case "Math Alive" appended twice on the end of the URL, like so: http://bbs.mlc.pdx.edu/leaders/Programs/Math%20Alive/Math Alive/
which is incorrect. This only happens on conferences that are more than one directory deep. Is there something wrong with my code here?

I'd like to take a look at your active pages. What is the URL for your website?

On 11/19/98 4:06 PM, Daniel O'Leary wrote:

>Daniel:
>
>I have not noticed the problem with the templates to which you are
>referring, other than the "home please" gif was not referenced properly.
> I have not installed the 5.7 release version so I do not know what
>those templates look like. I have created modified versions of
>topic.spml, dir.spml, error.spml, unauthorized.spml, and also created
>some new headers and footers for use with them, that I used with the
>beta versions of 5.7. If you are interested, you can get them from my
>site.
>
>



14


Running TeleFinder Server v5.7.
© Copyright Spider Island Software