Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • nvestor24 Friend
    #185756

    Dear guys,

    i have a new challenge. i need two new module-positions in the desktop-layout.

    in the framework t3 2 it was no problem to realise this work. i have made two new positions. header-top and header-right and then i have controlled this positions over the css (position:absolute). now i have tried it out by making this in the header.php within the div “span4”:

    <div class=”span4″>
    <?php if ($this->countModules(‘ja-header-o’)) : ?>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘ja-header-o’) ?>” style=”T3Xhtml” />
    <?php endif ?>
    </div>

    but it does not work.

    can anybody help?

    best regards
    Torsten


    1. skypaperleft-right
    Saguaros Moderator
    #486269

    Dear Torsten,

    Did you try to follow guide here? http://t3-framework.org/documentation/customization.html#module-position

    nvestor24 Friend
    #486466

    Hello Saguaros,

    thx for your answer and tip. i have done it like it is written in the instruction-page. An mistake in the defination of the css class was the problem. ok i fixed it.

    the code is for example in the header.php :

    [PHP]<div class=”ja-header-o”>
    <?php if ($this->countModules(‘ja-header-o’)) : ?>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘ja-header-o’) ?>” style=”T3Xhtml” />
    <?php endif ?>
    </div>
    <div class=”ja-header-r”>
    <?php if ($this->countModules(‘ja-header-r’)) : ?>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘ja-header-r’) ?>” style=”T3Xhtml” />
    <?php endif ?>
    </div>[/PHP]

    and the css in the template.css is:

    .ja-header-o {
    padding: 0;
    border-top: 1px solid #cccccc
    border-right: 1px solid #ccc
    border-left: 1px solid #ccc
    position: absolute;
    left: 0;
    margin-top:-134px;
    width: 1158px;
    }
    and
    .ja-header-r {
    padding: 0;
    border-right: 1px solid #ccc
    border-bottom: 1px solid #ccc
    position: absolute;
    left: 991px;
    top: -23px;
    width: 168px;
    }

    the result is very great – it rocks like a chame. but now, if i am clicking for example on the first article in the frontpage, the skywallbanner looks broken.

    when i clicking on the first menu-item for example on EXPLORE and MEGA NEWS – the skywallbanner look perfect. if i am clicking on the next item K2 – the skywall-banner looks broken.

    I dont know where is the problem – i hope that you or your colleagues can help me.
    please take a look to my attachments.

    Best regards
    Torsten


    1. skypaper-great
    2. skywall-broken
    Saguaros Moderator
    #486557

    Dear Torsten,

    Could you post your site url here? Its better with a closer look 🙂

    nvestor24 Friend
    #486586

    Hello Saguaros,

    I can not publicly post the page-url. if you need, i give you a pm !

    Saguaros Moderator
    #486772

    Yes, you can send me via pm 🙂

    nvestor24 Friend
    #486842

    Hello Saguaros,

    the problem is fixed :D!
    i have made an mistake – wrote left and top instead of margin-left and margin-top. now it rocks like a chame

    best regards and thx for you help

    torsten

    Saguaros Moderator
    #486954

    You are welcome 🙂

    Best Regards

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

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

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