-
AuthorPosts
-
iluminada Friend
iluminada
- Join date:
- September 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 7, 2012 at 2:35 pm #173649Hi
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 Friendiluminada
- Join date:
- September 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 7, 2012 at 3:25 pm #437351I 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
February 7, 2012 at 4:28 pm #437363So 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 Friendiluminada
- Join date:
- September 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 7, 2012 at 11:23 pm #437477Yes. 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 Friendiluminada
- Join date:
- September 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 8, 2012 at 5:01 pm #437588The 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 Friendiluminada
- Join date:
- September 2010
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 9, 2012 at 4:29 pm #437724Well, 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; ?> -
AuthorPosts
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