
Damon
Staff
/ Moderator

Oct 8, 2002, 1:36 PM
Post #2 of 5
(2407 views)
Shortcut
|
|
Re: [thankful] Headlines by Category question
[In reply to]
|
Can't Post
|
|
Hi, I'd really like the headlines by category column on the right to list ONLY the headlines of the category selected from the column on the left. That is a good question. :) To do that, you need to modify the templates. Here is the steps: 1. Copy the /templates/index/default.html template and save it into the same directory as category_default.html 2. In the new category_default.html template, replace this: <!-- INCLUDE TOP HEADLINES (from each category) --> <!--#include file="$file_headlines_bycat$" --> <!-- template include : $file_headlines_bycat$ --> with <!-- INCLUDE TOP HEADLINES (from this category) --> <!--#include file="$file_headlines$" --> <!-- template include : $file_headlines$ --> This will include the latest headlines from just the category selected. 3. Next, in the Category Editor, for each category click modify and select the index/category_default.html template for the Category Index Page. When published, this category will now only show the its own Latest Headlines on the right. 4. Re-publish all and that is it. --------------------------------------------------- Cheers Damon Edis interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|