Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
horizontal category menu

 

 


Disciple1
User

Jul 21, 2002, 6:01 AM

Post #1 of 2 (1968 views)
Shortcut
horizontal category menu Can't Post

Hi,

Can I go make my category menu horizontal rather than vertical? I have tried but have not come up with any soloution other than maybe hard coding it myself.

Thanks

Rick
Soli Deo Gloria


dlo_itools
Staff


Jul 22, 2002, 12:30 PM

Post #2 of 2 (1945 views)
Shortcut
Re: [Disciple1] horizontal category menu [In reply to] Can't Post

You can make the category list look like anything you want. Just modify the file templates/category_list.html You can also take a look at the Arctic theme templates which uses a horizontal category list.

Here is an example of changing the default vertical row into a horizontal row. Note that you have to edit the other templates that include this file to move the horizontal categories elsewhere on the page (otherwise you have a horizontal list in the left column which will look very strange).

<table border=0 cellspacing=0 cellpadding=5 width=100%>
<tr><td bgcolor="#990000"><a href="$url_gindex$" class="navlnk1">$gcat_name$</a>&nbsp;</td>

<!-- template insert : $category_list$ -->

<!-- templatecell : row -->
<td bgcolor="#FFF9D8"><a href="$url_index$" class="navlnk2">$cat_name$</a></td>
<!-- /templatecell : row -->

<!-- templatecell : row_selected -->
<td bgcolor="#FFCC66"><a href="$url_index$" class="navlnk2">$cat_name$</a></td>
<!-- /templatecell : row_selected -->

<!-- templatecell : not_found -->
<td bgcolor="#FFF9D8" class="navlnk2"></td>
<!-- /templatecell : not_found -->

</tr></table>
/Dave Lo