Powered by Drupal, an open source content management system

drupal

Using Boost with Drupal. Performance goooodnes

Having successfully deploying a reasonably high traffic Drupal website, I can tell you that the boost module is like mana from heaven.

The only issue that I have found with the boost module is when you have blocks that update data in real time, or are interactive, a good example being the poll module. This can be over-come by writing a custom module that pulls in the content via AJAX. This isn't particularly difficult to do. I bet that it could be fairly easily generalized, and if I had mounds of spare time, I would do exactly that.

Importing a drupal view programmatically

If you need to import a drupal view programmatically, it is fairly simple:

	include_once(drupal_get_path('module', 'views') .'/views.module');
	include_once(drupal_get_path('module', 'views') .'/includes/view.inc');
	include_once(drupal_get_path('module', 'views') .'/includes/cache.inc') ;
	include_once(drupal_get_path('module', 'views') .'/includes/convert.inc'); 

        /* ... insert import code here */

	views1_import($view);

	$view->save();
Read more
Syndicate content