Gossamer Forum
Home : Products : Links 2.0 : Customization :

Category Name Included For Featured Page?

Quote Reply
Category Name Included For Featured Page?
Hallo, could someone help me please...how to make the result of Featured page so that it is also included Category Name? For example like this:

Category Name
- Link 1
- Link 2

Category Name
- Link 1
- Link 2

This is because I do not know why, the Featured page looks not in order. This is my website:
http://www.indosia.net/Featured/

and when I take a closer look, it seems that the links are in Category order.

***This is how the links are in order now**
Webmaster Forums
- Link 1

Photoshop Tutorials
- Link 2
- Link 3
- Link 4

Free Webhosting
- Link 5

HTML Tutorials
- Link 6
- Link 7

Webmaster Tools
- Link 8

Thanks in advance.

Last edited by:

cloud^77: Jun 29, 2004, 1:43 PM
Quote Reply
Re: [cloud^77] Category Name Included For Featured Page? In reply to
Sorry, I have found out how to do it so just ignore my last post. Smile

I just change everything $hits to $category in sub build_pick_page
and then add
$link_results .= qq|<p><A class="link" HREF="$build_root_url/$category/$build_index">$category_clean</A></strong>\n|;
before
$link_results .= $link_output{$category};

PS: Just for information, I use span pages mod for Featured page, that's why it was using $hits. The original code is actually using $category. Smile

Quote Reply
Re: [cloud^77] Category Name Included For Featured Page? In reply to
Looks fine!

I posted to your first question, you replied while I was composing... So my post is unneccessary!
Glad you figured it out -- and told us how! Cool


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Jun 29, 2004, 2:17 PM