Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kamal2099 Friend
    #133474

    Hi guys,

    How can i add a small module below the Date functions on the homepage… What i would like to do is to get a small flag for the english version of the website.

    Thanks

    Sherlock Friend
    #271327

    Hi kamal2099 !
    You can do it following steps below:
    1. Open index.php file in templates/ja_teline folder , find following code section at about line 141 :


    <div class="ja-day">
    <?php
    echo "<span>".date ('l')."</span>";
    echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
    ?>
    </div>

    change to :


    <div class="ja-day">
    <?php
    echo "<span>".date ('l')."</span>";
    echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
    ?>
    </div>
    <div class="new_module">
    <!-- load new module -->
    </div>

    2. open template.css file in templates/ja_teline/css folder, find add following code section to that file :


    .new_module {
    clear:both;
    float:right;
    margin-top:5px;
    right:0;
    }

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 16 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum