Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-11-07 09:36:08
- grinstead
- Member
- From: UK
- Registered: 2006-10-06
- Posts: 19
Breadcrumb to use title rather then name?
Hello, is it possible to get the breadcrumb to use section/category titles rather then the name?
Current tag: <txp:breadcrumb wraptag=“p” sep=” / “ link=“y” />
Many thanks
Offline
#2 2006-11-07 10:47:51
- frederik
- Member
- From: Denmark
- Registered: 2004-12-08
- Posts: 17
Re: Breadcrumb to use title rather then name?
grinstead wrote:
Hello, is it possible to get the breadcrumb to use section/category titles rather then the name?
Yes it is – just use title=“y”.
You can read more about txp:breadcrumb in TextBook.
/Fred
Offline
#3 2006-11-07 10:59:10
- grinstead
- Member
- From: UK
- Registered: 2006-10-06
- Posts: 19
Re: Breadcrumb to use title rather then name?
Many thanks Fred, and thanks for the link.
Regards
Offline
#4 2006-11-07 15:38:17
- grinstead
- Member
- From: UK
- Registered: 2006-10-06
- Posts: 19
Re: Breadcrumb to use title rather then name?
[EDIT]
Resolved, I went another direction in displaying the menu. Thanks
—————————
Sorry another question.
Ok I have one menu that uses the default page, another menu lists the categories and sub-categories, the code for this is…
<txp:category_list break="li" parent="parent-cat" section="section-1" type="article" wraptag="ul" />
The categories then use the ‘section-1’ page which is what I’m after.
The problem is with the breadcrumb, firstly the section name appears in the breadcrumb, so if the section name is the same as the category then it looks as if it’s duplicated. Secondly if you click on the breadcrumb link this takes you to the /category/
URL which uses the default page, and articles don’t appear.
Is there away to remove the section name? Also for the breadcrumb to use the /section/?c=category-name
rather then /category/
?
I have tried to search on the forum but there are quite a few on the subject of categories, but unable to find this issue.
Many thanks
Last edited by grinstead (2006-11-08 12:27:05)
Offline