Is it possible with links2 to print in the home page a list of category and subcategorie (level 1 and 2).
Mar 19, 1999, 5:51 AM
Veteran (3111 posts)
Mar 19, 1999, 5:51 AM
Post #2 of 6
Views: 2669
By default, Links will only show the top level categories on the home page. If you want the subcategories for those top level categories to show, you need to modify things and/or add a routine to display them.
There are many different ways to do that and there are many discussions about that in the forums that you can search for to see how others have done it.
There are many different ways to do that and there are many discussions about that in the forums that you can search for to see how others have done it.
Mar 26, 1999, 9:11 PM
New User (3 posts)
Mar 26, 1999, 9:11 PM
Post #3 of 6
Views: 2665
Here is how I do it.
Put whatever subcategories you want to show on your home page in that Categories description field. You have to do this in HTML using the A HREF tag and everything. To make it show underneath you will have to edit the Category subroutine to alter the layout. I find that this work great.
Joe
Put whatever subcategories you want to show on your home page in that Categories description field. You have to do this in HTML using the A HREF tag and everything. To make it show underneath you will have to edit the Category subroutine to alter the layout. I find that this work great.
Joe
Mar 30, 1999, 4:58 PM
New User (3 posts)
Mar 30, 1999, 4:58 PM
Post #6 of 6
Views: 2665
Hi Webcamworld,
You can edit how the Categories are displayed in the site_html_templates.pl file under the site_html_print_cat subroutine. Its toward the end of the file. In the $output portion of the subroutine, you will need to put a <BR> tag in just before the $description call.
Also, thanks lory, glad to be of help.
Joe
You can edit how the Categories are displayed in the site_html_templates.pl file under the site_html_print_cat subroutine. Its toward the end of the file. In the $output portion of the subroutine, you will need to put a <BR> tag in just before the $description call.
Also, thanks lory, glad to be of help.
Joe