Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • komuniki Friend
    #161447

    Hi i want to add a new module position for a banner (skyscraper) at the right side of the main-content-area, but it must be outside. I have made a layout from my imagination – please look at the JPEG.

    I hope anybody could tell me the solution …
    Thank you very much!


    1. Bild-2
    Sherlock Friend
    #381449

    Dear komuniki,

    you can try as following
    Open the file of templatesja_zeolite_iilayoutsblocksmain.php,add at it’s bottom this HTML Code

    <?php if($this->countModules(“skyscraper”)) : ?>
    <div id=”ja-skyscraper”>
    <jdoc:include type=”modules” name=”skyscraper” style=”JAxhtml” />
    </div>
    <?php endif; ?>

    Then open the file of templates/ja_zeolite_ii/css/template.css,and add this css
    #ja-skyscraper{
    position:absolute;
    width:150px;
    height:500px;
    right:-150px;

    }

    Now you have a new module position that name “skyscraper” as you wanted.
    I hope this help !

    komuniki Friend
    #381486

    Thank you very much dathq,

    i only added in the „templateDetails.xml“-file the following text: <position>ja-skyscraper</position>
    and i added the Html-Code at the top of the main-php-file, not the bottom. But then it works very well!!!!:)

    Thanks a lot and many greeting from Würzburg (Germany)

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

This topic contains 3 replies, has 2 voices, and was last updated by  komuniki 13 years, 8 months ago.

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