Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Carlos Friend
    #175545

    Hello friends!

    I have a problem, hope can help.

    I need to add the positions shown in the image below.
    (content-top2, col-mass3, user11, user12, user13, user14 and user15)

    I appreciate your valuable help. Greetings!


    1. new-position-teline3
    pavit Moderator
    #446280

    Hi

    Please tell me which version of joomla 1.5 or 2.5 ?

    pavit Moderator
    #446286

    Anyway try this changes to your layout

    Edit your default layout – Now your top block is like this

    <blocks name="top" style="xhtml">
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav" ></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="navhelper" type="navhelper"></block>
    <block name="topsl" type="spotlight">user1,user2,user3,user4,user5</block>
    </blocks>

    Add these 2 new blocks

    <block name="secblock" type="spotlight" special="left" specialwidth="60">content-top2,col-mass-3</block>

    <block name="secondrow" type="spotlight">user11,user12,user13,user14,user15</block>

    So your new layout will be as shown below

    <blocks name="top" style="xhtml">
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav" ></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="navhelper" type="navhelper"></block>
    <block name="topsl" type="spotlight">user1,user2,user3,user4,user5</block>
    <block name="secblock" type="spotlight" special="left" specialwidth="60">content-top2,col-mass-3</block>
    <block name="secondrow" type="spotlight">user11,user12,user13,user14,user15</block>
    </blocks>

    Click on Save

    In your /templates/ja-teline-iii/templateDetails.xml add the new positions


    <position>content-top2</position>
    <position>col-mass3</position>
    <position>user11</position>
    <position>user12</position>
    <position>user13</position>
    <position>user14</position>
    <position>user15</position>

    Save the file

    This is the result on my localhost

    Regards


    1. newmodules
    Carlos Friend
    #446314

    Thank you very much!

    It works, I can put modules in those positions.

    But show some “mistakes”, it generates blank spaces between each module, you can watch it here:

    http://quenahost.com/expresion/

    Carlos Friend
    #446415

    I’m using Joomla! 2.5.3

    pavit Moderator
    #446422

    Hi

    Sorry but i cannot see on my browser the blank space, could you post a screen shot of your page so i can better understand at what you are referring ?

    Thanks

    Carlos Friend
    #446430

    Pavit Hello, thank you very much for your reply.

    I’m back to accommodate the modules in the content-top2 positions, col-mass-3, user11. user12, user13, user14 and user15.

    When using these positions shows me “white space”.

    I leave the picture:

    Thank you very much for your support. Greetings!

    NOTE: I am currently using these positions, if you like to see it directly in the browser: http://www.quenahost.com/expresion/index.php


    1. white-space
    pavit Moderator
    #446438

    Hi

    To set all the paddings properties for your new modules positions you need to manage the template.css file

    Example : The spotlights position in the bottom of your templates are managed by this code

    /* Bot spotlight ---*/
    #ja-botsl .main {
    border-top: 1px solid #ddd;
    padding: 0;
    }

    #ja-botsl .ja-box {
    background: url(../images/dot.gif) repeat-y right 0 #fff;
    padding: 20px 0;
    }

    #ja-botsl .ja-box.ja-box-right {
    background: none;
    }

    .ja-box-right .moduletable, .ja-box-right .moduletable_default {
    border-right: 0;
    }

    #ja-botsl .ja-moduletable, #ja-botsl .moduletable {
    margin-bottom: 0;
    border-bottom: 0;

    So you need to add the style for your new positions in this file

    If you need help try to look at this wiki page

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

This topic contains 8 replies, has 2 voices, and was last updated by  pavit 12 years, 7 months ago.

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