Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • iluminada Friend
    #173649

    Hi
    I have edenite for Joomla 1.5.
    I want to create a new module position under topsl position. I need another because the topsl position is only for the front page slide show parameters and I need another measure por images in the same position of topsl. For this, I created in template detalis the position “topsl2”, and in index.php under #ja-topsl, i wrote
    <div id=”ja-topsl2″>
    <jdoc:include type=”modules” name=”topsl2″ />
    </div>
    The position appears in the module positions in the administrator, but not serves. I tried to create a html module in this position but it not appear. What am I doing wrong?

    iluminada Friend
    #437351

    I have seen that the new position “topsl2” only appears when is present the “topsl” position (with slideshow). I need “topsl2” appears alone and that topsl contract…

    TomC Moderator
    #437363

    So you created a new position called “topsl2” and it displays within your module position list within your Module Manager, correct?

    Did you also create new CSS parameters for the new position – assuming you want the display/style different than than of your topsl1 position ??

    iluminada Friend
    #437477

    Yes. The css parameters for topsl are:
    #ja-topsl {
    height: 240px;
    margin: 0 0 10px;
    overflow:hidden;
    width:100%;
    }
    and for topsl2 are
    #ja-topsl2 {
    height: 100%;
    margin: 0 0 10px;
    overflow:hidden;
    width:100%;
    }

    iluminada Friend
    #437588

    The topsl position have 240 px on height, and for this I can’t put another element (like a custom module) with another height in this position, because ever the div space will show 240px on height. Now I want to position a image (in a custom module) in the same position of topsl and for this I created the new topsl2 position with 100% on height. The reason for to so this is that the topsl2 donĀ“t collapse when the first position topsl is showing and appears as a blank (if I give a fixed px). I think that maybe the error is in index.php where I wrote the syntaxis under the #ja-topsl.
    I need that the second topsl2 position have 150 pixels on height but also I need that this position don’t depend of the topsl2 position…
    Beggining in line 135:

    <!– BEGIN: CONTENT –>
    <div id=”ja-content” class=”clearfix”>

    <jdoc:include type=”message” />

    <?php if($this->countModules(‘topsl’)) : ?>
    <!– BEGIN: TOPSL –>
    <div id=”ja-topsl”>
    <jdoc:include type=”modules” name=”topsl” />
    </div>
    <!– END: TOPSL –>
    <!– BEGIN: TOPSL2 –>
    <div id=”ja-topsl2″>
    <jdoc:include type=”modules” name=”topsl2″ />
    </div>
    <!– END: TOPSL2 –>

    <?php endif; ?>

    <div id=”ja-current-content” class=”clearfix”>

    <jdoc:include type=”component” />

    <?php if($this->countModules(‘banner’)) : ?>

    iluminada Friend
    #437724

    Well, I don’t have answer but I receive help in other way.
    The error was in index.php, where I corrected:
    <?php if($this->countModules(‘topsl’)) : ?>
    <!– BEGIN: TOPSL –>
    <div id=”ja-topsl”>
    <jdoc:include type=”modules” name=”topsl” />
    </div>
    <!– END: TOPSL –>

    <?php endif; ?>
    <?php if ($this->countModules(‘topsl2’)) : ?>
    <div>
    <jdoc:include type=”modules” name=”topsl2″ style=”xhtml” />
    </div>
    <?php endif; ?>

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

This topic contains 6 replies, has 2 voices, and was last updated by  iluminada 12 years, 9 months ago.

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