-
AuthorPosts
-
iaweb Friend
iaweb
- Join date:
- February 2009
- Posts:
- 76
- Downloads:
- 135
- Uploads:
- 10
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
January 19, 2014 at 7:10 pm #193881I would like to change the layout of the individual Movies page and move the extra fields to the side below the Main picture and the button which calls up the Video…
See image image here:
Anybody can help me out with that?
Thanks a lot
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 20, 2014 at 8:08 am #519039The following tweak should help:
Open templates/ja_obelisk/htmlcom_k2/ja_obelisk/item.php file,
+ Find and cut code block below:
<?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>
<!-- Item extra fields -->
<div class="itemExtraFields">
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField):
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'): ?>
<h4 class="itemExtraFieldsHeader"><?php echo $extraField->name; ?></h4>
<?php else: ?>
<span class="itemExtraFieldsLabel"><?php echo $extraField->name; ?>:</span>
<span class="itemExtraFieldsValue"><?phpecho $extraField->value;
?>
</span>
<?php endif; ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<div class="clr"></div>
</div>
<?php endif; ?>
and paste it to line 90 of the same file.
1 user says Thank You to Ninja Lead for this useful post
iaweb Friendiaweb
- Join date:
- February 2009
- Posts:
- 76
- Downloads:
- 135
- Uploads:
- 10
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
January 20, 2014 at 9:57 am #519080perfect, worked like a charm.
Thank you.
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by iaweb 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to move extra fields below picture & video?
Viewing 3 posts - 1 through 3 (of 3 total)