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
Registered: 2005-05-01
Posts: 39

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: 7,905
Website

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.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

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

agovella
Member
Registered: 2005-05-01
Posts: 39

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: 7,905
Website

Re: New permalink modes?

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


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB