kwallenbeck
Posts: 3
|
Posted: 02/02/2004, 4:51 PM |
|
Please take a look at the following. I think what is happening is that this is the footer file and because of that the MyCode object is created in the common include which the footer include does not have access to yet while trying to run this code. If this is correct. What can we do to get around it? Can we create the object ourselves? If so where is it and what is it called?
Thanks:)
footer_events.asp
<%
Function Footer_BeforeShow() 'Footer_BeforeShow @1-A7B54936
'Custom Code @2-73254650
' -------------------------
Dim CustomFooterBlock
Set CustomFooterBlock = Tpl.Block("MyCode")
If CInt(Session("IsMaster")) = CInt(1) AND Session("GroupID") <> "" Then
CustomFooterBlock.Variable("IsMaster") = "test"
CustomFooterBlock.Parse ccsParseOverwrite
Else
'CustomFooterBlock.Variable("IsMaster") = "test"
'CustomFooterBlock.Parse ccsParseOverwrite
End If
' -------------------------
'End Custom Code
End Function 'Close Footer_BeforeShow @1-54C34B28
%>
Error on Pages
Microsoft VBScript runtime error '800a01a8'
Object required: 'CustomFooterBlock'
/admin/Footer_events.asp, line 9
_________________
Kevin Wallenbeck
fltgroup.com / hesonline.com |
|
|
peterr
Posts: 5971
|
Posted: 02/02/2004, 11:00 PM |
|
Please try to keep the forums "clean" by posting to the appropriate forums. This will also help you find other users who possibly can answer your questions. Since this looks like an ASP programming issue I recommend posting to ASP Forum.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|