General information
Category:
West Wind Web Connection
>>>Is there a way in a template to include a file. I have this header that I would like several templates to use. For now, I have to paste it in every file. As this is a template, the ASP include command doesn't work. Is there a way to do that?
>>
>>Michel --
>>
>>A long answer would be to create your own preprocessor in VFP. Wouldn't be too hard.
>>
>>FOR X = 1 TO list of files to open.
>> FileToStr()
>> Search for Include directive.
>> IF Include directive found
>> FileToStr()
>> Insert string in place of directive.
>> ENDIF
>>ENDFOR
>
>This is what I am already doing. I was wondering if there would be a syntax in WWC which would have supported that at the template level.
Sorry -- don't know.
Jay
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only