We can use the hook_views_pre_render to insert extra content before or after the view content.
custom.module
...
function custom_views_pre_render(&$view) {
// Insert extra content for view named as test_exposed_filter_in_panel
if ($view->name == "test_exposed_filter_in_panel") {
$view->attachment_before = '<div>Visit <a href="http://www.ykyuen.com">Eureka!</div>';
$view->attachment_after = '<div>Done =)</div>';
}
}
...
Done =)
Reference: Lullabot Drupal API Reference – hook_views_pre_render


Hi. Any idea how to adds some more rows to the query? Like 5 – they can be “hard-coded” in
LikeLike
You can set the number of rows in the view settings page.
For Drupal 6 – Items to display
For Drupal 7 – Pager settings
LikeLike