Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: letterbar in category templates

Quote Reply
Re: letterbar in category templates In reply to
Your spell checked post is below.

That goes back to just the original idea.

Create a letter bar as an include file.

You would want to turn the Category.FullName into a path tag, so you can use it in the URL (I don't think there is a tag for that returns the URL, but also a visual tag to click).

You want to create the file such that:

Code:
|<%url_to_current_category%>/a>A</A>
|<%url_to_current_category%>/b>B</A>
(The forum stripped out the href stuff, so use your imagination)

If you didn't have separate subcategories, you'd link this to a search query, limited to this category.

Insert this at the top of your category page, and it will create a link to the alphabetic subcategories.

You need to do a bit of template magic to turn off the other category display, or just leave it alone, with this at the top.

Of course, you only want the letter bar to show in the _last_ category (lowest level-1) before the alphabetic sub directories.

I don't have the time to do any more with this now. Even as a paid job, I couldn't get to it for a couple of weeks.


PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Subject Author Views Date
Thread letterbar in category templates ericho 3727 Dec 27, 2000, 4:23 AM
Thread Re: letterbar in category templates
pugdog 3624 Dec 27, 2000, 4:56 AM
Post Re: letterbar in category templates
padders 3616 Dec 27, 2000, 5:43 AM
Thread Re: letterbar in category templates
ericho 3618 Dec 27, 2000, 5:45 AM
Thread Re: letterbar in category templates
pugdog 3605 Dec 27, 2000, 6:00 AM
Thread Re: letterbar in category templates
padders 3572 Dec 31, 2000, 6:14 AM
Thread Re: letterbar in category templates
pugdog 3565 Dec 31, 2000, 7:27 AM
Thread Re: letterbar in category templates
padders 3559 Dec 31, 2000, 7:42 AM
Thread Re: letterbar in category templates
pugdog 3560 Dec 31, 2000, 8:09 AM
Post Re: letterbar in category templates
padders 3559 Dec 31, 2000, 9:16 AM