Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » How do I…?
  3. » Breadcrumb

#1 2018-10-12 06:20:37

cschack
New Member
From: Oslo, Norway
Registered: 2018-03-05
Posts: 7
Website

Breadcrumb

Hi. I hope I’m posting in the right place. I’m trying to use the txp:breadcrumb tag. Most of it seems to work fine, except for the title. I assume this is the name of the post, right? I can get around it by adding a tip:title tag after, but it just sort of annoys me :) Thanks for any help.

Offline

#2 2018-10-12 07:29:40

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,599
Website

Re: Breadcrumb

Hi cschack. Try adding the attribute title="1".

title="boolean"
Whether to display the title or not.
Values: 0 (no, display name) or 1 (yes).
Default: 0.

More info in the breadcrumb tag docs.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2018-10-12 09:18:37

cschack
New Member
From: Oslo, Norway
Registered: 2018-03-05
Posts: 7
Website

Re: Breadcrumb

Thank you for replying, Jakob. I see that my post was unclear. I have tried this, but the title won’t display, though the other attributes seem to work properly. (I am running a local installation of TXP 4.7.1.)

Offline

#4 2018-10-12 09:21:17

etc
Developer
Registered: 2010-11-11
Posts: 5,057
Website GitHub

Re: Breadcrumb

cschack wrote #314555:

Most of it seems to work fine, except for the title. I assume this is the name of the post, right?

Nope, breadcrumbs are made of

home/section/path/to/category

I can get around it by adding a tip:title tag after, but it just sort of annoys me :)

Why?

Offline

#5 2018-10-12 09:25:16

cschack
New Member
From: Oslo, Norway
Registered: 2018-03-05
Posts: 7
Website

Re: Breadcrumb

I thought I was jumping through an unnecessary hoop, but I misunderstood what the title attribute was. Thanks for clearing it up!

Offline

  1. Index
  2. » How do I…?
  3. » Breadcrumb

Board footer

Powered by FluxBB