CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 How can I let users select the template?

Print topic Send  topic

Author Message
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.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.