devshb
Senior Member
United Kingdom
1904 Posts |
Posted - April 19 2004 : 12:47:27
|
if the url that's being loaded in the browser window has a .asp suffix, then its entire contents (including all included files) will also be treated like asp. but i've yet to find a way of using includes in html parent files which works; rename your main (parent) page to an asp and all should be fine.
but, if you're talking about the template files, that's different; embedded asp in those might not get treated/processed like a normal include as it's simply read+pasted by the template-writing asp code.
if you want to add quite complex-derived dynamic text in the actual templates, you'll probably need to change shopfileio.asp and add a new special-field code and a corresponding function that prints the relevant html, and then use that special-field in the template.
I'm not sure exactly what you mean by "header" (ie per-product, or a browser header/title, or a top-page header etc), but I've recently been working on dynamic content for vpasp stuff, where you can make pretty much any part of the pages context-sensitive depending on product/category etc. If that's the kind of thing you're after, feel free to email me.
Simon Barnaby Freelance Developer Java-E UK [email protected]
Edited by - devshb on April 19 2004 12:55:48 |
|
|