-
AuthorPosts
-
nvestor24 Friend
nvestor24
- Join date:
- March 2012
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 12, 2013 at 12:19 pm #185756Dear 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
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 13, 2013 at 4:18 am #486269Dear Torsten,
Did you try to follow guide here? http://t3-framework.org/documentation/customization.html#module-position
nvestor24 Friendnvestor24
- Join date:
- March 2012
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 14, 2013 at 9:42 am #486466Hello 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-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 15, 2013 at 2:32 am #486557Dear Torsten,
Could you post your site url here? Its better with a closer look 🙂
nvestor24 Friendnvestor24
- Join date:
- March 2012
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 15, 2013 at 8:25 am #486586Hello Saguaros,
I can not publicly post the page-url. if you need, i give you a pm !
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 18, 2013 at 2:54 am #486772Yes, you can send me via pm 🙂
nvestor24 Friendnvestor24
- Join date:
- March 2012
- Posts:
- 42
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 18, 2013 at 10:08 am #486842Hello 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 chamebest regards and thx for you help
torsten
-
AuthorPosts
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, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum