aborting DTML parsing partway through a document.
21 Apr
1999
21 Apr
'99
4:21 a.m.
I've got a product that gets included at the top of a document, with, eg, <!--#var mpfm_free-->. This product checks for various fields being set, inserts some HTML if they are set, but if not, I want it to insert some different HTML, then abort rendering the page any further. What's the easiest way to do this? I'd prefer not to have to put some sort of <!--#if--> wrapper around the rest of the content of each page. Do I simply have to raise an exception of some sort, with the HTML I wish to show as the value? Anthony
9847
Age (days ago)
9847
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anthony Baxter