test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • iaweb Friend
    #193881

    I 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


    1. move_extra_fields
    Ninja Lead Moderator
    #519039

    The 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"><?php

    echo $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.

    iaweb Friend
    #519080

    perfect, worked like a charm.

    Thank you.

Viewing 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