Inserting a Drupal 6 view into a node or template file with PHP is easy. Just use the code below:
<?php
$viewName = 'the_name_of_my_view';
$display_id = 'block_1';
print views_embed_view($viewName, $display_id);
?>
Quick way to increase PHP memory limit in Drupal: add the following line to the file located at /sites/default/settings.php:
ini_set('memory_limit','64M');
Recent comments
43 weeks 5 hours ago
43 weeks 7 hours ago
1 year 7 weeks ago
1 year 7 weeks ago
1 year 7 weeks ago
1 year 7 weeks ago
1 year 44 weeks ago
1 year 44 weeks ago
2 years 8 weeks ago
2 years 14 weeks ago