<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