I have placed the code that relates to pulling in the content to be displayed
on the page below. As you say Stephen, it only has to do with the "links"
pages, and I haven't changed the code within the links pages since the site was
first uploaded. The links page is just a basic query that grabs the info from
the database and displays it on a page.
<!--spacer!--><cfif #page# is not 'links'>
<cfquery name="side" datasource="kdc.wa.gov.au">
select * from pages where '#page#'= url
</cfquery>
<cfoutput query="side">
<cfif sidebar is 0>
<td>
<!--content!-->
<cfinclude template="content/#page#.cfm">
</td>
<!--spacer!-->
<cfelse>
<td width=416>
<!--content!-->
<cfinclude template="content/#page#.cfm">
</td>
<td><img alt="" border=0 height=1 hspace=0
src="images/trans1x1.gif" width=1></td>
<td background="images/dots_vert.gif" width=1 ><img alt=""
border=0 height=1 hspace=0 src="images/trans1x1.gif"
width=1></td>
<td><img alt="" border=0 height=1 hspace=0
src="images/trans1x1.gif" width=10></td>
<td > <br>
<cfinclude template="add/#sidebar#.cfm">
</td>
</cfif>
</cfoutput> </tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0" summary="page
layout table">
<tr bgcolor=white>
<td class=t width="60%" align=right><br>
<img src="images/arrow_left.gif" border=0 alt=""> <a class=link3
href="javascript:history.go(-1)">Back</a>
| </td>
<td class=t ><br>
<a class=link3 href="#top">Top</a> <img src="images/arrow_up.gif"
border=0 alt=""></td>
</tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0" bgcolor=white
summary="page layout table">
<tr>
<td bgcolor=white><img src="images/trans1x1.gif" height=15 border=0
alt=""></td>
</tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0" summary="page
layout table">
<tr bgcolor=666666>
<td class=tp><cfoutput query="side"> Page Last Verified
#DateFormat('#created#','mmmm
d yyyy')#</cfoutput></td>
<td ><img src="images/trans1x1.gif" width=110 height=1 border=0 alt=""></td>
<td ><a class=menutop href="index.cfm?menu=196&page=copyright">Copyright
: </a></td>
<td ><a class=menutop href="index.cfm?menu=197&page=disclaimer">Disclaimer
: </a></td>
<td ><a class=menutop href="index.cfm?menu=198&page=privacy">Privacy
Statement
: </a></td>
<td > <a class=menutop href="http://www.wa.gov.au">Government of Western
Australia</a></td>
</tr>
</table>
<cfelse>
<!--content!-->
<cfinclude template="content/#page#.cfm">
<table width="774" border="0" cellspacing="0" cellpadding="0" summary="page
layout table">
<tr bgcolor=white>
<td class=t width="60%" align=right><br>
<img src="images/arrow_left.gif" border=0 alt=""> <a class=link3
href="javascript:history.go(-1)">Back</a>
| </td>
<td class=t ><br>
<a class=link3 href="#top">Top</a> <img src="images/arrow_up.gif"
border=0 alt=""></td>
</tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0" bgcolor=white
summary="page layout table">
<tr>
<td bgcolor=white><img src="images/trans1x1.gif" height=15 border=0
alt=""></td>
</tr>
</table>
<table width="774" border="0" cellspacing="0" cellpadding="0" summary="page
layout table">
<tr bgcolor=666666>
<td ><img src="images/trans1x1.gif" width=300 height=1 border=0 alt=""></td>
<td ><a class=menutop href="index.cfm?menu=196&page=copyright">Copyright
: </a></td>
<td ><a class=menutop href="index.cfm?menu=197&page=disclaimer">Disclaimer
: </a></td>
<td ><a class=menutop href="index.cfm?menu=198&page=privacy">Privacy
Statement
: </a></td>
<td > <a class=menutop href="http://www.wa.gov.au">Government of Western
Australia</a></td>
</tr>
</table></cfif>
Thank you for your help.
Cheers, Beth
> Beth Hales wrote:
>
> >Many thanks for your reply, however with the code that is written, it
> places the links page within the <td> </td> tags.
> >
> I hate to say it, but something must be going wrong with the code
> somewhere, because the output that you're getting does not put the
> list
> of links between TD tags.
>
> I did a little more investigation into the output that is created and
>
> displayed in the page that you gave a link to.
>
> I managed to take all of the headers, footers, menus and content out
> in
> ten correctly structured tables. What I was left with in the body of
>
> the page was this:
>
> Extracted Code starts here 8<----------------------------
> <table border="0" cellspacing="0" cellpadding="0" bgcolor="ffffff"
> width=774 summary="page layout table">
> <tr valign=top>
> <td><!-- start left nav menu !--></td>
> <!--spacer!-->
> <td><img alt="" border=0 height=1 hspace=0 src="images/trans1x1.gif"
> width=10></td>
> <td background="images/dots_vert.gif" width=1 ><img alt="" border=0
> height=1 hspace=0 src="images/trans1x1.gif" width=1></td>
> <td><img alt="" border=0 height=1 hspace=0 src="images/trans1x1.gif"
> width=15></td>
> <!--spacer!-->
>
> <!--content!-->
> Extracted Code ends here 8<----------------------------
>
> Something in the code is causing the content area TD to go missing as
>
> well as the end of the row and the end of this central table.
>
> Having had a bit of a flick around some of the other pages in your
> site
> it does appear to be directly related to the code for creating these
> directory listings. eg. where page=links is in the URL.
>
> I can only suggest that you take a closer look at the links page or
> you
> might post some code if you would like a second pair of eyes to look
> it
> over.
>
> Hope that narrows things down a little more.
>
> Regards
>
> Stephen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1181
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54