Toggle Minimized View

Templates: Junecode: entries

This documentation was updated on January 27th, 2007

Inserts a list of entries that are in the current category (or the specified directory). This tag should always have a start and end tag. Everything in between will be repeated for each entry.

Each template should almost always have a <junecode:entries> section that does not specify any attributes. See the Categories section of the Options page in your site to specify what displays here by default. If you want to insert additional entries into your page, you can use a second <junecode:entries> tag that includes one or more of the attributes below.

Note that if you specify a page, it will be displayed even if it is marked as hidden. This allows you to insert specific entries in a different location in your template without having them appear in the main listing.


dir: optional. The directory of the category to display entries from. The default is to display entries based on the current URL.
limit: optional. The maximum number of entries to display. This can only be used with the dir attribute to display entries from another category. Normally you would set the number of categories per page in the Categories page of the Options section.
page: optional. The page to display within the specified category.
emptytitle: The title to display if no entries were found.
emptytext: The entry text to display if no entries were found.


<junecode:entries dir="{junecode:dir}" page="downloads">
<h2><junecode:entrytitle /></h2>
<junecode:entrytext />

This example will look for an entry with the page name “downloads” in the currently displayed category.


The limit, emptytitle, and emptytext attributes were added in version 2.1.

You are here: Junecode: about: design: junecode: entries
Can’t find what you need? View a complete site map