Set Features Layout

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Feb 24, 2013 4:12 am
Reply with quote
Report this post
Is it possible to set Featured Articles to have headline under first image instead of above?
Thank you :D
User avatar
Gold Boarder

Konrad M
Mon Feb 25, 2013 7:35 am
Reply with quote
Report this post
Hi,
please go to html/com_content/featured/default_item.php and find:
Code: Select all
<?php  if (isset($images->image_intro) and !empty($images->image_intro)) : ?>
   <div class="img-intro-<?php echo $images->float_intro ? $images->float_intro : $params->get('float_intro'); ?>">
      <img
         <?php if ($images->image_intro_caption):
            echo 'class="caption"'.' title="' .$images->image_intro_caption .'"';
         endif; ?>
      <?php if (empty($images->float_intro)):?>
         style="float:<?php echo  $params->get('float_intro') ?>"
      <?php else: ?>
         style="float:<?php echo  $images->float_intro ?>"
      <?php endif; ?>
         src="<?php echo $images->image_intro; ?>" alt="<?php echo $images->image_intro_alt; ?>"/>
   </div>
   <?php endif; ?>

cut it and paste after:
Code: Select all
<article<?php if ($this->item->state == 0) : ?> class="system-unpublished"<?php endif; ?>>
User avatar

GK User
Mon Feb 25, 2013 1:35 pm
Reply with quote
Report this post
Thank you
Ok so I find this code and delete it!! and replace with the one line you suggest right?
Just double checking I understand before I do it.
User avatar
Gold Boarder

Konrad M
Mon Feb 25, 2013 1:38 pm
Reply with quote
Report this post
No. You have to find first code and cut it. Then you need to paste it before the second code.
User avatar


cron