Skip to content

Commit

Permalink
Merge pull request #9865 from brianteeman/registered-intro
Browse files Browse the repository at this point in the history
Single registered article guest view
  • Loading branch information
rdeutz committed Apr 15, 2016
2 parents 96c9b45 + bc7d64c commit 140ecb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/com_content/views/article/tmpl/default.php
Expand Up @@ -133,7 +133,8 @@
<?php endif; ?>
<?php // Optional teaser intro text for guests ?>
<?php elseif ($params->get('show_noauth') == true && $user->get('guest')) : ?>
<?php echo $this->item->introtext; ?>
<?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
<?php echo JHtml::_('content.prepare', $this->item->introtext); ?>
<?php // Optional link to let them register to see the whole article. ?>
<?php if ($params->get('show_readmore') && $this->item->fulltext != null) : ?>
<?php $menu = JFactory::getApplication()->getMenu(); ?>
Expand Down

0 comments on commit 140ecb3

Please sign in to comment.