B.
|
| Posted: 11/18/2002, 2:53 AM |
|
Hello.
I'm new here. I have built a web using ASP w/ templages. I now have 3 templates and wanna let users choose whichever they want. How can I do? Do you guys have any ideas?
Thank you very much for your help.
|
|
|
 |
B.
|
| Posted: 11/18/2002, 4:59 AM |
|
I have tried but it doesn't work for all pages. There is an error on some pages.
What I did are:
1. I queried the template directory from the db and
2. @line "HTMLTemplate.LoadTemplate ScriptPath & TemplateFileName" -> I have changed it to "HTMLTemplate.LoadTemplate ScriptPath & TemplateDirectorys & TemplateFileName"
Then I found the error that is
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'Template' @ class.asp
Sub Show(Template)
Dim NeedShow
-> Set TemplateBlock = Template.Block(Name)
If TemplateBlock Is Nothing Then
Has anyone had an experience like this? Any helps would be appreciated.
|
|
|
 |
|