I finally figured out (to my own delight) how to make a cart pane. Having done so, I'm trying to make a link inside of the cart pane that goes to my contact node but says "click here".
Here's my pane code
/**
* Implementation of hook_cart_pane().
*/
function uc_cart_cart_pane($items) {
$panes[] = array(
'id' => 'cart_form',
'title' => t('Default cart form'),
'enabled' => TRUE,
'weight' => 0,
'body' => !is_null($items) ? ''. drupal_get_form('uc_cart_view_form', $items) .'': '',
);
$panes[] = array(
'id' => 'cart_form2',
'title' => t('Info pane'),
'enabled' => TRUE,
'weight' => 10,
'body' => 'Finished with your Order? Please contact us directly via phone. If you are a new customer click here.',
);
return $panes;
}
It's got the original pane and my new pane, and clearly, my link doesn't show up at all. What code do I use for the linkins?
Edit: I actually removed the "bool link" action I had going as the forum slurped it up in the format it was in I just put text "click here" where it was, so you can see where I'm attempting to have a link.





Joined: 12/27/2007