GuppY Help Center, help online, documentation and tutorials

telecharger.png

You are here :   Welcome » Creation and modification dates at the bottom of my articles (GuppY 4.6.x) : remove them.
    Print this page...

Creation and modification dates at the bottom of my articles (GuppY 4.6.x) : remove them.

To remove the bottom of an article, the creation date, modification date, category counter and printing, you must go to the articles.php 4.6.21a, delete or comment out lines 114 to 132 included:

<hr />
<p style="font-size:smaller"><?php echo $web95; ?> <b><?php echo $txtart5 ; ?></b><br />
            <?php echo $web20; ?> <b><?php echo $txtart4 ; ?></b><br />
            <?php echo $web21; ?> <b><?php echo $txtart3; ?></b>
            <?php
            if ($serviz[33] == "on" && $countit == 1) {
                $artcounter = UpdateDocCounter($pg);
                $txtcount = $artcounter <= 1 ? $web188 : $web189;
                ?>
<br /><?php echo $web190; ?> <b><?php echo $artcounter." ".$txtcount; ?></b></p>
                <?php
            } else {
                  echo "</p>";
            }
            if ($countit == 1 && !isset($prt)) {
            ?>
<hr /><p align="center">
  <a href="articles.php?lng=<?php echo $lng; ?>&amp;pg=<?php echo $pg; ?>&amp;prt=2" target="_blank"><img src="inc/img/general/print.gif" border="0" width="16" height="15" alt="<?php echo $web22; ?>" title="<?php echo $web22; ?>" />&nbsp;<?php echo $web22; ?></a>
</p>

 
Then remove or comment out lines 125, 126 and 127:

        } else {
            $countit = 0;
        }


(modifications to be done on every upgrade.)  wink

Creation date : 08/11/2007 @ 13:53
Category : - Articles
Page read 20307 times