-
AuthorPosts
-
June 13, 2007 at 7:31 pm #120816
I would like to add a module position in the header region to the right side of it for a 468×60 banner. Anybody willing and able to assist me in this?
Here is the site..
http://www.detroitrap.com/blog
also does anybody know if I can change the directory name (currently blog) by just renaming it or am I going to have to jump through hoops to change that?
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 13, 2007 at 8:28 pm #222106Make a picture over how you wanna have it and im able to help you out
June 15, 2007 at 12:58 am #222184like this but the placement doesn’t have to be exact it just needs to be on the right hand side of the header region
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 15, 2007 at 6:11 am #222195If you email me the template ill fix that for you.
joomlasupport@gmail.comJune 16, 2007 at 11:37 pm #222277what exactly do you need from the template…. just the index.php?
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 17, 2007 at 7:17 am #222288The index.php and the template_css.css file
June 21, 2007 at 1:07 am #222498Menalto did you recieve my files? They would have came from jenks@detroitrap.com
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 21, 2007 at 7:13 am #222510Yes,working on it:)
June 21, 2007 at 12:00 pm #222516thanks! just wanted to make sure. I appreciate the help tremendously.
June 29, 2007 at 3:39 am #222942Hi, is it possible to show how it is done here?
June 30, 2007 at 10:37 pm #223018Yeah, I would like to know that also. I wanted to place Language selection module in the header but can’t find a good position for it. It would really help to know how it is done here. 🙂
epro
July 1, 2007 at 2:20 am #223028Me too. I am using Utahia II..which needs more module positions, too.
Thanks,
KenMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 1, 2007 at 7:51 am #223038This should work for the Ja-Quillaja.
REMEMBER TO TAKE BACKUP OF THE FILES FIRST!
This is good for a banner in the header.
You can open up your template_css.css file and scroll down to the end.
There you can add this lines:/*Extra module*/
#ja-topmodule {
float: right;
margin-top: 30px;
padding: 0;
}Save it and then open up index.php
Find line 161 to 172
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<?php echo $mosConfig_sitename?>
</a>
</h1>
</div>
</div>
<!-- END: HEADER -->And replace it with this:
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<?php echo $mosConfig_sitename?>
</a>
</h1>
<div id="ja-topmodule">
<?php if ( mosCountModules("banner2") ) { ?>
<div class="ja-topmodule">
<?php mosLoadModules ( "banner2", -1 ); ?>
</div>
<?php } ?>
</div>
</div>
<!-- END: HEADER -->Press save and youre done.
Then go to the joomla adminpanel and go to Site>Template Manager>Module Positions. There you need to create a new module position caller “banner2”. Press save, and then go to Modules>Site Modules and place the module you want in that position.
Remember you need to think of the height of the module you want to place there,so it dont break the layout.If you wanna adjust the position up & down you can change this:
margin-top: 30px;
July 1, 2007 at 4:05 pm #223080Save it and then open up index.php
Find line 161 to 172
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<?php echo $mosConfig_sitename?>
</a>
</h1>
</div>
</div>
<!-- END: HEADER -->And replace it with this:
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<?php echo $mosConfig_sitename?>
</a>
</h1>
<div id="ja-topmodule">
<?php if ( mosCountModules("banner2") ) { ?>
<div class="ja-topmodule">
<?php mosLoadModules ( "banner2", -1 ); ?>
</div>
<?php } ?>
</div>
</div>
<!-- END: HEADER -->Hi Menalto
I found that once I add the above code to index.php, the background color of the lower half page becomes black… ?:confused:
I appreciate your help.
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 1, 2007 at 4:32 pm #223083My mistake, try with this instead:
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<?php echo $mosConfig_sitename?>
</a>
</h1>
<div id="ja-topmodule">
<?php if ( mosCountModules("banner2") ) { ?>
<div class="ja-topmodule">
<?php mosLoadModules ( "banner2", -1 ); ?>
</div>
<?php } ?>
</div>
</div>
</div>
<!-- END: HEADER -->AuthorPostsThis topic contains 23 replies, has 9 voices, and was last updated by noelh 16 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum