- bookmarks OK
- flaglist DEV

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-10-30 18:11:20 +01:00
parent 8e956c857b
commit d77d7e5ef7
8 changed files with 446 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
function materio_flag_refresh_block_bookmarks(){
$rep = array();
// $block_content = module_invoke('block', 'block_view', 'materio_flag_mybookmarks');
$block = block_load('materio_flag', 'materio_flag_mybookmarks');
$block_content = _block_render_blocks(array($block));
$build = _block_get_renderable_array($block_content);
$block_rendered = drupal_render($build);
$rep['block'] = $block_rendered;
drupal_json_output($rep);
}