/ Published in: PHP
                    
                                        
This function goes in the {module\_name}.views\_default.inc file
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
function {module_name}_views_default_views() {
{...view code...}
$views[$view->name] = $view; // include this line after each view's code
return $views;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                