Hello,
Does anyone know the php code changes I need to make to the item.php page to move the text, i.e. introtext, fulltext, and maybe item text, above the image?
Thanks.
Kory
Solution Below
You can see this solution in action at
Busy Teacher Resources Sample Lessons
I moved the text code above the <!-- Plugins: BeforeDisplayContent --> which is before the Item Image. I placed it directly after the <div class="itemBody">. Basically, here is the code I moved to line 202:
<?php if(!empty($this->item->fulltext)): ?>
<?php if($this->item->params->get('itemIntroText')): ?>
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemFullText')): ?>
<!-- Item fulltext -->
<div class="itemFullText">
<?php echo $this->item->fulltext; ?>
</div>
<?php endif; ?>
<?php else: ?>
<!-- Item text -->
<div class="itemFullText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
Hope this helps someone.