Use Messages[] in a LIST1 transaction [message #1984] |
Thu, 16 April 2009 10:36 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
Tony,
I was trying to modify or supplement the message that is displayed on the screen when a LIST1 transaction returns no rows from the database. As standard message sys0089 (Nothing was found matching this profile) is displayed.
I wanted to add a message in _cm_post_getData but this doesn't seem to be picked up and displayed. Following in my debugger: std.list1.inc sets $messages to sys0089 when the return count is 0 and include.xml.php5.inc checks $messages, but anything in $this->messages[] seems to be ignored. Can't tell whether this is a bug but I don't seem to be able to get any messages to display at all in a LIST1 transaction.
Can you provide any advice?
Thanks,
Graham
|
|
|