
ross
Staff
/ Moderator

Dec 17, 2005, 10:22 AM
Post #3 of 3
(2753 views)
Shortcut
|
|
Re: [wclendining] Adding a second category_list template
[In reply to]
|
Can't Post
|
|
Hi Warren. Thanks for posting and welcome to the board! From the sounds of it you wanted to have just the level 1 categories appearing down the left side of your page, then all the level 2 categories from the category you are looking at appear at the bottom of the page. Does that sound right? It is possible to set this up but there are few steps. You’ll definitely want to have a backup of your templates handy . Here’s how to do it: 1. Log into Article Manager and go to Setup Options. 2. On the Server tab, scroll down to the Subcategory Settings section and check off the Subcategories Only button. Hit Publish All. 3. Open your index templates (/templates/index/default.html) and look for this code:
<!-- INCLUDE CATEGORY LIST --> <!--#include virtual="$publishdir_virtualpath$$file_categories$" --> Change that to read:
<!-- INCLUDE CATEGORY LIST --> <!--#include virtual="$publishdir_virtualpath$/category_list.shtml$" --> 4. In the footer section of your template, add the following line:
<!-- INCLUDE CATEGORY LIST --> <!--#include virtual="$publishdir_virtualpath$/category_list.shtml" --> And that should be it. Once you finish this, do the same for your article template (/templates/article/default.html) then republish your articles from within Setup Options. Does that make sense? Give it a shot and let me know how you make out . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com 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: http://www.interactivetools.com/consulting/
|