On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Multiple values in 'extension'?

I have a template that can generate either .HTML or .ASP documents. Is it possible to specify more than one extension in the template.cfg to allow this?

Comments

  • You can have multiple <template> tags under the <presentation> tag in templating.cfg. By doing this you can set one template to have the .asp extension and the other to have the .html extension (even if the template is effectively the same template).

    I don't think you can have multiple extensions for one template. The templating subsystem determines the extension based on the templating.cfg file. If there were multiple extensions, that would be ambiguous.