Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • wadzaloo Friend
    #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 Friend
    #219281

    In 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.


    1. test
    wadzaloo Friend
    #219343

    Great! thanks a lot Melalto
    I’ll try ASAP this stuff and i will present the result in a next post

    Greetings from Toulouse France:)

    wadzaloo Friend
    #219494

    It works well – Here is a first result

    thank you again 😉

    SHoggard Friend
    #219553

    Text in your ‘custom menu icons’ are a bit fuzzy & hard to read – try them without the drop shadow

    wadzaloo Friend
    #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 you

    stevenstevensteven Friend
    #221414

    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.

    Menalto Friend
    #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.

    scenteur7 Friend
    #221434

    Thanks 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,
    Marlen

    http://perfumecritic.com/joomla2

Viewing 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