Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • shara21jonny Friend
    #167888

    Where i can find a documentation about adding a couple of module positions in JA Purity II on Joomla 1.7 ?

    Phill Moderator
    #409008

    Hello shara21jonny,

    You can find all the information you will need and more in the wiki – http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides and here – http://wiki.joomlart.com/wiki/JA_T3_Framework_2/FAQs

    If you run into trouble feel free to ask but try and be specific about what you would like. Include images with annotations and a link to your site if possible.

    shara21jonny Friend
    #409334

    I’m using T3 framework 2 for Joomla 1.7 (2011 version) with JA Purity II template. I can’t provide a site link because i’m on localhost but i can provide you anything you ask.

    From this current module positions :

    I need to go over this one :

    I’m using default layout, with some minor changes on left and right blocks. This is the code :

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="absolute" type="modules" style="raw">absolute</block>
    <block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    </blocks>
    <blocks name="middle" colwidth="20">
    <block name="left1" style="jarounded">left</block>
    <block name="inset2" style="JAxhtml">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer"></block>
    </blocks>
    </layout>

    I did add feature block but it only works when i’m putting in top blocks. If i try to create new blocks it won’t work at all.
    This is what i mean :

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="absolute" type="modules" style="raw">absolute</block>
    <block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    </blocks>
    <blocks name="feature" style="xhtml">
    <block name="advertising" type="modules">advertising</block>
    <block name="feature" type="modules">feature</block>
    </blocks>

    <blocks name="middle" colwidth="20">
    <block name="left1" style="jarounded">left</block>
    <block name="inset2" style="JAxhtml">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer"></block>
    </blocks>
    </layout>

    The most whorst part is at I can’t manage at all to add utility block in that position (above content but between left and right).

    So, what can i do from here to succed my needs ?


    1. current
    2. feature
    ta39g Friend
    #412767

    Hi shara21jonny, have you figured this one out yet? I am new to Joomla and I am using version 1.7 with the Ja T3 Blank template. I am having the same issue as you trying to add a new blocks section to my template. I have done alot of searching but have not found a clear answer yet. It seems most of the available info is geared towards older versions of Joomla.

    I have modified the layout parameters similar to your layout and have also modified the templateDetails.xml for the new position, also created my new module and assigned it to the new position but still have no luck getting it to appear in the template.

    Please let me know if you have found an answer for this. I’m guessing there is another file that will need to be modified but I’m not sure which one.

    Good Luck!!

    shara21jonny Friend
    #413889

    Sill no result so far. Can anyone help me with explicit stept by step moves that i need to do ?

    With all those changes finded in those wiki’s i didn’t manage to add a new block position. I’ve added a new block, i’ve assigned the new position on TemplateDetails and still nothing, i’ve created relative css classes for this new block position and don’t manage to add a **** module on what it supose to be my new block position.

    shara21jonny Friend
    #414086

    After another try i manage to get something but still not what i’m looking for.

    In plugins/system/jat3/jat3/base-themes/default/page/default.php

    After

    [PHP] <!– MAIN CONTAINER –>
    <div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’)?$this->getColumnWidth(‘cls_w’):’ja-mf’; ?>”>
    <?php $this->genBlockBegin ($this->getBlocksXML (‘middle’)) ?>
    <div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>[/PHP]

    I’ve added this code

    [PHP] <!– ADVERTISING –>
    <?php /* special advertising block*/ ?>

    <?php $this->genBlockBegin ($this->getBlocksXML (‘m-top’)) ?>
    <div class=”ja-advertising”>
    <jdoc:include type=”modules” name=”advertising” />
    </div>
    <?php $this->genBlockEnd ($block) ?></div>
    <!– ADVERTISING –>

    <!– FEATURE –>
    <?php /* special feature block*/ ?>

    <?php $this->genBlockBegin ($this->getBlocksXML (‘m-top’)) ?>
    <div class=”ja-feature”>
    <jdoc:include type=”modules” name=”feature” />
    </div>
    <?php $this->genBlockEnd ($block) ?></div>
    <!– FEATURE –>[/PHP]

    After that, i’ve opened default.xml layouts from ja_purity_ii template.
    All xml content wich add my new blocks, like this one (added blocks are in red) :

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="absolute" type="modules" style="raw">absolute</block>
    <block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    </blocks>
    <blocks name="m-top" style="JAxhtml">
    <block name="advertising" type="advertising"></block>
    <block name="feature" type="feature"></block>
    </blocks>

    <blocks name="middle" colwidth="20">
    <block name="middle" type="modules">middle</block>
    <block name="left1" style="jarounded">left</block>
    <block name="inset2" width="22" style="JAxhtml">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer"></block>
    </blocks>
    </layout>

    In template.css file i’ve added those 2 div class codes :

    div.ja-advertising {
    background-color: transparent;
    margin-top: 10px;
    margin-bottom: 10px;
    }

    div.ja-feature {
    background-color: transparent;
    margin-bottom: 20px;
    }

    After that, i’ve added 2 modules in those 2 new block positions. They appear on my site but with some small problems.

    A preview is this :

    – not centered with my content
    – very large space between them

    What i need to change to reach my objectives ?


    1. preview
    shara21jonny Friend
    #414615

    3 days and no answer at all.

    C’mon people. Help us once and it will not be regarded again this simple problem.

    In general, i’ve got this new posisions beacause the main stuff that i need to do is still no answered and don’t get closes as this one.
    Now i’m pissed off, and i will try to do those 2 positions :
    1 – this one right here (this thread), wich i kinda manage to do something but with small alignament problem
    2 – this one right here : http://www.joomlart.com/forums/showthread.php?62728-Purity-II-with-Joomla-1.7-and-IE , wich is posted by so many users and still no answeres at all in any related post.

    Plese try to help us with this !

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

This topic contains 7 replies, has 3 voices, and was last updated by  shara21jonny 13 years, 1 month ago.

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