Template parameters

message from philipfjames on 24 Jul 2004
According to the documentation I can have a template parameter of type string
but when I declare one, dreamweaver complains.

<!-- TemplateParam name="membertype" type="string" value="none" -->

gets me the error message "Bad type name for template parameter (should be
boolean, number, etc).

Very helpful with the etc guys!

Anyone know whats wrong?
 
Murray *TMM* replied to philipfjames on 24 Jul 2004
If you saw that in the documentation, either the documentation is wrong, or
you need new glasses -

<!-- TemplateParam name="membertype" type="text" value="none" -->

The allowed types are -

1. Text
2. Boolean
3. Color
4. URL
5. Number
 

Archived message: Template parameters (Macromedia Dreamweaver)