> I seem to be having problems using the conditional statements in my modified templates. The two I'm trying to use are: > > %%include%%advert.htm%% > %%ifdef%%b_search%% > > In each case, either adver.htm%% or b_search%% gets outputted to the screen. Does anyone know of any limitations due to the surronding html or anything else that could cause this problem. Oh, oddly enough everything works okay with the supplied template file. I can post my custom html page if necessary.
Hi, I suggest you upgrade to the latest version of dnewsweb and see if the problem still exists. If so, post the template and your advert.htm and we will see if we can spot the problem. Check advert.htm is in the right directory, and that permissions are set appropriately for dnewsweb to access it (even if this is not the case, you should not be seeing any of these things in the output). Thanks, - Roydon L.
