-
AuthorPosts
-
July 6, 2007 at 6:20 pm #121282
Teline is a great template but I would like to move the banner module so it appears either in place of the date at the top right of the header or just above JA News.
I have had a look at other posts but solutions suggested do not seem to be without problems (moving the right column etc) and some suggestions are not clear which files to edit etc.
Has anyone succeded in moving banners to any of these positions and if so can you let me know who to do it?
Once again, thanks in advance
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 6, 2007 at 7:20 pm #223720Ill come up with an answer for you later today,im in a hurry for some dinner here:eek:
July 7, 2007 at 4:32 pm #223759I agree – as good as this template is, it really needs the banner moved to the area above the News section. I too tried to do this but it disrupted the other elements, regardless of how it is sized or centered.
http://www.justbelowthesurface.com
(Just development content – nothing finalized)
Thanks for any help!
Joe
ShannonN FriendShannonN
- Join date:
- July 2006
- Posts:
- 1947
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 16
- Thanked:
- 172 times in 49 posts
July 8, 2007 at 12:51 am #223778iastate;20337I agree – as good as this template is, it really needs the banner moved to the area above the News section. I too tried to do this but it disrupted the other elements, regardless of how it is sized or centered.
http://www.justbelowthesurface.com
(Just development content – nothing finalized)
Thanks for any help!
Joe
while I can’t provide a solution at this time, have you tried disabling most of the other page elements that get screwed up first (or commenting out them in the html) adding the banner position where you need it to be, turning it on then adding back the other elements one by one and adjusting stuff to suit?
July 9, 2007 at 4:19 pm #223849I did, and it helped. 😀
I realized there was a problem with the <div> tags. When I moved the original banner html I wasn’t sure what to do with the <div> tags. I moved them too and it basically told the right column to load under the main area. So I went back and added one, then the other, then removed the first one I added, etc – and ended up getting it to work.
Having said all that – the Joomlart guys really should offer that as an option so we don’t have to fiddle with it ourselves.
Thanks again –
Joe
ShannonN FriendShannonN
- Join date:
- July 2006
- Posts:
- 1947
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 16
- Thanked:
- 172 times in 49 posts
July 9, 2007 at 6:48 pm #223858iastate;20455I did, and it helped. 😀
I realized there was a problem with the <div> tags. When I moved the original banner html I wasn’t sure what to do with the <div> tags. I moved them too and it basically told the right column to load under the main area. So I went back and added one, then the other, then removed the first one I added, etc – and ended up getting it to work.
Having said all that – the Joomlart guys really should offer that as an option so we don’t have to fiddle with it ourselves.
Thanks again –
Joe
Glad you fixed it Joe
July 11, 2007 at 1:57 pm #224008Can anyone help, again the solutions seem to a bit hit and miss
To be honest this seems a reasonable request for a licensed member to make, Joomlart should really offer a short document to show, step by step, how this can be achieved
Thanks
ErikThorsen FriendErikThorsen
- Join date:
- December 2005
- Posts:
- 1098
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 22
- Thanked:
- 10 times in 1 posts
July 12, 2007 at 6:59 am #224037I totally understand you on this harveyf, however, if Joomlart should provide step by step guides on how to change anything in the templates, the documentation would be 100 pages long. Don’t misunderstand me, your request might be more than reasonable enough but I know for sure that there are at least 20 other requests as to how to change stuff which is also “required” to write something about.
Personally I think there should be some sort of wiki or something for each template. That way people who have made some changes to any type of code could add this to the wiki and thus make it easier for anyone to do any changes to the template.
Anyone else feel the same?
Hieu Nguyen AdminHieu Nguyen
- Join date:
- November 2005
- Posts:
- 678
- Downloads:
- 36
- Uploads:
- 0
- Thanks:
- 69
- Thanked:
- 61 times in 1 posts
July 12, 2007 at 8:30 am #224059I feel the same with you, and will try to do that.
It’s now in my todo list :D, thanks ErikThorsenJuly 12, 2007 at 11:12 am #224077It would be great if the CSS files were documenetd in the Wiki as well. Teline is a fantastic template, a real credit to the design tem.
However, the ability to fine tune it with a font change here or a colour there makes it even more useful and changing the CSS is a bit hit and miss at the minute
Anywa, thanks in advance. I guess I will have to wait for instructions on how to change the banner position until you can get around to the Wiki
Thanks again
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
July 12, 2007 at 12:24 pm #224081This removes the date on top right: and put a banner there instead
In index.php from line 203 to 222
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<img src="<?php echo $ja_template_path;?>/images/logo.gif" alt="<?php echo $mosConfig_sitename?>" />
</a>
</h1><div class="ja-day">
<?php
echo "<span>".date ('l')."</span>";
echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
?>
</div></div>
</div>
<!-- END: HEADER -->
Replace with this:
<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix"><h1>
<a href="index.php">
<img src="<?php echo $ja_template_path;?>/images/logo.gif" alt="<?php echo $mosConfig_sitename?>" />
</a>
</h1><div class="ja-day">
<?php if ( mosCountModules("banner2") ) { ?>
<div class="ja-day">
<?php mosLoadModules ( "banner2", -1 ); ?>
</div>
<?php } ?>
</div></div>
</div>
<!-- END: HEADER -->
In the template_css.css file from line 1065 to 1090
div.ja-day {
margin-top: 5px;
float: right;
font-family: Tahoma, Arial, sans-serif;
}div.ja-day div {
float: left;
padding: 10px 0 5px;
margin-left: 5px;
width: 37px;
background: url(../images/day-panel-bg.gif) repeat-x top #333333;
color: #DDDDDD;
font-size: 90%;
font-weight: bold;
text-align: center;
}div.ja-day span {
float: left;
color: #999999;
font-size: 260%;
text-transform: uppercase;
letter-spacing: 2px;
padding-top: 4px;
}
Replace with this:
div.ja-day {
float: right;
width: 480px;
}
.ja-day {
margin-top: 2px;
padding: 2px 0;
}
Didnt test it but give it a shotDecember 20, 2007 at 7:18 am #234932@menalto: For some odd reason the banner is not showing up at all anymore. I tried this earlier but did not have the banner placed to replace the date, i just head it somewhere in the content area and it worked fine earlier but doesn’t show up now.
Any suggestions?
Thanks
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
December 20, 2007 at 7:26 am #234933<em>@mediamatters 34949 wrote:</em><blockquote>@Menalto: For some odd reason the banner is not showing up at all anymore. I tried this earlier but did not have the banner placed to replase the date, i jsut head it somewhere in the content area iand it worked fine earlier but doesnt show up now.
Any suggestions?
Thanks</blockquote>
do you have a live url?either here or in a PMone7media Friendone7media
- Join date:
- June 2007
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
December 28, 2007 at 5:57 pm #235358Alternatively, I’d like to keep the date, but add a small mod beneath it (screenshot attached).
Doesn’t have to be anything fancy, I just want to put some links in there, e.g. Subscribe to Printed Version, Newsletter Signup, etc…
AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 8 voices, and was last updated by one7media 16 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Moving Banners
Viewing 14 posts - 1 through 14 (of 14 total)