Advertisement
Guest User

zoo teaser.php

a guest
Aug 9th, 2014
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.34 KB | None | 0 0
  1. <?php
  2. // no direct access
  3. defined('_JEXEC') or die('Restricted access');
  4. ?>
  5.  
  6. <?php
  7.     if ($this->checkPosition('media'))
  8.     {
  9. ?>
  10. <div class="zoo-teaser-pos-media">
  11.     <?php echo $this->renderPosition('media'); ?>
  12. </div>
  13. <?php
  14.     }
  15.     else
  16.     {
  17. ?>
  18. <!--<div class="zoo-teaser-no-image pull-left">
  19.     <p><i class="fa fa-border fa-dropbox fa-5x bg-dark" style="margin-top: 5px;"></i></p>
  20. </div>-->
  21. <div class="zoo-teaser-pos-media">
  22.     <!-- CATEGORY TEASER IMAGE SHOULD BE RENDERED HERE -->
  23.     <img src="<?php echo $this->category->getImage('content.image'); ?>" />
  24. </div>
  25.     <?php var_dump($this->app); ?>
  26.     <?php var_dump($this->_item->app); ?>
  27. <?php
  28.     }
  29. ?>
  30.  
  31.  
  32. <div class="zoo-teaser-content">
  33.     <?php if ($this->checkPosition('title')) : ?>
  34.     <div class="zoo-teaser-pos-title">
  35.         <h1><?php echo $this->renderPosition('title'); ?></h1>
  36.     </div>
  37.     <?php endif; ?>
  38.  
  39.     <?php if ($this->checkPosition('description')) : ?>
  40.     <div class="zoo-teaser-pos-description">
  41.         <?php echo $this->renderPosition('description'); ?>
  42.     </div>
  43.     <?php endif; ?>
  44.  
  45.     <?php if ($this->checkPosition('category')) : ?>
  46.     <div class="zoo-teaser-pos-category">
  47.         <?php echo $this->renderPosition('category'); ?>
  48.     </div>
  49.     <?php endif; ?>
  50. </div>
  51.  
  52. <!--<div class="zoo-teaser-action">
  53.     <h3>I Am Here</h3>
  54. </div>-->
  55.  
  56. <div class="clearfix"></div>
  57.  
  58. <?php //var_dump($this->app->route); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement