Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • pascal_netenvie Friend
    #147546

    Hi,
    First i want to say thanks for your geat work especially on mega menu and multi layout (mobile, etc).

    We are members and using Kyaniite 2 template to develop our new website.

    In the main layout there is modules positions called content-mass-top, inset 1 & 2 and content-top …
    But they are undocumented and not working …

    Is there a way to use it as there is some lack of positionning in this template especially in the main column.

    Thanks for your answer.

    pascal_netenvie Friend
    #328964

    Hmmm ok
    Some minutes ago this forum section look empty so i miss other posts …
    I think i will find a solution in it.

    pascal_netenvie Friend
    #328965

    Ok so far, i have modified this files :

    templateDetails.xml

    Added these lines :


    <position>content-mass-top</position>
    <position>content-top</position>
    <position>content-bottom</position>
    <position>content-mass-bottom</position>
    <position>inset1</position>
    <position>inset2</position>

    layouts/default.php

    Modified these lines :


    $positions = array (
    'left1' =>'left',
    'left2' =>'',
    'left-mass-top' =>'',
    'left-mass-bottom' =>'',
    'right1' =>'right',
    'right2' =>'',
    'right-mass-top' =>'',
    'right-mass-bottom' =>'',
    'content-mass-top' =>'main',
    'content-mass-bottom' =>'main',
    'content-top' =>'main',
    'content-bottom' =>'main',
    'inset1' =>'main',
    'inset2' =>'main'
    );

    but it don’t work …

    Saguaros Moderator
    #328976

    Hello guy!

    as default, The ja template only define necessary positions which use for the each layout.
    Example with default layout.
    [PHP]
    $positions = array (
    ‘left1′ =>’left’,
    ‘left2’ =>”,
    ‘left-mass-top’ =>”,
    ‘left-mass-bottom’ =>”,
    ‘right1′ =>’right’,
    ‘right2’ =>”,
    ‘right-mass-top’ =>”,
    ‘right-mass-bottom’ =>”,
    ‘content-mass-top’ =>”,
    ‘content-mass-bottom’ =>”,
    ‘content-top’ =>”,
    ‘content-bottom’ =>”,
    ‘inset1’ =>”,
    ‘inset2’ =>”
    );

    $this->definePosition ($positions);
    [/PHP]

    You would like to acknowledge the JA Template Framework and others, pelase checkout the wiki site of joomlart, the link here:
    http://wiki.joomlart.com/wiki/Main_Page

    good luck

    pascal_netenvie Friend
    #329003

    Hi and thanks for your answer.

    Ok i understand and have my new module appearing in the “content-mass-top” position of framework.

    But it is in the same box as component content …
    I imagined it would be on top …like in framework image …

    Thanks for you reply.

    pascal_netenvie Friend
    #329004

    Ok Now i have to modify the main block ….
    It’s ok.
    Thx

    pascal_netenvie Friend
    #330327

    Hi,

    Another question.
    I succeeded in create right mass top module (so without any style, perfect for full width image).
    For my component in mass top to have the good width (30%) i modified default layout and put 15 to $this->_basewidth;

    But there is a problem.
    if i get a component in mass top, components in right (under mass top) have same width
    but if there is no component in mass top components in right are half width (back to 15)…

    How to fix it please ?

    Saguaros Moderator
    #331609

    If possible, please give me the link to your site, i would like to check this in detail

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

This topic contains 8 replies, has 2 voices, and was last updated by  Saguaros 14 years, 9 months ago.

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