-
AuthorPosts
-
May 1, 2007 at 8:53 am #119996
Hello all,
My musical site with JA Teline seems successful at this time. Thanks for this great template 😉
Now, my dream is to replace this :
By…that (or something like that) !
If somebody have some ideas…:)
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
May 2, 2007 at 10:23 am #219281In index.php on line 214 you find this:
<div class="ja-day">
<?php
echo "<span>".date ('l')."</span>";
echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
?>
</div>Replace it with:
<div class="ja-day">
<?php mosLoadModules('mymenu', -2); ?>
</div>Then go to your joomla admin:
Site>Template Manager>Module Positions and create a new moduleposition and name it “mymenu”
Then you should have the new menu where the date is displayed.
And when you have done that you need to change setting in template.css.css
On line 1065 you find this: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;
}You can delete this part:
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;
}And then you need to change this part to suit your menusystem.
div.ja-day {
margin-top: 5px;
float: right;
font-family: Tahoma, Arial, sans-serif;
}I attached a picture here with what i came up with.
May 3, 2007 at 6:07 am #219343Great! thanks a lot Melalto
I’ll try ASAP this stuff and i will present the result in a next postGreetings from Toulouse France:)
May 5, 2007 at 12:07 am #219494It works well – Here is a first result
thank you again 😉
SHoggard FriendSHoggard
- Join date:
- October 2006
- Posts:
- 290
- Downloads:
- 5
- Uploads:
- 21
- Thanks:
- 26
- Thanked:
- 7 times in 1 posts
May 6, 2007 at 6:55 am #219553Text in your ‘custom menu icons’ are a bit fuzzy & hard to read – try them without the drop shadow
May 6, 2007 at 8:49 pm #219579<em>@SHoggard 14784 wrote:</em><blockquote>Text in your ‘custom menu icons’ are a bit fuzzy & hard to read – try them without the drop shadow</blockquote>
Yes you are right ! it was a first trial and i have made a little improvement but not perfect enough…
thank youstevenstevensteven Friendstevenstevensteven
- Join date:
- May 2007
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 1 times in 1 posts
June 3, 2007 at 2:07 am #221414Thanks very much for the code changes. I’d been looking for this solution.
I’ve replaced the calendar with the JA-Login module… see it at http://1candidate.org. Unfortunately, I have yet to figure out how to shorten the text boxes for username and pwd. I also tried the CB-Login mod, but had similar problems with layout.
Any suggestions on login layout modifications would be appreciated.
Thanks.
Upon edit, I’ve noticed two additional issues:
1. I’ve got a thin gray bottom border that I have yet to figure out how to remove
2. Secondary menu segment appears upon page load completion, even before highlighting a primary menu item that contains secondary menu items. Weird. Don’t know what that feature is now automatically activated.Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 3, 2007 at 9:40 am #221422<em>@stevenstevensteven 17225 wrote:</em><blockquote>Thanks very much for the code changes. I’d been looking for this solution.
I’ve replaced the calendar with the JA-Login module… see it at http://1candidate.org. Unfortunately, I have yet to figure out how to shorten the text boxes for username and pwd. I also tried the CB-Login mod, but had similar problems with layout.
Any suggestions on login layout modifications would be appreciated.
Thanks.
Upon edit, I’ve noticed two additional issues:
1. I’ve got a thin gray bottom border that I have yet to figure out how to remove
2. Secondary menu segment appears upon page load completion, even before highlighting a primary menu item that contains secondary menu items. Weird. Don’t know what that feature is now automatically activated.</blockquote>Ill look into it after dinner here.
June 3, 2007 at 5:01 pm #221434Thanks so much SHoggard, I’ve been looking for this solution! Your advice should be part of the teline user info somewhere! and stickied in this forum with thte title “Replacing Teline Header Date”.
Happy to have found a solution,
MarlenAuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 5 voices, and was last updated by scenteur7 17 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
A menu to replace the date ?
Viewing 9 posts - 1 through 9 (of 9 total)