Run/Don't run asp control macro depending on document parameter
Hi,
We have a blog package were, at the bottom of every post, a comments form macro is called, which implements an asp control that writes a comments page.
For various reasons we want to be able to disable comments on specific blog posts so I have added a "Disable comments?" true/false parameter for the blog post node.
I have tried calling a macro that detects whether or not comments are disabled. If they are, it then calls a macro that calls the comments asp control, however apparently you cannot call a macro that calls an asp control from within a macro.
So I then thought perhaps I could edit the ASP control (it is named autoForm), however I cannot find the source code for this control and so cannot edit it.
Can anybody else suggest how I can go about implementing this?
Run/Don't run asp control macro depending on document parameter
Hi,
We have a blog package were, at the bottom of every post, a comments form macro is called, which implements an asp control that writes a comments page.
For various reasons we want to be able to disable comments on specific blog posts so I have added a "Disable comments?" true/false parameter for the blog post node.
I have tried calling a macro that detects whether or not comments are disabled. If they are, it then calls a macro that calls the comments asp control, however apparently you cannot call a macro that calls an asp control from within a macro.
So I then thought perhaps I could edit the ASP control (it is named autoForm), however I cannot find the source code for this control and so cannot edit it.
Can anybody else suggest how I can go about implementing this?
Thanks,
Max.
is working on a reply...