 |

AMS
Novice
Sep 4, 2006, 4:40 AM
Post #1 of 5
(1349 views)
Shortcut
|
|
Main index page to just show one category
|
Can't Post
|
|
Im making a site with the main index.shtml page having a category index with links to fixed urls, and AM articles (the left nav menu). I also want the article list middle section of the page to feature a list of articles for just one category. Being new to AM I could not see an easy way to force category menu links to fixed URLs so have made this menu in two parts, one part for the fixed URLs and one the dynamic AM catergory links. This seems to work fine. The bit Im struggling to do is restrict the article list on this main page to just show article links from one category (in this case the category is called "News"). I dont want articles appearing from other categories (for example "FAQ"), I only want to be able to view these when going to their specific pages (they will have just one article each). Any ideas ?
|
|
|  |
 |

Donna
Staff
/ Moderator

Sep 4, 2006, 4:21 PM
Post #2 of 5
(1340 views)
Shortcut
|
|
Re: [AMS] Main index page to just show one category
[In reply to]
|
Can't Post
|
|
Hi AMS! Thanks for your post. :) The easiest way to set this up is to have your "News" category publishing the index.shtml, and not actually publishing the regular index page. So! The first thing you'll want to do is tell Article Manager not to publish the index.shtml. You can do this by going into the Setup Options, then choose "Server". Under the Publish File Settings, you'll see the "global index" -- uncheck the "Publish" box next to it. Now, go into the Category Editor and modify your News category. Here, change the option for Category Filename to "Use filename", and enter "index" into the field provided. Now save, republish your articles, and voila! Your News category is now driving the index.shtml page. :) Give that a try and let me know how it goes! Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

AMS
Novice
Sep 5, 2006, 12:29 AM
Post #3 of 5
(1329 views)
Shortcut
|
|
Re: [Donna] Main index page to just show one category
[In reply to]
|
Can't Post
|
|
Yes, that works fine thanks. Just for info : unchecking the Global Index is not enough to stop it being identified as in use when making the news page become index.shtml. I had to rename the globall index to "index1". After changing the News page to index I then had to rename the global index back to restore any links. I guess when checking for duplicate filenames it does not look at the check box. One small matter you may be able to help with. As I now have the news page as the front page of the site is there anyway to remove its link from the left nav menu ? As im already on that page I dont need the link to itself, and use "Home" links to return to that page. Thanks
|
|
|  |
 |

Donna
Staff
/ Moderator

Sep 7, 2006, 9:38 AM
Post #4 of 5
(1294 views)
Shortcut
|
|
Re: [AMS] Main index page to just show one category
[In reply to]
|
Can't Post
|
|
Hi there, The easiest way to get rid of the duplicate link would be to remove the "Home" link instead. Since the category list is a generated list of all the categories, it's not possible to remove just one category. Then, if you still wanted to have a "Home" link, you could rename your News category to Home. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

AMS
Novice
Sep 8, 2006, 12:14 AM
Post #5 of 5
(1277 views)
Shortcut
|
|
Re: [Donna] Main index page to just show one category
[In reply to]
|
Can't Post
|
|
Thank you
|
|
|  |
|