/ Published in: PHP

Drupal 5.
Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
Simply print <code>$uc\_cart\_shopping\_block</code> where ever you want.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function _phptemplate_variables($hook, $vars) { if ($hook == 'page') { $block = module_invoke('uc_cart', 'block', 'view', 0); $vars['uc_cart_shopping_block'] = $block['content']; } ?>
Comments
