Recent Topics

1 Jul 13, 2005 20:20    

I'm new[ :oops: ] to php so anyways how do you list your archivess so you can link them all: January 2005, February 2005 etc. on a site. So if you click January 2005 all the postings of that month is shown!

2 Jul 13, 2005 21:27

<div class="bSideItem">
    <h3><?php echo T_('Archives') ?></h3>
    <ul>
      <?php require( dirname(__FILE__).'/_archives.php' ); // the archives ?>
      <li><a href="<?php $Blog->disp( 'arcdirurl', 'raw' ) ?>"><?php echo T_('more...') ?></a></li>
    </ul>
</div>

Of course, make sure you have the file _archives.php in your skin folder. You can edit it if you want to customize how your archives appear. Open up /skins/custom/_main.php and you can find the code for almost anything you would want to add.


Form is loading...