Hi,
You will need to customise the K2 item view page a little bit. Try with my tweak here:
- Go to file: ROOT/templates/ja_directory/html/com_k2/directory/item.php
-
Look for this snippet of code which renders the extra fields:
<div class="itemExtraFields">
<ul>
<?php $latitude = ""; $longitude = ""; ?>
<?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
<?php if($extraField->value != ''): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
<?php if(($extraField->type != 'header') && ($extraField->alias != 'latitude') && ($extraField->alias != 'longitude') ): ?>
<span class="itemExtraFieldsLabel"><?php echo $extraField->name; ?>:</span>
<span class="itemExtraFieldsValue"><?php echo $extraField->value; ?></span>
<?php endif; ?>
<?php if($extraField->alias == 'latitude') $latitude = $extraField->value; ?>
<?php if($extraField->alias == 'longitude') $longitude = $extraField->value; ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
- Add above code underneath this line of code:
<aside class="col t3-sidebar directory-aside col-sm-4 col-md-3">
It looks like this: http://prntscr.com/czjoul
And, of course, you will need to style for it as you wish.