2014-04-05, 00:44:03
(2014-04-04, 17:13:55)ochsadad Wrote: How can I put the "nm_list_archives" function in a web page (not in a sidebar or template)?
As sbatko says, you can use the Dynpages plugin, create a component named e.g. listarchives with this content:
Code:
<?php nm_list_archives(); ?>
Code:
{% listarchives %}
Another way is inserting this in your template, before or after the <?php get_page_content(); ?> line:
Code:
<?php if (return_page_slug()=='archivepage') nm_list_archives(); ?>
[edit] I hadn't seen your last post, it seems I was typing while you published it... :-)