I've been working on a sidebox to allow selected customers to immediately download a free file. I've installed observer code to process the submit button that initiates the download and used header_start notifiers to kickoff the observer code. However, some page headers don't have a header_start notifier. The featured products page is one example of several page headers without a notifier. In addition, the list of header_start notifiers is long.
Is there a single notifier common to all pages that exists before headers are written? If I pick say a notifier in the sidebox path, headers have already been written and I get a "headers already written" error.
If not, can I add a header_start_xxx notifier in the header file of the pages that don't have notifiers? Do I just add the one line notifier call to the header files or are other files involved that need modification? I would also add the header_start_xxx notifier to the observer code. Must the notifier name be unique or can the same notifier exist in multiple files?
Thanks,
Dave


Reply With Quote
