test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ukfraternite Friend
    #139132

    Hello,

    How to remove the date please? (without removing the text size)?

    Teline 2.

    Thank you.

    cgc0202 Friend
    #295991

    <em>@ukfraternite 117747 wrote:</em><blockquote>Hello,

    How to remove the date please? (without removing the text size)?

    Teline 2.

    Thank you.</blockquote>

    Hi ukfraternite,

    Use FTP to access specific directories and files.

    Go to templates => ja_teline_ii => index.php

    Use find, to locate “”ja-day” around this section:

    [PHP]<div id=”ja-headtools” class=”ja-headtool”>
    <div class=”ja-innerpad clearfix”>

    <div class=”ja-day”>
    <?php
    echo “<span>”.date (‘l’).”</span>”;
    echo ” <div>”.date (‘M’).” “.date (‘d’).date (‘S’).”</div>”;
    ?>
    </div>

    <ul>
    <jdoc:include type=”modules” name=”ja-login” />
    <!–module search–>
    <?php if($this->countModules(‘user4’)) : ?>
    <jdoc:include type=”modules” name=”user4″ />
    <?php endif; ?>
    </ul>

    <?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?>
    <div id=”ja-usertools”>
    <strong>Text size</strong><?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER)); ?>
    </div>
    <?php } ?>

    </div>
    </div>

    </div>
    </div>[/PHP]

    make a copy of your index.php to play safe. Experiment and remove:

    [PHP]<div class=”ja-day”>
    <?php
    echo “<span>”.date (‘l’).”</span>”;
    echo ” <div>”.date (‘M’).” “.date (‘d’).date (‘S’).”</div>”;
    ?>
    </div>
    [/PHP]

    this should remove the date but see how it affects the layout.

    Warning.
    It is tricky to hack php scripts. If you happen to accidentally remove, even just a period, or some seemingly unimportant html mark, it could destroy the layout, or trigger an error message — very difficult to diagnose, sometimes.

    Cornelio

    ukfraternite Friend
    #296069

    I has worked perfectly. Thank you cgc0202.

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

This topic contains 3 replies, has 2 voices, and was last updated by  ukfraternite 15 years, 9 months ago.

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