Welcome to the RuneGlory Wiki, where we do our best to make your life easier!

You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).

Difference between revisions of "Dannyx Test"

From RuneGlory
Jump to: navigation, search
(Created page with "<?php if ($_products = $this->getRecentlyViewedProducts()): $ids = ''; foreach ($_products as $_item) { $ids .= $_item->getId() . ';'; } ?> <div class="lftHeading"> <span...")
(No difference)

Revision as of 01:04, 23 April 2018

<?php if ($_products = $this->getRecentlyViewedProducts()): $ids = ; foreach ($_products as $_item) {

   $ids .= $_item->getId() . ';';

} ?>

<span

       style="text-transform:capitalize;background:url(<?php echo $this->getSkinUrl('css/images/clo_left_heading_bullet2.gif') ?>) top left no-repeat;"
       >recently viewed</span>
<?php $i = 0; foreach ($_products as $_item): if ($i == 3) { continue; } ?> <?php $product = $_item ?> <?php $i++; endforeach; ?>
<a style="border:1px solid #DDDDDD;float:left;margin:5px;padding:5px;"
              href="<?php echo $this->getProductUrl($_item, array('_nosid' => true)) ?>" class="product-image"><img
               src="<?php echo $this->helper('catalog/image')->init($product, 'thumbnail')->resize(50) ?>"
width="50" alt="<?php echo $this->escapeHtml($_item->getName()) ?>"/></a>
<a style="position:relative;top:3px;font-size:11px;"
              href="<?php echo $this->getProductUrl($_item, array('_nosid' => true)) ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a>
   <input type="button" class="button recently_viewed_btn" value="<?php echo $this->__('Email These To Me') ?> "
          onClick="email_recently('<?php echo $ids; ?>')"/>
   <a href="<?php echo $this->getBaseUrl() ?>recently-viewed-items/"><?php echo $this->__('See All Recently Viewed') ?></a>
<script type="text/javascript">decorateList('recently-viewed-items');</script>