default userpic

Page Listing For A Specific Folder, Index page of a folder

Vote 0 Votes

Hi

I had searched the forum but didn't find any solution works for me.

I am planing a site with a simple structure like this: Under the home page there are some folders, in each folder there are some articles and an index page. I hope the index page of every folder can:

1-- In the content area, lists all the article pages' URLs and the article's description(maybe using "Excerpt" of a page) of its own folder, no other folder's articles.

2-- In the sidebar, only list the URLs under this folder.

For creating the folder index page, I am thinking through the "Index Templates" to create the custom index template. In the "Output File" form, I try to make "folder1/index.html". If I will have 5 folders, then I will create till "folder5/index.html" 5 custom index templates. (Is there any better method to do this?)

I've tried some code set here, but still the index page can't output the page list under the specific folder, only can give me all the folders and all the articles.

This troubled me a few days, please!!

Reported on Movable Type 4.2

2 Replies

| Add a Reply

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1771 6153

Last Topic: Preview Template - Where can I find it? by Dice on Feb 6, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1428 5076

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

693 2907

Last Topic: database upgrade hangs - upgrading to 4.37 by CrankyProfessor on Feb 1, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 565

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

221 710

Last Topic: Publish queue cache coherence issue by Istvan Kallai on Jan 27, 2012