Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Category pages

Quote Reply
Category pages
I have set up my category pages so that ten links are shown in one page. For eg. in one category I have almost 30 links. When accessing second page of the category listing, Links automaticly adds text Page x (x standing for the number of the page). How do I change this text to something else ?
Quote Reply
Re: Category pages In reply to
Find the following codes in the sub build_category_pages routine in the nph-build.cgi file:

Code:
$title_linked = &build_linked_title ("$cat/Page_$page_num/");
$title = &build_unlinked_title ("$cat/Page_$page_num/");

You can Edit Page, but I would recommend NOT deleting the following variables from these codes:

Code:
$cat
$page_num

It will screw up your build process if you delete these codes.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Category pages In reply to
Thank you, that helped.

five40
Quote Reply
Re: Category pages In reply to
You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.