Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • qessence Friend
    #173072

    Hello there , back on the forums !

    Im having several difficulties making something im sure you guys could do without any effort , so, please, help me with this, cause im getting crazy.

    All i need is a new module position upside the content-bot and, the most important, a left side new column in the content-bot position.
    hope this will explian the issue more than my words:

    please, again, PLEASE, help me with this. I’ve searched the forums, but, despite there are several post with related info, none of them match my problem. ( and one, causes me an error on template.php)


    1. request
    qessence Friend
    #434883

    Sorry, i missed some information.
    Using Ja Teline IIIv2 On J1.7.

    Thanks in advance, hope someone could help me with this.

    qessence Friend
    #434935

    I think im able to “more or less” create a new position (red one on pic from first post), but i cannot create the new column by my self , please help me with this, cause im stuck and cannot continue working without that column.

    Ive tried to edit /plugins/system/jat3/jat3/base-themes/default/page/template.php this way:

    http://www.joomlart.com/forums/topic/split-content-bot-into-two/
    But nothing happens instead an error.

    I really need help with this column, please.
    ..Thanks.

    n6rej Friend
    #435014

    you should NEVER modify the core… please follow the wiki in my signature. You need to make a change to the content-bot block adding a new position there. for the top one simply put the module in the same position and it will automatically drop down and inherit the parents widths

    qessence Friend
    #435018

    Well… thanks for the response but, i have already readed the JAWiki, and, well, sorry, i must be stupid, but im not able at all to create a new column there… if i were able to, i truly promise you, i wouldn be here bothering you guys.

    Please could you be more specific? Please, i would love to learn, but i need some light here..

    PS: Also.. i dont see any Wiki on your signature, i was talking about JAWiki, and that solves me nothing, all in can do is create one module under other, and i need columns. Maybe im such stupid, i know, but really need some light.

    Thanks..

    qessence Friend
    #435025

    In the meanwhile, i tryed this, this is the more close i can get by myself:

    I’ve edited the default.xml layout via BackEnd template administration:
    Changed:

    <block name="content-bottom">content-bot</block>

    To

    <block name="content-bottom" type="spotlight">content-bot,content-bot1</block>

    This creates a column, but it does not suits my requeriments cause their width takes all the entire main div, and what i need is a content-bot splited in two positions, lets say 10% new column 90% existing content-.bot.
    Thanks in advance…

    n6rej Friend
    #435031

    the wiki explains about adding blocks and modules but you’ve done just fine…I”M not 100% sure on this but in .css add a “width:10%” statement for the new block. probably #ja_content-bot1 I’ll need to see it in action to tell you specifics… FIrebug can help you alot with this if you don’t know how ( again see signature )

    n6rej Friend
    #435032

    <em>@qessence 296292 wrote:</em><blockquote>Well… thanks for the response but, i have already readed the JAWiki, and, well, sorry, i must be stupid, but im not able at all to create a new column there… if i were able to, i truly promise you, i wouldn be here bothering you guys.

    Please could you be more specific? Please, i would love to learn, but i need some light here..

    PS: Also.. i dont see any Wiki on your signature, i was talking about JAWiki, and that solves me nothing, all in can do is create one module under other, and i need columns. Maybe im such stupid, i know, but really need some light.

    Thanks..</blockquote>
    nah, T3 is not the easiest horse to tame, but **** is it flexible. Sorry bout the wiki I”ll have to remember to add it to my sig:-[

    qessence Friend
    #435036

    Sorry n6rej, since im working on local i cannot share with you a link…

    But, if this is the code, it really creates a very very weird column.. not aligned at top, with white spaces… see the attach:

    Green line: Content-bot Width
    Pink line: Completly pointless blank space, dont even know from where it comes from.
    Blue line: content-bot1: too far from content-bot, and UNDER the 2-columns (¿?)
    Black Line: Default 2-columns working as expected.

    So as you see, something is broken here.
    Are you sure that special specific class styles are created for this two modulepositions?
    Thanks.

    n6rej Friend
    #435050

    <em>@qessence 296311 wrote:</em><blockquote>Sorry n6rej, since im working on local i cannot share with you a link…

    So as you see, something is broken here.
    Are you sure that special specific class styles are created for this two modulepositions?
    Thanks.</blockquote>
    no, which is why I said i’d want to see the site 😛 I’ve asked frank our css guru to jump in

    qessence Friend
    #435051

    Thanks n6rej, hope Frank could help, meanwhile i’ll be testing my way.
    Thanks again.

    pixelzombie Friend
    #435113

    Hi there,

    the content-bot position is not really designed to show a spotlight there, but we can trick a little bit to make it work. please add this css code to your template.css


    .ja-box-right {
    position: relative !important;
    }

    This should move the right column to the left and fill the blank space. Before it was set to an absolute right position and was therefore displayed under the right block.

    To change the width of your the spotlight position as you mentioned before, you just have to add to your layout


    <block name="content-bottom" type="spotlight" specialwidth="30" special="left">new-pos,content-bot</block>

    This will make the new module position (new-pos in my example) 30% wide and the rest goes to the content-bot position.

    I hope everything was understandable.

    Cheers

    Frank

    qessence Friend
    #435114

    Hello Frank, Thanks for supporting.
    I had tested the template since n6rej told me the info regarding the spotlight, and have found a walkaround by my self, let’s explain it hope you agreed with my method,
    First, .ja-box.right already exists on the CSS, and have the absolute position, i’ve changed it to relative !important vía CSS and both colums are now side-by-side.
    .ja-box-left didnt exist, so i created it on the CSS, and patched the witdh on .ja-box-left/right with an important mark on Width settings, using pixels, not percentages.
    Didnt change anything on layout editor, except for this:

    <block name="content-bottom" type="spotlight" >content-bot,content-bot1</block>

    Hope you agreed with me, if you believe this gonna cause some troubles, please, tell me.

    Thanks again.

    pixelzombie Friend
    #435115

    You can go that way too. I don’t see any problems applying a fixed width with pixel values. Does your site look good on other pages too? Then you’re good to go with that 🙂

    I’m proud of your effort :-*

    qessence Friend
    #435157

    Thanks pixelzombie =)

    Well, since the webpage is not finished, i cannot be sure if this width setting will cause some troubles with the internal design of categories, but, well, lets “the future me” handle with that, i have good feelings with him.

    Now i have a different issue, but i would like to take this opportunity to ask your support, i use the same post cause its strongly related with the initial feature requested.
    Now that i have two columns, i need one more module position downside both, taking the 100% width of the initial content-bot module ( both actual columns).

    I’ve handled whit this editing the following:
    /plugins/system/jat3/jat3/base-themes/default/page/template.php
    Added:


    <?php
    //content-bottom2
    if($this->hasBlock('content-bottom2')) :
    $block = &$this->getBlockXML ('content-bottom2');
    ?>
    <div id="ja-content-bottom" class="ja-content-bottom clearfix">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    AFTER the endif of original content-bottom.

    Then, logged in into backend, went to layout editor and added this to template.xml:


    <block name="content-bottom2">content-bot2</block>

    Now i have, ( or seems that i have) a fully functional new module position under the two columns, taking the 100%percent of the original content-bottom and its style, but, n6rej me had told me to NEVER edit the code, so, im kinda scared. Anyway, i think there is no different way of doing this…

    Any advice will be strongly appreciated.
    Thanks you guys.

Viewing 15 posts - 1 through 15 (of 19 total)

This topic contains 19 replies, has 3 voices, and was last updated by  qessence 12 years, 10 months ago.

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