jasonglisson
10/10/2014 - 12:24 PM

Drupal 7 - If module exist, show block

Drupal 7 - If module exist, show block

	  <?php if (module_exists('postcard')): ?>
	  	<?php print views_embed_view('nodequeue_4',"block");  ?>
	  <?php elseif(!module_exists('postcard')): ?>
	  	<?php print views_embed_view('nodequeue_3',"block");  ?>				  
	  <?php endif; ?>