I’m trying to replace the contents of a block in an ajax_command_replace function.
I can’t seem to address it right.
Here’s what I’ve tried:
$commands[] = ajax_command_replace('#user_favorites.content', $output);
$commands[] = ajax_command_replace('#user_favorites->content', $output);
$commands[] = ajax_command_replace('#user_favorites', $output);
User_favorites is a block created and initially populated by a custom module and this is working fine. The ajax replacement of contents is not.
What am I doing wrong?
--
Alex Adams
hawkVision — building highly agile worlds of knowledge
A2 Technology Partners, Inc.
831-724-1397
alex@a2technology.com
www.a2technology.com