Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • fmolesey Friend
    #165217

    I want to add two module positions (side by side) in the the form of two columns BELOW ‘Content-top’ but BEFORE ‘content. How do I do this?
    http://cubjam.clyderegion.net/
    Thanks.

    khoand Friend
    #396533

    <em>@fmolesey 247041 wrote:</em><blockquote>I want to add two module positions (side by side) in the the form of two columns BELOW ‘Content-top’ but BEFORE ‘content. How do I do this?
    http://cubjam.clyderegion.net/
    Thanks.</blockquote>

    – You add this code into pluginssystemjat3jat3base-themesdefaultpagedefault.php


    <?php
    //new-position
    if($this->hasBlock('new-position')) :
    $block = &$this->getBlockXML ('new-position');
    $this->showBlock ($block);
    endif; ?>

    before


    <div id="ja-contentwrap" class="clearfix <?php echo $this->getColumnWidth('cls_m'); ?>">

    – You login backend > Extensions > template management > ja_events > layout tab > edit default layout. Add this code

    <block name="new-position" type="spotlight" main-inner="1">newposition1, newpostion2</block>
    after
    <blocks name="middle" colwidth="26" main-inner="1" fixheight="1">

    – You set position of modules is newposition1 or newposition2

    fmolesey Friend
    #396536

    Thanks. How do I change the width of the second column? It is messed up.http://cubjam.clyderegion.net/

    khoand Friend
    #396755

    <em>@fmolesey 247274 wrote:</em><blockquote>Thanks. How do I change the width of the second column? It is messed up.http://cubjam.clyderegion.net/</blockquote>

    You replace

    <block name="new-position" type="spotlight" main-inner="1">newposition1, newpostion2</block>
    with

    <block name="new-position" type="spotlight" main-inner="1" special="right" specialwidth="25">newposition1, newpostion2</block>
    special=”right” specialwidth=”25″ mean newposition2 (right) has 25% of total width

    Phill Moderator
    #396758

    With regards to Khoand’s second post it is a good idea to put your edited pluginssystemjat3jat3base-themesdefaultpagedefault.php
    file in templates>ja_events>page>default.php (you might have to create the page directory. That way if you upgrade the plugin your changes will not be lost.

    fmolesey Friend
    #396765

    Done all of the above and set width to 50 and the right hand module’s location and width are still not displaying correctly.

    khoand Friend
    #396925

    Coud you give me a link to your page uses two new-position? I don’t see them on your home page.

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

This topic contains 7 replies, has 3 voices, and was last updated by  khoand 13 years, 5 months ago.

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