test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • pdfx Friend
    #156636

    Hi All

    Working on the Ja Anion Template,

    Trying to find out how to move Content Top Module position to below the Main Body?

    Looked in the template themes are where there is some code on the default layout describing the module positions, but there is no “Body” position information?

    Prob something simple, still looking and digging around

    Pd

    Sherlock Friend
    #363801

    Dear pdfx,

    You can try as following
    Go to the folder of templatesja_anion in here creat a folder name page,then you copy the file of
    pluginssystemjat3base-themesdefaultpagedefault.php and put it into that folder,after that open the file you just copied
    now, open the copied file : templatesja_anionpagedefault.php file,Look for the below codes
    [PHP]<?php
    //content-top
    if($this->hasBlock(‘content-top’)) :
    $block = $this->getBlockXML (‘content-top’);
    ?>
    <div id=”ja-content-top” class=”ja-content-top clearfix”>
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    <?php if (!$this->getParam (‘hide_content_block’, 0)): ?>
    <div id=”ja-content-main” class=”ja-content-main clearfix”>
    <?php echo $this->showBlock (‘content’) ?>
    </div>
    <?php endif ?>[/PHP] And change it to
    [PHP]
    <?php if (!$this->getParam (‘hide_content_block’, 0)): ?>
    <div id=”ja-content-main” class=”ja-content-main clearfix”>
    <?php echo $this->showBlock (‘content’) ?>
    </div>
    <?php endif ?>
    <?php
    //content-top
    if($this->hasBlock(‘content-top’)) :
    $block = $this->getBlockXML (‘content-top’);
    ?>
    <div id=”ja-content-top” class=”ja-content-top clearfix”>
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    [/PHP] It would help moving the Content Top Module position to below the Main Body section

    pdfx Friend
    #364152

    HI Thanks will try this and get back to you on how i got on

    Thanks Pd

    pdfx Friend
    #365291

    Great Stuff, working for me,
    thanks

    Pd

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  pdfx 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum