Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-01-28 05:22:13

agovella
Member
From: Houston, TX
Registered: 2005-05-01
Posts: 65
Website Twitter

New permalink modes?

Can anyone point to info on the two new permalink modes?

Offline

#2 2020-01-28 07:52:10

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: New permalink modes?

Hi agovella,

It depends what you need to know.

I was/am very interested in them too. Check out the thread here.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2020-05-10 20:22:39

agovella
Member
From: Houston, TX
Registered: 2005-05-01
Posts: 65
Website Twitter

Re: New permalink modes?

I did some testing:

If Article has Section, Cat1, and Cat2, then section/category/title permalink mode generates URLs that look like:

/section/cat1/cat2/title

If you only have Cat1 or Cat2, then only that Category appears in the URL.

The URL is not the same as the what the Breadcrumb tag outputs. Breadcrumb outputs /Site Name > section.

To get the categories to show in the breadcrumb, you need to add an if_category tag and then output the category tag. If you want the title to appear in the breadcrumb as well, out the title after the if_category closes.

Offline

#4 2020-05-11 06:21:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: New permalink modes?

That is correct. This is how I did it for article lists.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB