Author |
Topic |
|
symon
Starting Member
27 Posts |
Posted - 20 April 2006 : 09:32:11
|
Hi,
Bear with me as I'm not very asp intelligent
I've recently used snitz for a client and I dropped each page code into an html coded fram so the whole forum is surrounded in the style of the site and it's working great apart from one thing.
The default.asp looks fine as does the post.asp. However, other pages aren't looking how they should. The closing tags of the table surrounding the asp script aren't working!
Is there a little bit of code that can close the asp script and allow the html table tags to close?
Here's a basic example:
<table><tr><td> asp code </td></tr></table>
As I say the default and post asp files work great with html wrapped around it but the others are causing the close tags to not be recognised.
Can anyone solve this for me or offer a possible solution?
Hope it's clear.
Many thanks
Sy |
MODs Installed: Clipped URL by MarcelG Resized image by MarcelG Resized profile image by MarcelG |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 20 April 2006 : 09:36:17
|
Sounds like you're looking for the Site Integration Mod, available over at SnitzBitz or here, in the Mod (W/Code) forum. For future reference, a link is usually the best way of illustrating what you're trying to explain
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
symon
Starting Member
27 Posts |
Posted - 20 April 2006 : 11:52:54
|
Thanks shaggy,
I've done this and although it pretty cool I'm wanting to put the code inside a table. This doesn't allow it :(
Here's the link:
here
The default.asp and login.asp works great but if you move around - like for example go to register - you'll see it loses the end tags off the code. Some of the asp is not allowing the tags to end.
I've done the same for each .asp part of snitz. Pasted the whole text inside a table. 20% works 80% loses code. Can't believe nobody has complained yet!! |
MODs Installed: Clipped URL by MarcelG Resized image by MarcelG Resized profile image by MarcelG |
Edited by - symon on 20 April 2006 11:54:11 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 20 April 2006 : 12:14:09
|
There's nothing to complain about that's why. The reason I recommended the site integration mod, and still do, is because it will make your task a lot easier. What's happening now is that you're effectively placing an HTML document within another HTML document, resulting in duplicate html and body tags, etc. with some of your customised HTML appearing below the forum's closing body and html tags. Using the site integration mod, you can place all your HTML in the include files provided to achieve what you want.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
symon
Starting Member
27 Posts |
Posted - 20 April 2006 : 16:39:39
|
Thanks very much for your time shaggy...it's much appreciated. My concern is that I'd have to have a left, top , right, and bottom layout to make it work. Unfortunately I need it to sit in 2 tables with one having a 2px cellspacing. This overcomes the inability for Firefox to display borders.
I could use the top and bottom ones for the top header and footer but the left and right asps wouldn't help (I see I can switch em off) and I'd be really back to square one as I'd still have to sit each script in my table. Am I missing something?
The forum works great though....it's just if you go to the profile or FAQ (to name a few) that the problem is evident. :) |
MODs Installed: Clipped URL by MarcelG Resized image by MarcelG Resized profile image by MarcelG |
|
|
symon
Starting Member
27 Posts |
Posted - 21 April 2006 : 05:32:27
|
The asp on the problem pages ends:
end if end function %>
And then the browser ignore the rest after:
</td> <td background="../assets/frame-right.gif"> </td> </tr> <tr> <td><img src="../assets/frame-bl-corner.gif" alt=" " width="20" height="20"></td> <td background="../assets/frame-bottom.gif"> </td> <td><img src="../assets/frame-br-corner.gif" alt=" " width="20" height="20"></td> </tr> </table></td> </tr> </table>
As this doesn't happen on default.asp I was just wondering if there was a bit of code I could put in at the end of the asp script which would allow the browser to read the closing of the html? :)
I did say I wasn't an asp guru ;) hehe |
MODs Installed: Clipped URL by MarcelG Resized image by MarcelG Resized profile image by MarcelG |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 24 April 2006 : 08:13:17
|
The problem isn't related directly to your ASP , the problem is that your own HTML appears after the outputted files' closing body and html tags meaning the browser won't read or render them.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
symon
Starting Member
27 Posts |
Posted - 25 April 2006 : 04:18:11
|
:( So why is it ok on the default and a few others? I hope my ignorance isn't bugging you but all the html closing tages after the script are still before the body closing tags. Thanks for you help :) |
MODs Installed: Clipped URL by MarcelG Resized image by MarcelG Resized profile image by MarcelG |
Edited by - symon on 25 April 2006 04:46:19 |
|
|
|
Topic |
|