Hello Seb,
i do the following.
I create a page via the admin interface and name it "Archive".
Then i create a php file called "page.archive.php" with the following
content:
<?php $theme->display( 'header' ); ?>
<!-- page.archive -->
<div id="content">
<ul>
<?php $theme->monthly_archives(); ?>
</ul>
</div>
<!-- /page.archive -->
<?php $theme->display( 'sidebar' ); ?>
<?php $theme->display( 'footer' ); ?>
This is my way and it works, don't know if this is the correct way though.
Maybe somebody with more experience knows a better way?
Seb Payne wrote:
> I am trying to create a simple page that will show the Archives using
> RN's Monthly Archive plugin. However, the problem I am having is I
> can't get the page to show in. When composing the page, I put<?php
> $theme->monthly_archives(); ?> into the form but it didn't work.
>
> I then tried to do an if statement in the page.single.php file so it
> would show only when the title was Archives but that didn't work
> ether, and just showed the Archives on every page. The code I tried
> was
>
> <?php if ($post->title = "Archives") { ?>
> <?php $theme->monthly_archives(); ?>
> <?php } ?>
>
> Any ideas? On WordPress, I know you can create custom page templates
> and choose the type of page when creating it but I have no idea how to
> do this on Habari!
>
> Thanks
>
--
dahead,
http://habari.dahead.de
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---