News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

need code for flypage.tpl.php

Started by nates02gt, May 03, 2008, 17:16:58 PM

Previous topic - Next topic

nates02gt

I was a dumb@$$ and deleted a few lines of code in an attempt to remove the manufacturer link.  For some reason, my editor will not let me undo.  Could someone please give me the code for flypage.tpl.php?  Thanks

ezflyeruk

<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>

<?php echo $buttons_header // The PDF, Email and Print buttons ?>

<?php
if( $this->get_cfg( 'showPathway' )) {
   echo "<div class=\"pathway\">$navigation_pathway</div>";
}
if( $this->get_cfg( 'product_navigation', 1 )) {
   if( !empty( $previous_product )) {
      echo '<a class="previous_page" href="'.$previous_product_url.'">'.shopMakeHtmlSafe($previous_product['product_name']).'</a>';
   }
   if( !empty( $next_product )) {      
      echo '<a class="next_page" href="'.$next_product_url.'">'.shopMakeHtmlSafe($next_product['product_name']).'</a>';
   }
}
?>
<br style="clear:both;" />
<table border="0" style="width: 100%;">
  <tbody>
   <tr>
<?php  if( $this->get_cfg('showManufacturerLink') ) { $rowspan = 5; } else { $rowspan = 4; } ?>
     <td width="33%" rowspan="<?php echo $rowspan; ?>" valign="top"><br/>
        <?php echo $product_image ?><br/><br/><?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?></td>
     <td rowspan="1" colspan="2">
     <h1><?php echo $product_name ?> <?php echo $edit_link ?></h1>
     </td>
   </tr>
   <?php if( $this->get_cfg('showManufacturerLink')) { ?>
      <tr>
        <td rowspan="1" colspan="2"><?php echo $manufacturer_link ?><br /></td>
      </tr>
   <?php } ?>
   <tr>
      <td width="33%" valign="top" align="left">
         <?php echo $product_price_lbl ?>
         <?php echo $product_price ?><br /></td>
      <td valign="top"><?php echo $product_packaging ?><br /></td>
   </tr>
   <tr>
     <td colspan="2"><?php echo $ask_seller ?></td>
   </tr>
   <tr>
     <td rowspan="1" colspan="2"><hr />
        <?php echo $product_description ?><br/>
        <span style="font-style: italic;"><?php echo $file_list ?></span>
     </td>
   </tr>
   <tr>
     <td><?php
           if( $this->get_cfg( 'showAvailability' )) {
              echo $product_availability;
           }
           ?><br />
     </td>
     <td colspan="2"><br /><?php echo $addtocart ?></td>
   </tr>
   <tr>
     <td colspan="3"><?php echo $product_type ?></td>
   </tr>
   <tr>
     <td colspan="3"><hr /><?php echo $product_reviews ?></td>
   </tr>
   <tr>
     <td colspan="3"><?php echo $product_reviewform ?><br /></td>
   </tr>
   <tr>
     <td colspan="3"><?php echo $related_products ?><br />
      </td>
   </tr>
   <?php if( $this->get_cfg('showVendorLink')) { ?>
      <tr>
        <td colspan="3"><div style="text-align: center;"><?php echo $vendor_link ?><br /></div><br /></td>
      </tr>
   <?php  } ?>
  </tbody>
</table>
<?php
if( !empty( $recent_products )) { ?>
   <div class="vmRecent">
   <?php echo $recent_products; ?>
   </div>
<?php
}
if( !empty( $navigation_childlist )) { ?>
   <?php echo $VM_LANG->_('PHPSHOP_MORE_CATEGORIES') ?><br />
   <?php echo $navigation_childlist ?><br style="clear:both"/>
<?php
} ?>


Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
7+4+3:
Shortcuts: ALT+S post or ALT+P preview