I'm glad there is a webclass forum here. as there is no message for the moment, i put some tips here, hopping they will help
Basics :
To launch a template (myTemplate) you need to put this code in the myTemplate_Respond this way :
Private Sub SearchResult_Respond()
myTemplate.WriteTemplate
End Sub
to define the next webitem that will be launched use :
webclass.nextiem = your_next_page
to write with webclasses in your template :
put the tag in your web page :
<WC@TAG_NAME></WC@TAG_NAME>
when you will launch webclass, VB will replace this tag by the content you have specified.
To specify the contents of the tag do this :
YourWebtime_ProcessTag
Select Case TagName
Case "WC@TAG_NAME1"
TagContents = Function1()
Case "WC@TAG_NAME2"
TagContents = var
End Select
End Sub
your function MUST return a string
and of course your variables must be strings
Hope that was helpfull Best regards X-),
Elise
Basics :
To launch a template (myTemplate) you need to put this code in the myTemplate_Respond this way :
Private Sub SearchResult_Respond()
myTemplate.WriteTemplate
End Sub
to define the next webitem that will be launched use :
webclass.nextiem = your_next_page
to write with webclasses in your template :
put the tag in your web page :
<WC@TAG_NAME></WC@TAG_NAME>
when you will launch webclass, VB will replace this tag by the content you have specified.
To specify the contents of the tag do this :
YourWebtime_ProcessTag
Select Case TagName
Case "WC@TAG_NAME1"
TagContents = Function1()
Case "WC@TAG_NAME2"
TagContents = var
End Select
End Sub
your function MUST return a string
and of course your variables must be strings
Hope that was helpfull Best regards X-),
Elise