function yourthemename_preprocess_search_theme_form(&$vars, $hook) { // Remove the "Search this site" label from the form. $vars['form']['search_theme_form']['#title'] = t(''); // Set a default value for text inside the search box field. $vars['form']['search_theme_form']['#value'] = t('Search'); // Add a custom class and placeholder text to the search box. $vars['form']['search_theme_form']['#attributes'] = array('class' => 'NormalTextBox txtSearch', 'onfocus' => "if (this.value == 'Search') {this.va
<?php if (isset($primary_links)): ?> <ul id="returnDelayDemo" class="primary-links lavaLamp"> <?php $i=1; foreach ($primary_links as $link): ?> <li class=""> <?php if ( $link[href] == "<front>" ) { $link[href]=''; } ?> <a href="<?php print '/' .
<div id="product_button">
<?php /* add to cart buttons */ ?>
<div id="product_mini_price">
<?php print $node->content['sell_price']['#value']; ?>
</div> <!-- End cartButtons -->
<?php if ($weight): ?>
<div id="product_weight"><?php print $node->content['weight']['#value']; ?>
</div>
<?php endif; ?>
<?php if ($length != '0'): ?>
<div id="product_dimensions"><?php print $node->content['dimensions']['#value']; ?> </div>
<?php endif; ?>
<?php print $node->content['add_to_cart']['#value']; ?>
</div>
</php?
Create the image path
<?php //define the filename of the thumb use set $imagePath accordingly $imagename = str_split($node->field_image_cache['0']['filepath'], 20); $imagePath = "/sites/default/files/imagecache/product/" . $imagename[1]; $imagePath_full = "/sites/default/files/imagecache/product_full/" . $imagename[1]; // print $imagename[1]; //print $imagePath; ?>

